From: Khem Raj Date: Fri, 21 Jan 2011 21:52:03 +0000 (-0800) Subject: distro/include/slugos.inc: Change DEPLOY_DIR and CACHE locations X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c792d04d2bd63d517133c48bb6dffad2ad3f1fe3;p=openembedded.git distro/include/slugos.inc: Change DEPLOY_DIR and CACHE locations * 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 Acked-by: Mike Westerhof --- diff --git a/conf/distro/include/slugos.inc b/conf/distro/include/slugos.inc index 4c5b463c60..fa28ec5893 100644 --- a/conf/distro/include/slugos.inc +++ b/conf/distro/include/slugos.inc @@ -36,6 +36,11 @@ DISTRO_FEATURES = "largefile ipv4 ipv6 nfs smbfs wifi ppp alsa bluetooth ext2 vf 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"