diff mbox series

scons.bbclass: Add scons class prefix to do_configure

Message ID 20240822081816.139600-1-olani@axis.com
State Accepted, archived
Commit c2213e0393fc589ac0ee1dd6e67ad624eb0a2706
Headers show
Series scons.bbclass: Add scons class prefix to do_configure | expand

Commit Message

Ola x Nilsson Aug. 22, 2024, 8:18 a.m. UTC
From: Ola x Nilsson <olani@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 <olani@axis.com>
---
 meta/classes-recipe/scons.bbclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

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