[oe] [PATCH] distro/minimal.conf: Dont keep CACHE as weak assignment.

Khem Raj raj.khem at gmail.com
Mon May 24 04:10:40 UTC 2010


* 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)}'
-- 
1.7.0.4





More information about the Openembedded-devel mailing list