[oe-commits] Khem Raj : distro/minimal.conf: Dont keep CACHE as weak assignment.

git version control git at git.openembedded.org
Mon May 24 20:05:02 UTC 2010


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

Author: Khem Raj <raj.khem at gmail.com>
Date:   Sun May 23 21:05:04 2010 -0700

distro/minimal.conf: Dont keep CACHE as weak assignment.

* As this is a weak assignment and bitbake.conf has a proper
  assignment and bitbake.conf is included before distro conf
  file it leaves this weak assignment as no-op. The problem happens
  when using minimal but changing libc from eglibc to uclibc then
  it will use same cache directory and then its infact wrong.

Signed-off-by: Khem Raj <raj.khem at gmail.com>

---

 conf/distro/minimal.conf |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/conf/distro/minimal.conf b/conf/distro/minimal.conf
index f42f1b6..1e72efd 100644
--- a/conf/distro/minimal.conf
+++ b/conf/distro/minimal.conf
@@ -66,7 +66,7 @@ IPKG_VARIANT = "opkg-nogpg"
 #############################################################################
 # Name the generated images in a sane way
 IMAGE_NAME = "${DISTRO_NAME}-${IMAGE_BASENAME}-${LIBC}-${PREFERRED_PKG_FORMAT}-${DISTRO_VERSION}-${MACHINE}"
-CACHE ?= "${TMPDIR}/cache/${LIBC}/${MACHINE}"
+CACHE = "${TMPDIR}/cache/${LIBC}/${MACHINE}"
 DEPLOY_DIR ?= "${TMPDIR}/deploy/${LIBC}"
 DEPLOY_DIR_IMAGE = "${DEPLOY_DIR}/images/${MACHINE}"
 SPLASH ?= '${@base_contains("MACHINE_FEATURES", "screen", "psplash", "",d)}'





More information about the Openembedded-commits mailing list