summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2009-11-22 02:35:04 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2009-11-22 17:30:38 +0100
commitad5e128fb4d5902dc6acb666f5b9a797c0c75502 (patch)
tree6f204c7dd03b2d80bdb840a7b0b7f459f1b7bc11 /classes
parent27c18b1444cde5c462805a4de94ec1dbce3fb5e1 (diff)
module_strip.bbclass: look for modules in right directory
* After 29c7d3351f43678c6e93b707b301832009f64b31 modules are not in install directory but in package, packages-split * modules*.tgz is created BEFORE this, so it contains non stripped modules * for modules*.tgz with stripped modules see following patch Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'classes')
-rw-r--r--classes/module_strip.bbclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/classes/module_strip.bbclass b/classes/module_strip.bbclass
index 3316e20c80..17409190ed 100644
--- a/classes/module_strip.bbclass
+++ b/classes/module_strip.bbclass
@@ -2,11 +2,11 @@
do_strip_modules () {
for p in ${PACKAGES}; do
- if test -e ${WORKDIR}/install/$p/lib/modules; then
+ if test -e ${PKGDEST}/$p/lib/modules; then
if [ "${KERNEL_MAJOR_VERSION}" == "2.6" ]; then
- modules="`find ${WORKDIR}/install/$p/lib/modules -name \*.ko`"
+ modules="`find ${PKGDEST}/${p}/lib/modules -name \*.ko`"
else
- modules="`find ${WORKDIR}/install/$p/lib/modules -name \*.o`"
+ modules="`find ${PKGDEST}/${p}/lib/modules -name \*.o`"
fi
if [ -n "$modules" ]; then
for module in $modules ; do