Makefile: really adjust kernel modules strip invocation
authorPeter Korsgaard <jacmet@sunsite.dk>
Wed, 24 Nov 2010 21:12:13 +0000 (22:12 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Wed, 24 Nov 2010 21:12:13 +0000 (22:12 +0100)
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Makefile

index cfaa316a8214e14f74e3346a22cd7061dbb459ff..a53ef89da715f82320344f05d470e7aedd9ff2d0 100644 (file)
--- 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