summaryrefslogtreecommitdiff
path: root/meta/recipes-bsp
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2013-08-01 11:07:36 +0100
committerSaul Wold <sgw@linux.intel.com>2013-08-02 08:01:40 -0700
commitbeef66beaee926ec3d3640b79133fdb2ccc404f0 (patch)
treee8d94b6da8ab86fed8e45a92df406a5a588b7897 /meta/recipes-bsp
parent34e1b72c8c0d45e5e6e07ba0970e28675ba70246 (diff)
downloadopenembedded-core-beef66beaee926ec3d3640b79133fdb2ccc404f0.tar.gz
openembedded-core-beef66beaee926ec3d3640b79133fdb2ccc404f0.tar.bz2
openembedded-core-beef66beaee926ec3d3640b79133fdb2ccc404f0.zip
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 ] Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-bsp')
-rw-r--r--meta/recipes-bsp/u-boot/u-boot.inc2
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 () {
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