From: Ola x Nilsson <ol...@axis.com>

While do_compile and do_install already have the scons_ prefix,
do_configure did not.  This was most likely an oversight from when it
was converted from do_configure[noexec] = "1".

Signed-off-by: Ola x Nilsson <ol...@axis.com>
---
 meta/classes-recipe/scons.bbclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/classes-recipe/scons.bbclass 
b/meta/classes-recipe/scons.bbclass
index d20a78dc6e..1cb375522d 100644
--- a/meta/classes-recipe/scons.bbclass
+++ b/meta/classes-recipe/scons.bbclass
@@ -12,7 +12,7 @@ EXTRA_OESCONS ?= ""
 # This value below is derived from $(getconf ARG_MAX)
 SCONS_MAXLINELENGTH ?= "MAXLINELENGTH=2097152"
 EXTRA_OESCONS:append = " ${SCONS_MAXLINELENGTH}"
-do_configure() {
+scons_do_configure() {
        if [ -n "${CONFIGURESTAMPFILE}" -a "${S}" = "${B}" ]; then
                if [ -e "${CONFIGURESTAMPFILE}" -a "`cat 
${CONFIGURESTAMPFILE}`" != "${BB_TASKHASH}" -a "${CLEANBROKEN}" != "1" ]; then
                        ${STAGING_BINDIR_NATIVE}/scons --directory=${S} --clean 
PREFIX=${prefix} prefix=${prefix} ${EXTRA_OESCONS}
@@ -37,4 +37,4 @@ do_configure[vardepsexclude] = "SCONS_MAXLINELENGTH"
 do_compile[vardepsexclude] = "SCONS_MAXLINELENGTH"
 do_install[vardepsexclude] = "SCONS_MAXLINELENGTH"
 
-EXPORT_FUNCTIONS do_compile do_install
+EXPORT_FUNCTIONS do_configure do_compile do_install
-- 
2.39.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#203613): 
https://lists.openembedded.org/g/openembedded-core/message/203613
Mute This Topic: https://lists.openembedded.org/mt/108034761/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to