diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-11-07 13:31:53 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-11-07 13:31:53 +0000 |
| commit | 8c22ff0d8b70d9b12f0487ef696a7e915b9e3173 (patch) | |
| tree | efdc32587159d0050a69009bdf2330a531727d95 /meta/classes-recipe/scons.bbclass | |
| parent | d412d2747595c1cc4a5e3ca975e3adc31b2f7891 (diff) | |
| download | poky-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.bbclass | 40 |
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 | |||
| 7 | inherit python3native | ||
| 8 | |||
| 9 | DEPENDS += "python3-scons-native" | ||
| 10 | |||
| 11 | EXTRA_OESCONS ?= "" | ||
| 12 | # This value below is derived from $(getconf ARG_MAX) | ||
| 13 | SCONS_MAXLINELENGTH ?= "MAXLINELENGTH=2097152" | ||
| 14 | EXTRA_OESCONS:append = " ${SCONS_MAXLINELENGTH}" | ||
| 15 | scons_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 | |||
| 26 | scons_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 | |||
| 31 | scons_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 | |||
| 36 | do_configure[vardepsexclude] = "SCONS_MAXLINELENGTH" | ||
| 37 | do_compile[vardepsexclude] = "SCONS_MAXLINELENGTH" | ||
| 38 | do_install[vardepsexclude] = "SCONS_MAXLINELENGTH" | ||
| 39 | |||
| 40 | EXPORT_FUNCTIONS do_configure do_compile do_install | ||
