summaryrefslogtreecommitdiffstats
path: root/meta/classes/module_strip.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/module_strip.bbclass')
-rw-r--r--meta/classes/module_strip.bbclass6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/classes/module_strip.bbclass b/meta/classes/module_strip.bbclass
index 116e8b902f..63e6569799 100644
--- a/meta/classes/module_strip.bbclass
+++ b/meta/classes/module_strip.bbclass
@@ -5,7 +5,11 @@ do_strip_modules () {
5 if test -e ${WORKDIR}/install/$p/lib/modules; then 5 if test -e ${WORKDIR}/install/$p/lib/modules; then
6 modules="`find ${WORKDIR}/install/$p/lib/modules -name \*${KERNEL_OBJECT_SUFFIX}`" 6 modules="`find ${WORKDIR}/install/$p/lib/modules -name \*${KERNEL_OBJECT_SUFFIX}`"
7 if [ -n "$modules" ]; then 7 if [ -n "$modules" ]; then
8 ${STRIP} -v -g $modules 8 for module in $modules ; do
9 if ! [ -d "$module" ] ; then
10 ${STRIP} -v -g $module
11 fi
12 done
9# NM="${CROSS_DIR}/bin/${HOST_PREFIX}nm" OBJCOPY="${CROSS_DIR}/bin/${HOST_PREFIX}objcopy" strip_module $modules 13# NM="${CROSS_DIR}/bin/${HOST_PREFIX}nm" OBJCOPY="${CROSS_DIR}/bin/${HOST_PREFIX}objcopy" strip_module $modules
10 fi 14 fi
11 fi 15 fi