summaryrefslogtreecommitdiffstats
path: root/meta/classes/cml1.bbclass
diff options
context:
space:
mode:
authorStefan Müller-Klieser <s.mueller-klieser@phytec.de>2019-05-06 10:29:13 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-05-08 12:12:30 +0100
commit7ad50a8fc1448dd152eaba57aaeb63a8229fdb21 (patch)
tree8746e0bebd098744687641937669b337e460617c /meta/classes/cml1.bbclass
parent0a5bd4f30182a3d55153e5ade76f1dfd5b52b482 (diff)
downloadopenembedded-core-contrib-7ad50a8fc1448dd152eaba57aaeb63a8229fdb21.tar.gz
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. Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/cml1.bbclass')
-rw-r--r--meta/classes/cml1.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/cml1.bbclass b/meta/classes/cml1.bbclass
index 98d24cec746..c7f6723cb3d 100644
--- a/meta/classes/cml1.bbclass
+++ b/meta/classes/cml1.bbclass
@@ -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