Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH][V2] u-boot: state the MACHINE when skipping u-boot
@ 2013-08-01 10:07 Ross Burton
  2013-08-01 10:50 ` Laszlo Papp
  0 siblings, 1 reply; 15+ messages in thread
From: Ross Burton @ 2013-08-01 10:07 UTC (permalink / raw)
  To: openembedded-core

If the user accidently tries building u-boot on a machine doesn't use u-boot
(such as qemuarm) the error message doesn't make it clear why u-boot was
skipped.  To help, state the machine that was being built for again.

[ YOCTO #4945 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
---
 meta/recipes-bsp/u-boot/u-boot.inc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-bsp/u-boot/u-boot.inc b/meta/recipes-bsp/u-boot/u-boot.inc
index 6bbe457..6ec63df 100644
--- a/meta/recipes-bsp/u-boot/u-boot.inc
+++ b/meta/recipes-bsp/u-boot/u-boot.inc
@@ -13,7 +13,7 @@ python () {
 		FILE = os.path.basename(d.getVar("FILE", True))
 		bb.debug(1, "To build %s, see %s for instructions on \
 			     setting up your machine config" % (PN, FILE))
-		raise bb.parse.SkipPackage("because UBOOT_MACHINE is not set")
+		raise bb.parse.SkipPackage("UBOOT_MACHINE is not set in the %s machine configuration." % d.getVar("MACHINE", True))
 }
 
 # Allow setting an additional version string that will be picked up by the
-- 
1.7.10.4



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

end of thread, other threads:[~2013-08-01 17:22 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-01 10:07 [PATCH][V2] u-boot: state the MACHINE when skipping u-boot Ross Burton
2013-08-01 10:50 ` Laszlo Papp
2013-08-01 10:56   ` Burton, Ross
2013-08-01 11:13     ` Burton, Ross
2013-08-01 11:18     ` Laszlo Papp
2013-08-01 12:58       ` Burton, Ross
2013-08-01 16:33         ` Laszlo Papp
2013-08-01 16:35           ` Burton, Ross
2013-08-01 16:38             ` Laszlo Papp
2013-08-01 16:50               ` Otavio Salvador
2013-08-01 16:52                 ` Laszlo Papp
2013-08-01 17:02                   ` Paul Eggleton
2013-08-01 17:09                     ` Laszlo Papp
2013-08-01 17:17                       ` Otavio Salvador
2013-08-01 17:22                         ` Laszlo Papp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox