From: Peter Korsgaard Date: Wed, 24 Nov 2010 21:12:13 +0000 (+0100) Subject: Makefile: really adjust kernel modules strip invocation X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7dccbc44a84f371694ab7b38833908125df315d9;p=buildroot.git Makefile: really adjust kernel modules strip invocation Signed-off-by: Peter Korsgaard --- diff --git a/Makefile b/Makefile index cfaa316a82..a53ef89da7 100644 --- a/Makefile +++ b/Makefile @@ -419,7 +419,7 @@ ifneq ($(BR2_HAVE_DOCUMENTATION),y) endif find $(TARGET_DIR) -type f -perm +111 | xargs $(STRIPCMD) 2>/dev/null || true find $(TARGET_DIR)/lib/modules -type f -name '*.ko' | \ - xargs -r $(STRIPCMD) -R .comment -R .note -g --strip-unneeded + xargs -r $(STRIPCMD) $(STRIP_STRIP_UNNEEDED) mkdir -p $(TARGET_DIR)/etc # Mandatory configuration file and auxilliary cache directory