diff options
-rw-r--r-- | mk/kernel.mk | 1 | ||||
-rw-r--r-- | scripts/rstrip.sh | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/mk/kernel.mk b/mk/kernel.mk index 01c0813ba..98fd044fb 100644 --- a/mk/kernel.mk +++ b/mk/kernel.mk @@ -70,6 +70,7 @@ ifneq ($(4),) chmod 0755 $$(I_$(1))/CONTROL/postinst endif endif + $${RSTRIP} $${I_$(1)} $(PKG_BUILD) $$(I_$(1)) $(PACKAGE_DIR) $(MAKE_TRACE) endef diff --git a/scripts/rstrip.sh b/scripts/rstrip.sh index 951362d35..846bafd2f 100644 --- a/scripts/rstrip.sh +++ b/scripts/rstrip.sh @@ -40,8 +40,8 @@ find $TARGETS -type f -a -exec file {} \; | \ case $line in *ELF*executable*,\ not\ stripped*) S=executable ;; - */lib/modules/2.*.o:*ELF*relocatable*,\ not\ stripped* | \ - */lib/modules/2.*.ko:*ELF*relocatable*,\ not\ stripped*) + */lib/modules/3.*.o:*ELF*relocatable*,\ not\ stripped* | \ + */lib/modules/3.*.ko:*ELF*relocatable*,\ not\ stripped*) # kernel module parametres must not be stripped off T="$T --strip-unneeded $(echo $(${prefix}nm $F | \ sed -n -e '/__param_/s/^.*__param_/-K /p' \ |