All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] Introduce SDK_VERSION which is based on DISTRO_VERSION for fixing bug 586
  2010-12-14 22:22 [PATCH 0/1] Introduce SDK_VERSION in poky.conf, fix for [BUGID# 586] Jessica Zhang
@ 2010-12-14 21:55 ` Jessica Zhang
  0 siblings, 0 replies; 2+ messages in thread
From: Jessica Zhang @ 2010-12-14 21:55 UTC (permalink / raw)
  To: poky

Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
---
 meta/conf/distro/poky.conf |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/meta/conf/distro/poky.conf b/meta/conf/distro/poky.conf
index 10b3165..44e4134 100644
--- a/meta/conf/distro/poky.conf
+++ b/meta/conf/distro/poky.conf
@@ -4,6 +4,7 @@
 DISTRO = "poky"
 DISTRO_NAME = "Yocto (Built by Poky 4.0)"
 DISTRO_VERSION = "0.9+snapshot-${DATE}"
+SDK_VERSION := "${@'${DISTRO_VERSION}'.replace('snapshot-${DATE}','snapshot')}"
 
 MAINTAINER = "Poky <poky@yoctoproject.org>"
 
@@ -60,7 +61,7 @@ POKYLIBC ?= "eglibc"
 require conf/distro/include/poky-${POKYLIBC}.inc
 
 SDK_NAME = "${DISTRO}-${POKYLIBC}-${SDK_ARCH}-${TARGET_ARCH}"
-SDKPATH = "/opt/${DISTRO}/${DISTRO_VERSION}"
+SDKPATH = "/opt/${DISTRO}/${SDK_VERSION}"
 
 CACHE = "${TMPDIR}/cache/${POKYMODE}-${POKYLIBC}${@['', '/' + str(bb.data.getVar('MACHINE', d, 1))][bool(bb.data.getVar('MACHINE', d, 1))]}${@['', '/' + str(bb.data.getVar('SDKMACHINE', d, 1))][bool(bb.data.getVar('SDKMACHINE', d, 1))]}"
 
-- 
1.7.0.4



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH 0/1] Introduce SDK_VERSION in poky.conf, fix for [BUGID# 586]
@ 2010-12-14 22:22 Jessica Zhang
  2010-12-14 21:55 ` [PATCH 1/1] Introduce SDK_VERSION which is based on DISTRO_VERSION for fixing bug 586 Jessica Zhang
  0 siblings, 1 reply; 2+ messages in thread
From: Jessica Zhang @ 2010-12-14 22:22 UTC (permalink / raw)
  To: poky

Introduce SDK_VERSION in poky.conf which derives from DISTRO_VERSION, fixes for [BUGID# 586]

Pull URL: git://git.pokylinux.org/poky-contrib.git
  Branch: jzhang/sdkversion
  Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=jzhang/sdkversion

Thanks,
    Jessica Zhang <jessica.zhang@intel.com>
---


Jessica Zhang (1):
  Introduce SDK_VERSION which is based on DISTRO_VERSION for fixing bug
    586

 meta/conf/distro/poky.conf |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-12-14 22:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-14 22:22 [PATCH 0/1] Introduce SDK_VERSION in poky.conf, fix for [BUGID# 586] Jessica Zhang
2010-12-14 21:55 ` [PATCH 1/1] Introduce SDK_VERSION which is based on DISTRO_VERSION for fixing bug 586 Jessica Zhang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.