diff options
author | Stefan Müller-Klieser <s.mueller-klieser@phytec.de> | 2019-05-06 10:29:13 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-05-20 14:38:16 +0100 |
commit | 4c5f3371ede0b5a8c472e142c4add94268a74f51 (patch) | |
tree | 4352f133b095b4916dddd4322e0035ef89ce3cb8 /meta | |
parent | 00092a27e284ba76c4fb989202d9d1066675ad32 (diff) | |
download | poky-4c5f3371ede0b5a8c472e142c4add94268a74f51.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: bbce28b31e2d575fec0ffe8c94d6ffcb76849810)
Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/cml1.bbclass | 2 |
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 @@ | |||
1 | cml1_do_configure() { | 1 | cml1_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 | ||
7 | EXPORT_FUNCTIONS do_configure | 7 | EXPORT_FUNCTIONS do_configure |