From d5f70c04b507c9ae52837fa618ace00edd9e1a59 Mon Sep 17 00:00:00 2001 From: Mikko Ylinen Date: Tue, 16 Aug 2016 10:22:30 +0300 Subject: [PATCH] soletta: fix 'ldflags' QA Error do_package_qa (insane.bbclass) 'ldflags' QA test checks the ELF binaries are linked using the LDFLAGS provided by the build system. The test checks for hash-style and expects to see GNU_HASH. With soletta, the LDFLAGS are not passed to Kconfig so hash-style remains unchanged and we hit an error. Fix the error by passing the ${LDFLAGS} via CONFIG_LDFLAGS in .config. In addition, re-run oe_runmake oldconfig in do_configure_append to ensure all config changes are correctly propagated. Signed-off-by: Mikko Ylinen --- recipes-soletta/soletta/soletta_git.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/recipes-soletta/soletta/soletta_git.bb b/recipes-soletta/soletta/soletta_git.bb index b4b027a..02013fe 100644 --- a/recipes-soletta/soletta/soletta_git.bb +++ b/recipes-soletta/soletta/soletta_git.bb @@ -105,6 +105,9 @@ do_configure_append() { sed -i -e 's/^ *FLOW_NODE_TYPE_GTK=.*/# FLOW_NODE_TYPE_GTK is not set/g' ${S}/.config fi + sed -i "s/^\(CONFIG_LDFLAGS=\).*/\1\"${LDFLAGS}\"/g" ${S}/.config + + oe_runmake oldconfig } do_compile() {