diff options
author | George McCollister <george.mccollister@gmail.com> | 2016-08-08 10:29:47 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-08-10 10:46:33 +0100 |
commit | b51959e3c88d1fda6ca83ad31522c77906038dea (patch) | |
tree | 55e8db00f47263c7659b4043e69e2b7fe237f21e /meta/classes | |
parent | c1a6945d7e911cfee415a2fce677f1f4708284c4 (diff) | |
download | poky-b51959e3c88d1fda6ca83ad31522c77906038dea.tar.gz |
uboot-sign: do_concat_dtb(): cd to $B
Prior to running oe_runmake make sure $B is the cwd. This is required
due to bitbake commit 67a7b8b021badc17d8fdf447c250e79d291e75f7
"build: don't use $B as the default cwd for functions".
Without this change, do_concat_dtb fails with:
| ERROR: oe_runmake failed
| make: *** No targets specified and no makefile found. Stop.
(From OE-Core rev: 6dca3dee34b587157d0d49c590a177ff1dabb374)
Signed-off-by: George McCollister <george.mccollister@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/uboot-sign.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/uboot-sign.bbclass b/meta/classes/uboot-sign.bbclass index d56ad8e07c..3c56db8872 100644 --- a/meta/classes/uboot-sign.bbclass +++ b/meta/classes/uboot-sign.bbclass | |||
@@ -66,6 +66,7 @@ do_concat_dtb () { | |||
66 | if [ "x${UBOOT_SIGN_ENABLE}" = "x1" ]; then | 66 | if [ "x${UBOOT_SIGN_ENABLE}" = "x1" ]; then |
67 | if [ "x${UBOOT_SUFFIX}" = "ximg" -o "x${UBOOT_SUFFIX}" = "xrom" ] && \ | 67 | if [ "x${UBOOT_SUFFIX}" = "ximg" -o "x${UBOOT_SUFFIX}" = "xrom" ] && \ |
68 | [ -e "${DEPLOYDIR}/${UBOOT_DTB_IMAGE}" ]; then | 68 | [ -e "${DEPLOYDIR}/${UBOOT_DTB_IMAGE}" ]; then |
69 | cd ${B} | ||
69 | oe_runmake EXT_DTB=${DEPLOYDIR}/${UBOOT_DTB_IMAGE} | 70 | oe_runmake EXT_DTB=${DEPLOYDIR}/${UBOOT_DTB_IMAGE} |
70 | install ${S}/${UBOOT_BINARY} ${DEPLOYDIR}/${UBOOT_IMAGE} | 71 | install ${S}/${UBOOT_BINARY} ${DEPLOYDIR}/${UBOOT_IMAGE} |
71 | install ${S}/${UBOOT_BINARY} ${DEPLOY_DIR_IMAGE}/${UBOOT_IMAGE} | 72 | install ${S}/${UBOOT_BINARY} ${DEPLOY_DIR_IMAGE}/${UBOOT_IMAGE} |