diff options
author | Ross Burton <ross.burton@intel.com> | 2013-08-01 11:07:36 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-08-03 10:33:11 +0100 |
commit | a32659459781f05bd96952762a92e47f1ce3f264 (patch) | |
tree | 5a4cf5dcb2eddea5891827ac88ae1c902075741c /meta/recipes-bsp/u-boot | |
parent | 900ecbacc166f3a1b04b9b2bc2c80f694445c12f (diff) | |
download | poky-a32659459781f05bd96952762a92e47f1ce3f264.tar.gz |
u-boot: state the MACHINE when skipping u-boot
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 ]
(From OE-Core rev: beef66beaee926ec3d3640b79133fdb2ccc404f0)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp/u-boot')
-rw-r--r-- | meta/recipes-bsp/u-boot/u-boot.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-bsp/u-boot/u-boot.inc b/meta/recipes-bsp/u-boot/u-boot.inc index 6bbe457dfa..6ec63df0e3 100644 --- a/meta/recipes-bsp/u-boot/u-boot.inc +++ b/meta/recipes-bsp/u-boot/u-boot.inc | |||
@@ -13,7 +13,7 @@ python () { | |||
13 | FILE = os.path.basename(d.getVar("FILE", True)) | 13 | FILE = os.path.basename(d.getVar("FILE", True)) |
14 | bb.debug(1, "To build %s, see %s for instructions on \ | 14 | bb.debug(1, "To build %s, see %s for instructions on \ |
15 | setting up your machine config" % (PN, FILE)) | 15 | setting up your machine config" % (PN, FILE)) |
16 | raise bb.parse.SkipPackage("because UBOOT_MACHINE is not set") | 16 | raise bb.parse.SkipPackage("UBOOT_MACHINE is not set in the %s machine configuration." % d.getVar("MACHINE", True)) |
17 | } | 17 | } |
18 | 18 | ||
19 | # Allow setting an additional version string that will be picked up by the | 19 | # Allow setting an additional version string that will be picked up by the |