summaryrefslogtreecommitdiffstats
path: root/package/bridge-utils/bridge.mk
diff options
context:
space:
mode:
authorHamish Moffatt <hamish@cloud.net.au>2008-09-04 02:39:23 +0000
committerHamish Moffatt <hamish@cloud.net.au>2008-09-04 02:39:23 +0000
commit87f0d783ff4b5c6e16f84a4f35b28d278718b13e (patch)
treeb3c9ee054a62ebbb26b834b38eef04b262933d11 /package/bridge-utils/bridge.mk
parent7b759f0910e807f5ffda781396260044480d4810 (diff)
downloadbuildroot-novena-87f0d783ff4b5c6e16f84a4f35b28d278718b13e.tar.gz
buildroot-novena-87f0d783ff4b5c6e16f84a4f35b28d278718b13e.zip
Override the uninstall target rather than the clean target
Also, don't actually create the .stamp_uninstalled but remove the .stamp_installed file instead (ala the overridden target).
Diffstat (limited to 'package/bridge-utils/bridge.mk')
-rw-r--r--package/bridge-utils/bridge.mk7
1 files changed, 4 insertions, 3 deletions
diff --git a/package/bridge-utils/bridge.mk b/package/bridge-utils/bridge.mk
index d8182b950..70fdc3981 100644
--- a/package/bridge-utils/bridge.mk
+++ b/package/bridge-utils/bridge.mk
@@ -22,8 +22,9 @@ $(BRIDGE_HOOK_POST_INSTALL): $(BRIDGE_TARGET_INSTALL_TARGET)
touch $@
# bridge has no uninstall target
-$(BUILD_DIR)/bridge-$(BRIDGE_VERSION)/.stamp_cleaned:
- $(call MESSAGE,"Cleaning up")
+$(BUILD_DIR)/bridge-$(BRIDGE_VERSION)/.stamp_uninstalled:
+ $(call MESSAGE,"Uninstalling")
rm -f $(addprefix $(TARGET_DIR)/usr/,lib/libbridge.a \
include/libbridge.h man/man8/brctl.8 sbin/brctl)
- touch $@
+ rm -f $(@D)/.stamp_target_installed
+