bridge-utils: don't strip if BR2_ENABLE_DEBUG is enabled
authorPeter Korsgaard <jacmet@sunsite.dk>
Mon, 20 Oct 2008 11:53:05 +0000 (11:53 -0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 20 Oct 2008 11:53:05 +0000 (11:53 -0000)
package/bridge-utils/bridge.mk

index 51ef29e3f0b79b78d1baa32f9cac0b8834971c8b..404d268a0b946bddcc5c37e6be6a3f7655ca59b2 100644 (file)
@@ -16,10 +16,12 @@ BRIDGE_DEPENDENCIES:=uclibc
 
 $(eval $(call AUTOTARGETS,package,bridge))
 
+ifeq ($(BR2_ENABLE_DEBUG),)
 # bridge has no install-strip target
 $(BRIDGE_HOOK_POST_INSTALL): $(BRIDGE_TARGET_INSTALL_TARGET)
        $(STRIPCMD) $(STRIP_STRIP_ALL) $(TARGET_DIR)/usr/sbin/brctl
        touch $@
+endif
 
 # bridge has no uninstall target
 $(BRIDGE_TARGET_UNINSTALL):