Skip to contentSkip to conversation

poky: Use SDKPATHINSTALL instead of SDKPATH

meta-yocto Steve Sakoman 1 participant 1 message Sep 15, 2021 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

From: Richard Purdie <[email protected]>

SDKPATHINSTALL is the default installation path used for the SDK but is not the path encoded into every SDK binary as the default path. This change allows it to contain things like dates without requiring every nativesdk recipe to rebuild.

Partially fixes [YOCTO #14100]

(cherry picked from commit a62175ee581bd05661717f0fb89dad2a297b4034)
---
 meta-poky/conf/distro/poky.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-poky/conf/distro/poky.conf +1 -1
index 902861b..5b54df8 100644
@@ -24,7 +24,7 @@ DISTRO_FEATURES ?= "${DISTRO_FEATURES_DEFAULT} ${POKY_DEFAULT_DISTRO_FEATURES}"
 PREFERRED_VERSION_linux-yocto ?= "5.4%"
 
 SDK_NAME = "${DISTRO}-${TCLIBC}-${SDKMACHINE}-${IMAGE_BASENAME}-${TUNE_PKGARCH}-${MACHINE}"
-SDKPATH = "/opt/${DISTRO}/${SDK_VERSION}"
+SDKPATHINSTALL = "/opt/${DISTRO}/${SDK_VERSION}"
 
 DISTRO_EXTRA_RDEPENDS += " ${POKY_DEFAULT_EXTRA_RDEPENDS}"
 DISTRO_EXTRA_RRECOMMENDS += " ${POKY_DEFAULT_EXTRA_RRECOMMENDS}"
Signature · 1 line
2.25.1