poky: Use SDKPATHINSTALL instead of SDKPATH
PATCH 1/1 poky: Use SDKPATHINSTALL instead of SDKPATH
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]
--- meta-poky/conf/distro/poky.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-poky/conf/distro/poky.conf +1 -1
@@ -23,7 +23,7 @@ PREFERRED_VERSION_linux-yocto ?= "5.10%" PREFERRED_VERSION_linux-yocto-rt ?= "5.10%" 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.30.2
Hi Richard,
Quoted 4 lines · Richard Purdie
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.
I realize that SDKPATHINSTALL is not documented while SDKPATH is. Is it worth adding to the documentation?
Cheers,
Michael.
Signature · 3 lines
Michael Opdenacker, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
Quoted 11 lines · Michael Opdenacker
Hi Richard,
Quoted 4 lines · Richard Purdie
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.
I realize that SDKPATHINSTALL is not documented while SDKPATH is. Is it worth adding to the documentation?
Yes, and this one needs a note in the migration guide too as we should recommend distros switch to it like I did with Poky.
Cheers,
Richard
Can we get this change backported to Dunfell? Since corresponding OE-Core change got picked up for Dunfell separately and now the default SDK path is different from couple weeks ago...
https://git.openembedded.org/openembedded-core/commit/?h=dunfell&id=33a5714592bf41a26fcd7e8ff595b45538082431
Quoted 28 lines · Richard Purdie
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]
Signed-off-by Richard Purdie <[email protected]>--- meta-poky/conf/distro/poky.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta-poky/conf/distro/poky.conf +1
-1@@ -23,7 +23,7 @@ PREFERRED_VERSION_linux-yocto ?= "5.10%" PREFERRED_VERSION_linux-yocto-rt ?= "5.10%" 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.30.2
Signature · 4 lines
Regards, Denys Dmytriyenko <[email protected]> PGP: 0x420902729A92C964 - https://denix.org/0x420902729A92C964 Fingerprint: 25FC E4A5 8A72 2F69 1186 6D76 4209 0272 9A92 C964