From bad1fc400b641b175a2ff9c67d2fc3aaed3573c6 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 14 Feb 2008 11:54:36 +0000 Subject: poky.conf: Add POKYMODE and POKYLIBC to CACHE path git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3799 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- meta/conf/distro/poky.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/conf/distro/poky.conf b/meta/conf/distro/poky.conf index 3c58031e5..b6a343bdc 100644 --- a/meta/conf/distro/poky.conf +++ b/meta/conf/distro/poky.conf @@ -48,6 +48,8 @@ require conf/distro/include/poky-${POKYLIBC}.inc SDK_NAME = "${DISTRO}-${POKYMODE}-${POKYLIBC}-${HOST_ARCH}-${TARGET_ARCH}" SDK_PREFIX = "/usr/local/${DISTRO}/${POKYMODE}-${POKYLIBC}/${TARGET_ARCH}" +CACHE = "${TMPDIR}/cache/${POKYMODE}-${POKYLIBC}${@['', '/' + str(bb.data.getVar('MACHINE', d, 1))][bool(bb.data.getVar('MACHINE', d, 1))]}" + # # Preferred providers: # -- cgit v1.2.3