summaryrefslogtreecommitdiffstats
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:15:17 +0100
commit1544d387162f9581622e1a05a334ba6bae7a6cdc (patch)
treeb44635d1a8b95921a563f9315fb177da98661e11
parenta839671f6e029d0fe8c131d37127b5a5906494e5 (diff)
downloadpoky-1544d387162f9581622e1a05a334ba6bae7a6cdc.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. (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>
-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 98d24cec74..c7f6723cb3 100644
--- a/meta/classes/cml1.bbclass
+++ b/meta/classes/cml1.bbclass
@@ -1,7 +1,7 @@
1cml1_do_configure() { 1cml1_do_configure() {
2 set -e 2 set -e
3 unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS 3 unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
4 oe_runmake oldconfig 4 yes '' | oe_runmake oldconfig
5} 5}
6 6
7EXPORT_FUNCTIONS do_configure 7EXPORT_FUNCTIONS do_configure