All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] image.bbclass: use ${TARGET_PREFIX}depmod
@ 2011-08-29 16:26 Christopher Larson
  2011-08-30 21:06 ` Richard Purdie
  0 siblings, 1 reply; 2+ messages in thread
From: Christopher Larson @ 2011-08-29 16:26 UTC (permalink / raw)
  To: openembedded-core; +Cc: Chris Larson

From: Chris Larson <chris_larson@mentor.com>

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>
---
 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}
-- 
1.7.3.2.430.g208247




^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] image.bbclass: use ${TARGET_PREFIX}depmod
  2011-08-29 16:26 [PATCH] image.bbclass: use ${TARGET_PREFIX}depmod Christopher Larson
@ 2011-08-30 21:06 ` Richard Purdie
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Purdie @ 2011-08-30 21:06 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer; +Cc: Chris Larson

On Mon, 2011-08-29 at 09:26 -0700, Christopher Larson wrote:
> From: Chris Larson <chris_larson@mentor.com>
> 
> 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>
> ---
>  meta/classes/image.bbclass |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

Merged to master, thanks.

Richard




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-08-30 21:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-29 16:26 [PATCH] image.bbclass: use ${TARGET_PREFIX}depmod Christopher Larson
2011-08-30 21:06 ` Richard Purdie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.