[OE-core] [PATCH] cml1.bbclass: fix undefined behavior

Stefan Müller-Klieser s.mueller-klieser at phytec.de
Fri May 3 09:21:00 UTC 2019


Whenever cml1 do_configure is used with a defconfig, oldconfig waits for
input. This silently fails with:
"Error in reading or end of file."
Replace the call with olddefconfig, which will have the same effect in
setting all defaults, but has a defined behavior.

Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser at phytec.de>
---
 meta/classes/cml1.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/cml1.bbclass b/meta/classes/cml1.bbclass
index 98d24cec746b..f3b8a84073c8 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
+	oe_runmake olddefconfig
 }
 
 EXPORT_FUNCTIONS do_configure
-- 
2.20.1



More information about the Openembedded-core mailing list