Commit 7dccbc44 authored by Peter Korsgaard's avatar Peter Korsgaard
Browse files

Makefile: really adjust kernel modules strip invocation

parent 8101c9a3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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