summaryrefslogtreecommitdiffstats
path: root/meta/classes-recipe/scons.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2025-11-07 13:31:53 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-11-07 13:31:53 +0000
commit8c22ff0d8b70d9b12f0487ef696a7e915b9e3173 (patch)
treeefdc32587159d0050a69009bdf2330a531727d95 /meta/classes-recipe/scons.bbclass
parentd412d2747595c1cc4a5e3ca975e3adc31b2f7891 (diff)
downloadpoky-8c22ff0d8b70d9b12f0487ef696a7e915b9e3173.tar.gz
The poky repository master branch is no longer being updated.
You can either: a) switch to individual clones of bitbake, openembedded-core, meta-yocto and yocto-docs b) use the new bitbake-setup You can find information about either approach in our documentation: https://docs.yoctoproject.org/ Note that "poky" the distro setting is still available in meta-yocto as before and we continue to use and maintain that. Long live Poky! Some further information on the background of this change can be found in: https://lists.openembedded.org/g/openembedded-architecture/message/2179 Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-recipe/scons.bbclass')
-rw-r--r--meta/classes-recipe/scons.bbclass40
1 files changed, 0 insertions, 40 deletions
diff --git a/meta/classes-recipe/scons.bbclass b/meta/classes-recipe/scons.bbclass
deleted file mode 100644
index 1cb375522d..0000000000
--- a/meta/classes-recipe/scons.bbclass
+++ /dev/null
@@ -1,40 +0,0 @@
1#
2# Copyright OpenEmbedded Contributors
3#
4# SPDX-License-Identifier: MIT
5#
6
7inherit python3native
8
9DEPENDS += "python3-scons-native"
10
11EXTRA_OESCONS ?= ""
12# This value below is derived from $(getconf ARG_MAX)
13SCONS_MAXLINELENGTH ?= "MAXLINELENGTH=2097152"
14EXTRA_OESCONS:append = " ${SCONS_MAXLINELENGTH}"
15scons_do_configure() {
16 if [ -n "${CONFIGURESTAMPFILE}" -a "${S}" = "${B}" ]; 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}
19 fi
20
21 mkdir -p `dirname ${CONFIGURESTAMPFILE}`
22 echo ${BB_TASKHASH} > ${CONFIGURESTAMPFILE}
23 fi
24}
25
26scons_do_compile() {
27 ${STAGING_BINDIR_NATIVE}/scons --directory=${S} ${PARALLEL_MAKE} PREFIX=${prefix} prefix=${prefix} ${EXTRA_OESCONS} || \
28 die "scons build execution failed."
29}
30
31scons_do_install() {
32 ${STAGING_BINDIR_NATIVE}/scons --directory=${S} install_root=${D}${prefix} PREFIX=${prefix} prefix=${prefix} ${EXTRA_OESCONS} install || \
33 die "scons install execution failed."
34}
35
36do_configure[vardepsexclude] = "SCONS_MAXLINELENGTH"
37do_compile[vardepsexclude] = "SCONS_MAXLINELENGTH"
38do_install[vardepsexclude] = "SCONS_MAXLINELENGTH"
39
40EXPORT_FUNCTIONS do_configure do_compile do_install