summaryrefslogtreecommitdiff
path: root/scripts/rstrip.sh
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2012-08-01 16:26:06 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2012-08-01 16:26:06 +0200
commit3c087553827269f44021cb5204860e32ea864eb7 (patch)
treeecb39055c8609dea4aed2c991491de5e6b4709af /scripts/rstrip.sh
parentad884c697e50f33652b5c0b2783d24f38f93399c (diff)
enable module stripping
Diffstat (limited to 'scripts/rstrip.sh')
-rw-r--r--scripts/rstrip.sh4
1 files changed, 2 insertions, 2 deletions
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' \