[oe-commits] [openembedded-core] 12/14: cml1.bbclass: fix undefined behavior

git at git.openembedded.org git at git.openembedded.org
Fri May 3 16:31:29 UTC 2019


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit b63beb189589fb3eea165606811e90249a4ec519
Author: Stefan Müller-Klieser <s.mueller-klieser at phytec.de>
AuthorDate: Fri May 3 11:21:00 2019 +0200

    cml1.bbclass: fix undefined behavior
    
    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>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 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 98d24ce..f3b8a84 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

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list