summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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