[poky] [PATCH 1/1] poky.conf: move the SDK install into versiondirectories
Mark Hatle
mark.hatle at windriver.com
Fri Nov 19 08:38:23 PST 2010
As we move beyond 1.0 work. Would it make sense to focus on making sure the SDK
tooling works no matter where it is installed?
The compiler/linker can already do this... the other components that may be part
of the SDK may need some slight changes to detect their current run-time
location and adjust internal paths as necessary.
(We have experience doing this for Wind River Linux, so we should be able to
help out if it's a desired feature for Poky.)
--Mark
On 11/19/10 5:59 AM, Joshua Lock wrote:
> It's desirable to be able to have SDK toolchains installed from multiple
> versions of Poky, enable this by installing the toolchains into a subdirectory
> of /opt/poky/ based on the distro version.
>
> Signed-off-by: Joshua Lock <josh at linux.intel.com>
> ---
> meta/conf/distro/poky.conf | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/meta/conf/distro/poky.conf b/meta/conf/distro/poky.conf
> index b3c9f1a..ca73e64 100644
> --- a/meta/conf/distro/poky.conf
> +++ b/meta/conf/distro/poky.conf
> @@ -60,7 +60,7 @@ POKYLIBC ?= "eglibc"
> require conf/distro/include/poky-${POKYLIBC}.inc
>
> SDK_NAME = "${DISTRO}-${POKYLIBC}-${SDK_ARCH}-${TARGET_ARCH}"
> -SDKPATH = "/opt/${DISTRO}"
> +SDKPATH = "/opt/${DISTRO}/${DISTRO_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))]}"
>
More information about the poky
mailing list