* Current set of defines does not let slugos and ucslugc build in
one tmpdir, this patch will let that happen and there by increase
build times for those who would like to build both distros
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Mike Westerhof <mike@mwester.net>
IMAGE_BASENAME = "${@['slugos${SITEINFO_ENDIANNESS}', 'ucslugc'][bb.data.getVar('TARGET_OS', d, 1) == 'linux-uclibceabi']}"
+# Define CACHE and DEPLOY_DIR so we could do multi-distro/multi-machine builds
+
+CACHE = "${TMPDIR}/cache/${LIBC}/${MACHINE}"
+DEPLOY_DIR ?= "${TMPDIR}/deploy/${LIBC}"
+
# The following need not be set, the defaults should be adequate
#USE_NLS = "no" or "yes"
USE_NLS ?= "no"