summaryrefslogtreecommitdiff
path: root/package/bridge-utils
diff options
context:
space:
mode:
Diffstat (limited to 'package/bridge-utils')
-rw-r--r--package/bridge-utils/bridge.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/bridge-utils/bridge.mk b/package/bridge-utils/bridge.mk
index 70fdc3981..35d4292c2 100644
--- a/package/bridge-utils/bridge.mk
+++ b/package/bridge-utils/bridge.mk
@@ -22,9 +22,9 @@ $(BRIDGE_HOOK_POST_INSTALL): $(BRIDGE_TARGET_INSTALL_TARGET)
touch $@
# bridge has no uninstall target
-$(BUILD_DIR)/bridge-$(BRIDGE_VERSION)/.stamp_uninstalled:
+$(BRIDGE_TARGET_UNINSTALL):
$(call MESSAGE,"Uninstalling")
rm -f $(addprefix $(TARGET_DIR)/usr/,lib/libbridge.a \
include/libbridge.h man/man8/brctl.8 sbin/brctl)
- rm -f $(@D)/.stamp_target_installed
+ rm -f $(BRIDGE_TARGET_INSTALL_TARGET) $(BRIDGE_HOOK_POST_INSTALL)