diff options
Diffstat (limited to 'meta/conf')
-rw-r--r-- | meta/conf/bitbake.conf | 3 | ||||
-rw-r--r-- | meta/conf/external_toolchain.conf | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 296f2c9abd..f75e7c59de 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -180,6 +180,9 @@ DEPLOY_DIR_IPK = "${DEPLOY_DIR}/ipk" DEPLOY_DIR_RPM = "${DEPLOY_DIR}/rpm" DEPLOY_DIR_DEB = "${DEPLOY_DIR}/deb" +SDK_NAME = "${DISTRO}/${TARGET_ARCH}" +SDK_PREFIX = "/usr/local/${SDK_NAME}" + ################################################################## # Kernel info. ################################################################## diff --git a/meta/conf/external_toolchain.conf b/meta/conf/external_toolchain.conf index 6a1b8e71b9..3856fe1ca6 100644 --- a/meta/conf/external_toolchain.conf +++ b/meta/conf/external_toolchain.conf @@ -1,6 +1,6 @@ TARGET_VENDOR = "-poky" -EXTERNAL_TOOLCHAIN = "/usr/local/poky/${TARGET_ARCH}" +EXTERNAL_TOOLCHAIN = "${SDK_PREFIX}" PATH =. ":${EXTERNAL_TOOLCHAIN}/bin:" |