Skip to contentSkip to conversation

Introduce SDK_VERSION in poky.conf, fix for [BUGID# 586]

PATCH New Jessica Zhang 1 participant 2 messages Dec 14, 2010

lore
Share & tools
lore
#0 lore raw

cover Introduce SDK_VERSION in poky.conf, fix for [BUGID# 586]

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 <[email protected]>
---

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(-)
#1 lore raw

PATCH 1/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(-)
meta/conf/distro/poky.conf +2 -1
index 10b3165..44e4134 100644
@@ -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 <[email protected]>"
 
@@ -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))]}"
 
Signature · 1 line
1.7.0.4