Skip to content

Commit

Permalink
soletta: fix 'ldflags' QA Error
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
mythi committed Aug 19, 2016
1 parent 6164b66 commit d5f70c0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions recipes-soletta/soletta/soletta_git.bb
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit d5f70c0

Please sign in to comment.