summaryrefslogtreecommitdiffstats
path: root/package/Makefile.autotools.in
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2008-04-01 10:30:32 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2008-04-01 10:30:32 +0000
commite556bff41d895b78fecd93896d77b2de45ed19f9 (patch)
treea0ebfc25ae844dad5ce33faa6095eaa050331629 /package/Makefile.autotools.in
parentc9477eea895a186deba7b7e18fbfc323b6c90813 (diff)
downloadbuildroot-novena-e556bff41d895b78fecd93896d77b2de45ed19f9.tar.gz
buildroot-novena-e556bff41d895b78fecd93896d77b2de45ed19f9.zip
Makefile.autotools.in: Do uninstall in staging/target dirs on -clean
Diffstat (limited to 'package/Makefile.autotools.in')
-rw-r--r--package/Makefile.autotools.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/Makefile.autotools.in b/package/Makefile.autotools.in
index 1243c3522..492d4497d 100644
--- a/package/Makefile.autotools.in
+++ b/package/Makefile.autotools.in
@@ -234,6 +234,8 @@ $(BUILD_DIR)/%/.stamp_target_installed:
$(BUILD_DIR)/%/.stamp_cleaned:
$(call MESSAGE,"Cleaning up")
+ -$($(PKG)_MAKE_ENV) $(MAKE) $($(PKG)_UNINSTALL_STAGING_OPT) -C $(@D)/$($(PKG)_SUBDIR)
+ -$($(PKG)_MAKE_ENV) $(MAKE) $($(PKG)_UNINSTALL_TARGET_OPT) -C $(@D)/$($(PKG)_SUBDIR)
-$($(PKG)_MAKE_ENV) $(MAKE) $($(PKG)_CLEAN_OPT) -C $(@D)/$($(PKG)_SUBDIR)
$(BUILD_DIR)/%/.stamp_uninstalled: