aboutsummaryrefslogtreecommitdiff
path: root/package/pkg-autotools.mk
diff options
context:
space:
mode:
authorGravatar Thomas De Schampheleire <patrickdepinguin@gmail.com>2013-12-07 10:16:48 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2013-12-08 19:42:14 +0100
commit47e82829c25657b2e6413802dcd1020c15084d31 (patch)
tree13b86302216bba2bde52458c33de2088de913f9d /package/pkg-autotools.mk
parent436dc00d7a3eda45e5eb49bbd0b7a308347d4bcb (diff)
downloadbuildroot-47e82829c25657b2e6413802dcd1020c15084d31.tar.gz
buildroot-47e82829c25657b2e6413802dcd1020c15084d31.tar.bz2
infra: remove package clean commands
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/pkg-autotools.mk')
-rw-r--r--package/pkg-autotools.mk11
1 files changed, 0 insertions, 11 deletions
diff --git a/package/pkg-autotools.mk b/package/pkg-autotools.mk
index 1f97452715..a66ecd4143 100644
--- a/package/pkg-autotools.mk
+++ b/package/pkg-autotools.mk
@@ -86,7 +86,6 @@ $(2)_AUTORECONF_OPT ?= $($(3)_AUTORECONF_OPT)
$(2)_INSTALL_OPT ?= install
$(2)_INSTALL_STAGING_OPT ?= DESTDIR=$$(STAGING_DIR) install
$(2)_INSTALL_TARGET_OPT ?= DESTDIR=$$(TARGET_DIR) install
-$(2)_CLEAN_OPT ?= clean
#
@@ -266,16 +265,6 @@ define $(2)_INSTALL_TARGET_CMDS
endef
endif
-#
-# Clean step. Only define it if not already defined by
-# the package .mk file.
-#
-ifndef $(2)_CLEAN_CMDS
-define $(2)_CLEAN_CMDS
- -$$(TARGET_MAKE_ENV) $$($$(PKG)_MAKE_ENV) $$($$(PKG)_MAKE) $$($$(PKG)_CLEAN_OPT) -C $$($$(PKG)_SRCDIR)
-endef
-endif
-
# Call the generic package infrastructure to generate the necessary
# make targets
$(call inner-generic-package,$(1),$(2),$(3),$(4),$(5))