distro/minimal.conf: Dont keep CACHE as weak assignment.
authorKhem Raj <raj.khem@gmail.com>
Mon, 24 May 2010 04:05:04 +0000 (21:05 -0700)
committerKhem Raj <raj.khem@gmail.com>
Mon, 24 May 2010 20:04:47 +0000 (13:04 -0700)
* 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@gmail.com>
conf/distro/minimal.conf

index f42f1b6..1e72efd 100644 (file)
@@ -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)}'