mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
Makefile: really adjust kernel modules strip invocation
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
2
Makefile
2
Makefile
@@ -419,7 +419,7 @@ ifneq ($(BR2_HAVE_DOCUMENTATION),y)
|
|||||||
endif
|
endif
|
||||||
find $(TARGET_DIR) -type f -perm +111 | xargs $(STRIPCMD) 2>/dev/null || true
|
find $(TARGET_DIR) -type f -perm +111 | xargs $(STRIPCMD) 2>/dev/null || true
|
||||||
find $(TARGET_DIR)/lib/modules -type f -name '*.ko' | \
|
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
|
mkdir -p $(TARGET_DIR)/etc
|
||||||
# Mandatory configuration file and auxilliary cache directory
|
# Mandatory configuration file and auxilliary cache directory
|
||||||
|
|||||||
Reference in New Issue
Block a user