diff options
author | Tom Hochstein <tom.hochstein@nxp.com> | 2019-11-20 19:25:51 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-02-02 16:57:21 +0000 |
commit | c634b8db1a8b98a32953838e3a254c4c4a863d28 (patch) | |
tree | 98e5d6f338d93686a51803d9f7674fcc1e2878be /meta/recipes-bsp/u-boot/u-boot.inc | |
parent | e209b9f0bfc5092e0ebb0fbbed963fe3d960eca7 (diff) | |
download | poky-c634b8db1a8b98a32953838e3a254c4c4a863d28.tar.gz |
u-boot.inc: Fix devtool build u-boot for u-boot without menuconfig
For u-boot recipes without menuconfig support, running devtool results
in a do_configure error:
cp: cannot stat '/home/r60874/upstream/fsl-xwayland/tmp/work/imx8mmevk-fsl-linux/u-boot-imx/2018.03-r0/u-boot-imx-2018.03//.config': No such file or directory
The problem arises because u-boot.inc supports recipes with and without
menuconfig.
Fix the problem by properly setting DEVTOOL_DISABLE_MENUCONFIG so that devtool
can control logic that applies only for menuconfig support.
(From OE-Core rev: a6c430b0077eb56b4adbe391a0a05a52133cc8f0)
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp/u-boot/u-boot.inc')
-rw-r--r-- | meta/recipes-bsp/u-boot/u-boot.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-bsp/u-boot/u-boot.inc b/meta/recipes-bsp/u-boot/u-boot.inc index ec777628c5..648298da0b 100644 --- a/meta/recipes-bsp/u-boot/u-boot.inc +++ b/meta/recipes-bsp/u-boot/u-boot.inc | |||
@@ -85,6 +85,8 @@ do_configure () { | |||
85 | fi | 85 | fi |
86 | merge_config.sh -m .config ${@" ".join(find_cfgs(d))} | 86 | merge_config.sh -m .config ${@" ".join(find_cfgs(d))} |
87 | cml1_do_configure | 87 | cml1_do_configure |
88 | else | ||
89 | DEVTOOL_DISABLE_MENUCONFIG=true | ||
88 | fi | 90 | fi |
89 | } | 91 | } |
90 | 92 | ||