[oe-commits] Khem Raj : distro/include/slugos.inc: Change DEPLOY_DIR and CACHE locations

git version control git at git.openembedded.org
Sat Jan 22 08:22:17 UTC 2011


Module: openembedded.git
Branch: master
Commit: c792d04d2bd63d517133c48bb6dffad2ad3f1fe3
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=c792d04d2bd63d517133c48bb6dffad2ad3f1fe3

Author: Khem Raj <raj.khem at gmail.com>
Date:   Fri Jan 21 13:52:03 2011 -0800

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 at gmail.com>
Acked-by: Mike Westerhof <mike at mwester.net>

---

 conf/distro/include/slugos.inc |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/conf/distro/include/slugos.inc b/conf/distro/include/slugos.inc
index 4c5b463..fa28ec5 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"





More information about the Openembedded-commits mailing list