poky/scripts/lib
Tom Hochstein e209b9f0bf devtool/standard.py: Allow recipe to disable menuconfig logic
u-boot.inc supports u-boot recipes with or without menuconfig [1].
However, running devtool on a u-boot recipe that does not support menuconfig
results in an 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 is the devtool logic assumes that any recipe with a do_menuconfig task
will generate a .config in do_configure().

Fix the problem by removing the assumption with a flag that the recipe can control,
like this:

do_configure() {
    if [ menuconfig-supported ]; then
        ...
    else
        DEVTOOL_DISABLE_MENUCONFIG=true
    fi
}

[1] 11278e3b2c

(From OE-Core rev: 6cc17e658c3dbadc772353f0f200561d2d988658)

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-02-02 16:57:21 +00:00
..
build_perf meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
checklayer yocto-check-layer: Allow any case for README file detection 2019-08-30 17:10:28 +01:00
devtool devtool/standard.py: Allow recipe to disable menuconfig logic 2020-02-02 16:57:21 +00:00
recipetool recipetool/create: npm: remove the 'noverify' url parameter 2020-01-27 16:48:09 +00:00
resulttool resulttool/store.py: Enable add extra test environment data 2019-11-14 13:20:59 +00:00
wic wic: fix images build in parallel 2020-01-19 13:24:39 +00:00
argparse_oe.py meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
buildstats.py scripts/buildstats-diff: Add option to filter tasks 2019-07-17 09:36:35 +01:00
scriptpath.py meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
scriptutils.py scriptutils: remove the useless import line 2019-12-06 14:41:28 +00:00