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).
This commit is contained in:
parent
7b759f0910
commit
87f0d783ff
|
@ -22,8 +22,9 @@ $(BRIDGE_HOOK_POST_INSTALL): $(BRIDGE_TARGET_INSTALL_TARGET)
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
# bridge has no uninstall target
|
# bridge has no uninstall target
|
||||||
$(BUILD_DIR)/bridge-$(BRIDGE_VERSION)/.stamp_cleaned:
|
$(BUILD_DIR)/bridge-$(BRIDGE_VERSION)/.stamp_uninstalled:
|
||||||
$(call MESSAGE,"Cleaning up")
|
$(call MESSAGE,"Uninstalling")
|
||||||
rm -f $(addprefix $(TARGET_DIR)/usr/,lib/libbridge.a \
|
rm -f $(addprefix $(TARGET_DIR)/usr/,lib/libbridge.a \
|
||||||
include/libbridge.h man/man8/brctl.8 sbin/brctl)
|
include/libbridge.h man/man8/brctl.8 sbin/brctl)
|
||||||
touch $@
|
rm -f $(@D)/.stamp_target_installed
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user