mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
cml1.bbclass: fix undefined behavior
Whenever cml1 do_configure is used with a defconfig, oldconfig waits for input. This silently fails on recent kconfig projects with: "Error in reading or end of file." We cannot use a more up to date kconfig target such as olddefconfig, because busybox does not support it. (From OE-Core rev: 7ad50a8fc1448dd152eaba57aaeb63a8229fdb21) Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
a839671f6e
commit
1544d38716
@@ -1,7 +1,7 @@
|
||||
cml1_do_configure() {
|
||||
set -e
|
||||
unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
|
||||
oe_runmake oldconfig
|
||||
yes '' | oe_runmake oldconfig
|
||||
}
|
||||
|
||||
EXPORT_FUNCTIONS do_configure
|
||||
|
||||
Reference in New Issue
Block a user