Commit 084e855d authored by Peter Korsgaard's avatar Peter Korsgaard
Browse files

bridge-utils: don't strip if BR2_ENABLE_DEBUG is enabled

parent 886b274a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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):