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