diff options
author | Chris Larson <chris_larson@mentor.com> | 2011-08-29 09:26:46 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-30 22:12:56 +0100 |
commit | a6b35d96134e31764eb1d801a96ca4b70eaa1a4a (patch) | |
tree | 4ef860081d8e3c33a60e87dfc2a12ba3de5d53ab /meta/classes/image.bbclass | |
parent | d08f3f48564284b241727477d0f2be67470d4cad (diff) | |
download | poky-a6b35d96134e31764eb1d801a96ca4b70eaa1a4a.tar.gz |
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.
(From OE-Core rev: 8aec52f4fd1ad3e4148e2ad32700a4378e69dcd3)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/image.bbclass')
-rw-r--r-- | 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 bf8b73a75f..3cd5e7aae0 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass | |||
@@ -165,7 +165,7 @@ fakeroot do_rootfs () { | |||
165 | KERNEL_VERSION=`cat ${STAGING_KERNEL_DIR}/kernel-abiversion` | 165 | KERNEL_VERSION=`cat ${STAGING_KERNEL_DIR}/kernel-abiversion` |
166 | 166 | ||
167 | mkdir -p ${IMAGE_ROOTFS}/lib/modules/$KERNEL_VERSION | 167 | mkdir -p ${IMAGE_ROOTFS}/lib/modules/$KERNEL_VERSION |
168 | ${TARGET_SYS}-depmod -a -b ${IMAGE_ROOTFS} -F ${STAGING_KERNEL_DIR}/System.map-$KERNEL_VERSION $KERNEL_VERSION | 168 | ${TARGET_PREFIX}depmod -a -b ${IMAGE_ROOTFS} -F ${STAGING_KERNEL_DIR}/System.map-$KERNEL_VERSION $KERNEL_VERSION |
169 | fi | 169 | fi |
170 | 170 | ||
171 | ${IMAGE_PREPROCESS_COMMAND} | 171 | ${IMAGE_PREPROCESS_COMMAND} |