summaryrefslogtreecommitdiffstats
path: root/meta/classes-recipe/toolchain-scripts.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2024-05-30 17:15:14 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-05-31 16:58:36 +0100
commit6b9eb4e9f04387b68e1b55e06b0d91edfa572abb (patch)
tree109ab229eedec3d928449df270885dd54c097ca7 /meta/classes-recipe/toolchain-scripts.bbclass
parent8fc598580e0222c022fedec79233b6de2320b0c4 (diff)
downloadpoky-6b9eb4e9f04387b68e1b55e06b0d91edfa572abb.tar.gz
siteconfig: Drop siteconfig class/code/support
The siteconfig code was only used for 5 cache values. The complexity added to sstate to support this code was considerable and the runtime much more significant than any benefit the cache files would have added. Drop the support for this which was only used minimally for ncurses and zlib. (From OE-Core rev: f3766dc038f7ba9780ddaf5eb8d27385ea31d7d0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-recipe/toolchain-scripts.bbclass')
-rw-r--r--meta/classes-recipe/toolchain-scripts.bbclass7
1 files changed, 0 insertions, 7 deletions
diff --git a/meta/classes-recipe/toolchain-scripts.bbclass b/meta/classes-recipe/toolchain-scripts.bbclass
index cbef412e79..b59a295abc 100644
--- a/meta/classes-recipe/toolchain-scripts.bbclass
+++ b/meta/classes-recipe/toolchain-scripts.bbclass
@@ -201,7 +201,6 @@ EOF
201 201
202#we get the cached site config in the runtime 202#we get the cached site config in the runtime
203TOOLCHAIN_CONFIGSITE_NOCACHE = "${@' '.join(siteinfo_get_files(d)[0])}" 203TOOLCHAIN_CONFIGSITE_NOCACHE = "${@' '.join(siteinfo_get_files(d)[0])}"
204TOOLCHAIN_CONFIGSITE_SYSROOTCACHE = "${STAGING_DIR}/${MLPREFIX}${MACHINE}/${target_datadir}/${TARGET_SYS}_config_site.d"
205TOOLCHAIN_NEED_CONFIGSITE_CACHE ??= "virtual/${MLPREFIX}libc ncurses" 204TOOLCHAIN_NEED_CONFIGSITE_CACHE ??= "virtual/${MLPREFIX}libc ncurses"
206DEPENDS += "${TOOLCHAIN_NEED_CONFIGSITE_CACHE}" 205DEPENDS += "${TOOLCHAIN_NEED_CONFIGSITE_CACHE}"
207 206
@@ -223,14 +222,8 @@ toolchain_create_sdk_siteconfig () {
223 sitefile=`echo $sitefile | tr / _` 222 sitefile=`echo $sitefile | tr / _`
224 sitefile=`cat ${STAGING_DIR_TARGET}/sysroot-providers/$sitefile` 223 sitefile=`cat ${STAGING_DIR_TARGET}/sysroot-providers/$sitefile`
225 esac 224 esac
226
227 if [ -r ${TOOLCHAIN_CONFIGSITE_SYSROOTCACHE}/${sitefile}_config ]; then
228 cat ${TOOLCHAIN_CONFIGSITE_SYSROOTCACHE}/${sitefile}_config >> $siteconfig
229 fi
230 done 225 done
231} 226}
232# The immediate expansion above can result in unwanted path dependencies here
233toolchain_create_sdk_siteconfig[vardepsexclude] = "TOOLCHAIN_CONFIGSITE_SYSROOTCACHE"
234 227
235python __anonymous () { 228python __anonymous () {
236 import oe.classextend 229 import oe.classextend