[oe] [RFC] Per-ANGSTROM_MODE caches for Angstrom
Paul Sokolovsky
pmiscml at gmail.com
Sat Feb 16 13:01:11 UTC 2008
Hello,
It's pretty annoying to wait for cache rebuild each time ANGSTROM_MODE
is swicthed, especially if that happens often. Following patch stores
bitbake cache for each mode separately:
#
# old_revision [1821f6eadefc14ad7ce51d5ab026da139608f557]
#
# patch "conf/distro/include/angstrom.inc"
# from [b86b952c90304d1fd39f1415f6af7f71d02e00df]
# to [e7921869d30b7e5df3fd39fbd4bec5d2495b5d31]
#
============================================================
--- conf/distro/include/angstrom.inc b86b952c90304d1fd39f1415f6af7f71d02e00df
+++ conf/distro/include/angstrom.inc e7921869d30b7e5df3fd39fbd4bec5d2495b5d31
@@ -12,6 +12,7 @@ ANGSTROM_MODE ?= "glibc"
# Can be "glibc", "eglibc" or "uclibc"
ANGSTROM_MODE ?= "glibc"
+CACHE = "${TMPDIR}/cache${@['', '/' + str(bb.data.getVar('ANGSTROM_MODE', d, 1))][bool(bb.data.getVar('ANGSTROM_MODE', d, 1))]}${@['', '/' + str(bb.data.getVar('MACHINE', d, 1))][bool(bb.data.getVar('MACHINE', d, 1))]}"
DEPLOY_DIR = "${TMPDIR}/deploy/${ANGSTROM_MODE}"
require conf/distro/include/angstrom-${ANGSTROM_MODE}.inc
--
Best regards,
Paul mailto:pmiscml at gmail.com
More information about the Openembedded-devel
mailing list