summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorHamish Moffatt <hamish@cloud.net.au>2008-09-04 01:05:17 +0000
committerHamish Moffatt <hamish@cloud.net.au>2008-09-04 01:05:17 +0000
commitfeb569d3cdbad61167df081781c2be8fb61f91f0 (patch)
tree83e9eafbdfa379ec468cbfb72903d7c2f6a20265 /package
parent021c689d2e23647ae40ddfb7d465fa6bef24521d (diff)
downloadbuildroot-novena-feb569d3cdbad61167df081781c2be8fb61f91f0.tar.gz
buildroot-novena-feb569d3cdbad61167df081781c2be8fb61f91f0.zip
In the uninstall and clean targets, remove the built/installed stamp files
so that those actions will do something if executed again.
Diffstat (limited to 'package')
-rw-r--r--package/Makefile.autotools.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/Makefile.autotools.in b/package/Makefile.autotools.in
index 7f7d62452..480082f8b 100644
--- a/package/Makefile.autotools.in
+++ b/package/Makefile.autotools.in
@@ -250,13 +250,18 @@ $(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)
+ rm -f $(@D)/.stamp_staging_installed
-$($(PKG)_MAKE_ENV) $(MAKE) $($(PKG)_UNINSTALL_TARGET_OPT) -C $(@D)/$($(PKG)_SUBDIR)
+ rm -f $(@D)/.stamp_target_installed
-$($(PKG)_MAKE_ENV) $(MAKE) $($(PKG)_CLEAN_OPT) -C $(@D)/$($(PKG)_SUBDIR)
+ rm -f $(@D)/.stamp_built
$(BUILD_DIR)/%/.stamp_uninstalled:
$(call MESSAGE,"Uninstalling")
$($(PKG)_MAKE_ENV) $(MAKE) $($(PKG)_UNINSTALL_STAGING_OPT) -C $(@D)/$($(PKG)_SUBDIR)
+ rm -f $(@D)/.stamp_staging_installed
$($(PKG)_MAKE_ENV) $(MAKE) $($(PKG)_UNINSTALL_TARGET_OPT) -C $(@D)/$($(PKG)_SUBDIR)
+ rm -f $(@D)/.stamp_target_installed
$(BUILD_DIR)/%/.stamp_dircleaned:
rm -Rf $(@D)