diff options
author | Ola x Nilsson <olani@axis.com> | 2024-08-22 10:18:16 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-08-23 09:12:38 +0100 |
commit | 4fda9fc667406ede864c56365d4df8bade516634 (patch) | |
tree | 7d33aa28a601018f11a0fae3b4091e37f1a820ef /meta/classes-recipe/scons.bbclass | |
parent | 731d9b9a5fa80376d661f487dfaf08d79999a075 (diff) | |
download | poky-4fda9fc667406ede864c56365d4df8bade516634.tar.gz |
scons.bbclass: Add scons class prefix to do_configure
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".
(From OE-Core rev: c2213e0393fc589ac0ee1dd6e67ad624eb0a2706)
Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-recipe/scons.bbclass')
-rw-r--r-- | meta/classes-recipe/scons.bbclass | 4 |
1 files 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 ?= "" | |||
12 | # This value below is derived from $(getconf ARG_MAX) | 12 | # This value below is derived from $(getconf ARG_MAX) |
13 | SCONS_MAXLINELENGTH ?= "MAXLINELENGTH=2097152" | 13 | SCONS_MAXLINELENGTH ?= "MAXLINELENGTH=2097152" |
14 | EXTRA_OESCONS:append = " ${SCONS_MAXLINELENGTH}" | 14 | EXTRA_OESCONS:append = " ${SCONS_MAXLINELENGTH}" |
15 | do_configure() { | 15 | scons_do_configure() { |
16 | if [ -n "${CONFIGURESTAMPFILE}" -a "${S}" = "${B}" ]; then | 16 | if [ -n "${CONFIGURESTAMPFILE}" -a "${S}" = "${B}" ]; then |
17 | if [ -e "${CONFIGURESTAMPFILE}" -a "`cat ${CONFIGURESTAMPFILE}`" != "${BB_TASKHASH}" -a "${CLEANBROKEN}" != "1" ]; then | 17 | if [ -e "${CONFIGURESTAMPFILE}" -a "`cat ${CONFIGURESTAMPFILE}`" != "${BB_TASKHASH}" -a "${CLEANBROKEN}" != "1" ]; then |
18 | ${STAGING_BINDIR_NATIVE}/scons --directory=${S} --clean PREFIX=${prefix} prefix=${prefix} ${EXTRA_OESCONS} | 18 | ${STAGING_BINDIR_NATIVE}/scons --directory=${S} --clean PREFIX=${prefix} prefix=${prefix} ${EXTRA_OESCONS} |
@@ -37,4 +37,4 @@ do_configure[vardepsexclude] = "SCONS_MAXLINELENGTH" | |||
37 | do_compile[vardepsexclude] = "SCONS_MAXLINELENGTH" | 37 | do_compile[vardepsexclude] = "SCONS_MAXLINELENGTH" |
38 | do_install[vardepsexclude] = "SCONS_MAXLINELENGTH" | 38 | do_install[vardepsexclude] = "SCONS_MAXLINELENGTH" |
39 | 39 | ||
40 | EXPORT_FUNCTIONS do_compile do_install | 40 | EXPORT_FUNCTIONS do_configure do_compile do_install |