aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2011-01-21 13:52:03 -0800
committerKhem Raj <raj.khem@gmail.com>2011-01-22 00:22:05 -0800
commitc792d04d2bd63d517133c48bb6dffad2ad3f1fe3 (patch)
tree72da1fe94421a5c83b6128f38feb8062d529a941 /conf
parent342d495602ae9650c529ddb4e11e43d643c5a01c (diff)
downloadopenembedded-c792d04d2bd63d517133c48bb6dffad2ad3f1fe3.tar.gz
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 <raj.khem@gmail.com> Acked-by: Mike Westerhof <mike@mwester.net>
Diffstat (limited to 'conf')
-rw-r--r--conf/distro/include/slugos.inc5
1 files changed, 5 insertions, 0 deletions
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"