[oe-commits] Michael 'Mickey' Lauer : sane-toolchain.inc: move non-weak assignments for CACHE and DEPLOY_DIR to minimal.conf; make them weak

GIT User account git at amethyst.openembedded.net
Thu Mar 19 13:10:19 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: b884b02725367ec1ba3281b157d085ba70d81bbf
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=b884b02725367ec1ba3281b157d085ba70d81bbf

Author: Michael 'Mickey' Lauer <mickey at vanille-media.de>
Date:   Thu Mar 19 14:08:04 2009 +0100

sane-toolchain.inc: move non-weak assignments for CACHE and DEPLOY_DIR to minimal.conf; make them weak
You can override DEPLOY_DIR now in your local.conf.

---

 conf/distro/include/sane-toolchain.inc |    3 ---
 conf/distro/minimal.conf               |    2 ++
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/conf/distro/include/sane-toolchain.inc b/conf/distro/include/sane-toolchain.inc
index b261d63..f70e98e 100644
--- a/conf/distro/include/sane-toolchain.inc
+++ b/conf/distro/include/sane-toolchain.inc
@@ -117,9 +117,6 @@ TARGET_CC_ARCH_pn-cairo_armv5te = "-march=armv4t"
 # Can be "glibc", "eglibc" or "uclibc"
 PREFERRED_LIBC ?= "glibc"
 PSTAGE_EXTRAPATH = "${PREFERRED_LIBC}"
-
-CACHE = "${TMPDIR}/cache/${PREFERRED_LIBC}/${MACHINE}"
-DEPLOY_DIR = "${TMPDIR}/deploy/${PREFERRED_LIBC}"
 require conf/distro/include/sane-toolchain-${PREFERRED_LIBC}.inc
 
 # Generate locales on the buildsystem instead of on the target. Speeds up first boot, set to "1" to enable
diff --git a/conf/distro/minimal.conf b/conf/distro/minimal.conf
index f7c33d4..5672444 100644
--- a/conf/distro/minimal.conf
+++ b/conf/distro/minimal.conf
@@ -57,6 +57,8 @@ IPKG_VARIANT = "opkg-nogpg"
 #############################################################################
 # Name the generated images in a sane way
 IMAGE_NAME = "${DISTRO_NAME}-${IMAGE_BASENAME}-${PREFERRED_LIBC}-${PREFERRED_PKG_FORMAT}-${DISTRO_VERSION}-${MACHINE}"
+CACHE ?= "${TMPDIR}/cache/${PREFERRED_LIBC}/${MACHINE}"
+DEPLOY_DIR ?= "${TMPDIR}/deploy/${PREFERRED_LIBC}"
 DEPLOY_DIR_IMAGE = "${DEPLOY_DIR}/images/${MACHINE}"
 
 #############################################################################





More information about the Openembedded-commits mailing list