summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2011-08-29 09:26:46 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-30 22:06:38 +0100
commit8aec52f4fd1ad3e4148e2ad32700a4378e69dcd3 (patch)
tree5d80e1625018fefa1be16e4727329cbbaf6cb498 /meta/classes
parentf67789b83599b86be052b3f2d686791cbf24f540 (diff)
downloadopenembedded-core-8aec52f4fd1ad3e4148e2ad32700a4378e69dcd3.tar.gz
openembedded-core-8aec52f4fd1ad3e4148e2ad32700a4378e69dcd3.tar.bz2
openembedded-core-8aec52f4fd1ad3e4148e2ad32700a4378e69dcd3.tar.xz
openembedded-core-8aec52f4fd1ad3e4148e2ad32700a4378e69dcd3.zip
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@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/image.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index bf8b73a75..3cd5e7aae 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}