mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02:00
![]() 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]
|
||
---|---|---|
.. | ||
__init__.py | ||
build_image.py | ||
build_sdk.py | ||
build.py | ||
deploy.py | ||
export.py | ||
import.py | ||
menuconfig.py | ||
package.py | ||
runqemu.py | ||
sdk.py | ||
search.py | ||
standard.py | ||
upgrade.py | ||
utilcmds.py |