diff options
author | Richard Purdie <richard@openedhand.com> | 2006-11-20 15:19:39 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2006-11-20 15:19:39 +0000 |
commit | e09dab061470154bb14d172f79c5589d232b3c12 (patch) | |
tree | 0657681c4a60c3e7903591a0641a18d0ea6b7ac0 /meta/classes/module_strip.bbclass | |
parent | 4015d48fcfec627821e9dd420b6c37fa1c60369e (diff) | |
download | openembedded-core-e09dab061470154bb14d172f79c5589d232b3c12.tar.gz openembedded-core-e09dab061470154bb14d172f79c5589d232b3c12.tar.bz2 openembedded-core-e09dab061470154bb14d172f79c5589d232b3c12.tar.xz openembedded-core-e09dab061470154bb14d172f79c5589d232b3c12.zip |
classes: Sync with OE - mainly quoting fixes or other minor updates
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@885 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes/module_strip.bbclass')
-rw-r--r-- | meta/classes/module_strip.bbclass | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/classes/module_strip.bbclass b/meta/classes/module_strip.bbclass index 116e8b902..63e656979 100644 --- a/meta/classes/module_strip.bbclass +++ b/meta/classes/module_strip.bbclass @@ -5,7 +5,11 @@ do_strip_modules () { if test -e ${WORKDIR}/install/$p/lib/modules; then modules="`find ${WORKDIR}/install/$p/lib/modules -name \*${KERNEL_OBJECT_SUFFIX}`" if [ -n "$modules" ]; then - ${STRIP} -v -g $modules + for module in $modules ; do + if ! [ -d "$module" ] ; then + ${STRIP} -v -g $module + fi + done # NM="${CROSS_DIR}/bin/${HOST_PREFIX}nm" OBJCOPY="${CROSS_DIR}/bin/${HOST_PREFIX}objcopy" strip_module $modules fi fi |