]> code.ossystems Code Review - openembedded-core.git/commit
u-boot.inc: Fix devtool build u-boot for u-boot without menuconfig
authorTom Hochstein <tom.hochstein@nxp.com>
Wed, 20 Nov 2019 19:25:51 +0000 (19:25 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 11 Feb 2020 23:04:29 +0000 (23:04 +0000)
commit00e0bc966cc21e8560587c73e72858b9d2e8c891
treebf2d978d96b590d527e4a77855a053a7d5147e15
parent7bc68f7b946b1aaaafb161a57aa889b200abc2eb
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.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a6c430b0077eb56b4adbe391a0a05a52133cc8f0)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/recipes-bsp/u-boot/u-boot.inc