[oe-commits] Chris Larson : image.bbclass: use ${TARGET_PREFIX}depmod
git version control
git at git.openembedded.org
Tue Aug 30 21:09:25 UTC 2011
Module: openembedded-core.git
Branch: master
Commit: 8aec52f4fd1ad3e4148e2ad32700a4378e69dcd3
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=8aec52f4fd1ad3e4148e2ad32700a4378e69dcd3
Author: Chris Larson <chris_larson at mentor.com>
Date: Mon Aug 29 09:26:46 2011 -0700
image.bbclass: use ${TARGET_PREFIX}depmod
Currently it uses ${TARGET_SYS}-. This is inconsistent, as the recipe
and kernel bbclass both use the prefix. While there aren't many cases
where the two differ, it is harmless to ensure that we are behaving
consistently.
Signed-off-by: Chris Larson <chris_larson at mentor.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/classes/image.bbclass | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index bf8b73a..3cd5e7a 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -165,7 +165,7 @@ fakeroot do_rootfs () {
KERNEL_VERSION=`cat ${STAGING_KERNEL_DIR}/kernel-abiversion`
mkdir -p ${IMAGE_ROOTFS}/lib/modules/$KERNEL_VERSION
- ${TARGET_SYS}-depmod -a -b ${IMAGE_ROOTFS} -F ${STAGING_KERNEL_DIR}/System.map-$KERNEL_VERSION $KERNEL_VERSION
+ ${TARGET_PREFIX}depmod -a -b ${IMAGE_ROOTFS} -F ${STAGING_KERNEL_DIR}/System.map-$KERNEL_VERSION $KERNEL_VERSION
fi
${IMAGE_PREPROCESS_COMMAND}
More information about the Openembedded-commits
mailing list