aboutsummaryrefslogtreecommitdiff
path: root/package/pkg-cmake.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-cmake.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-cmake.mk')
-rw-r--r--package/pkg-cmake.mk11
1 files changed, 0 insertions, 11 deletions
diff --git a/package/pkg-cmake.mk b/package/pkg-cmake.mk
index 8abca08536..463cd63c11 100644
--- a/package/pkg-cmake.mk
+++ b/package/pkg-cmake.mk
@@ -45,7 +45,6 @@ $(2)_MAKE_OPT ?=
$(2)_INSTALL_HOST_OPT ?= install
$(2)_INSTALL_STAGING_OPT ?= DESTDIR=$$(STAGING_DIR) install
$(2)_INSTALL_TARGET_OPT ?= DESTDIR=$$(TARGET_DIR) install
-$(2)_CLEAN_OPT ?= clean
$(2)_SRCDIR = $$($(2)_DIR)/$($(2)_SUBDIR)
$(2)_BUILDDIR = $$($(2)_SRCDIR)
@@ -139,16 +138,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)_MAKE_OPT) $$($$(PKG)_CLEAN_OPT) -C $$($$(PKG)_BUILDDIR)
-endef
-endif
-
# Call the generic package infrastructure to generate the necessary
# make targets
$(call inner-generic-package,$(1),$(2),$(3),$(4),$(5))