From: Chris Larson Date: Mon, 29 Aug 2011 16:26:46 +0000 (-0700) Subject: image.bbclass: use ${TARGET_PREFIX}depmod X-Git-Tag: 2011-1~216 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=8aec52f4fd1ad3e4148e2ad32700a4378e69dcd3;p=openembedded-core.git 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 Signed-off-by: Richard Purdie --- diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index bf8b73a75f..3cd5e7aae0 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}