2007-09-11 08:52:20 +00:00
|
|
|
#
|
|
|
|
# Configuration to use a toolchain built by meta-toolchain.bb
|
|
|
|
#
|
|
|
|
|
2007-05-31 14:13:57 +00:00
|
|
|
TARGET_VENDOR = "-poky"
|
|
|
|
|
2009-09-10 16:58:36 +00:00
|
|
|
EXTERNAL_TOOLCHAIN = "${SDKPATH}"
|
2007-05-31 14:13:57 +00:00
|
|
|
|
2007-11-23 12:19:07 +00:00
|
|
|
PATH =. "${EXTERNAL_TOOLCHAIN}/bin:"
|
2007-05-31 14:13:57 +00:00
|
|
|
|
2007-06-13 23:36:50 +00:00
|
|
|
PREFERRED_PROVIDER_linux-libc-headers = "external-poky-toolchain"
|
|
|
|
PREFERRED_PROVIDER_virtual/arm-poky-linux-gnueabi-gcc = "external-poky-toolchain"
|
|
|
|
PREFERRED_PROVIDER_virtual/arm-poky-linux-gnueabi-gcc-initial = "external-poky-toolchain"
|
|
|
|
PREFERRED_PROVIDER_virtual/arm-poky-linux-binutils = "external-poky-toolchain"
|
|
|
|
PREFERRED_PROVIDER_virtual/arm-poky-linux-libc-for-gcc = "external-poky-toolchain"
|
2007-06-18 07:55:27 +00:00
|
|
|
PREFERRED_PROVIDER_virtual/i586-poky-linux-gcc = "external-poky-toolchain"
|
|
|
|
PREFERRED_PROVIDER_virtual/i586-poky-linux-gcc-initial = "external-poky-toolchain"
|
|
|
|
PREFERRED_PROVIDER_virtual/i586-poky-linux-binutils = "external-poky-toolchain"
|
|
|
|
PREFERRED_PROVIDER_virtual/i586-poky-linux-libc-for-gcc = "external-poky-toolchain"
|
2007-06-13 23:36:50 +00:00
|
|
|
PREFERRED_PROVIDER_virtual/libc = "external-poky-toolchain"
|
|
|
|
PREFERRED_PROVIDER_virtual/libintl = "external-poky-toolchain"
|
|
|
|
PREFERRED_PROVIDER_virtual/libiconv = "external-poky-toolchain"
|
|
|
|
PREFERRED_PROVIDER_glibc-thread-db = "external-poky-toolchain"
|
|
|
|
PREFERRED_PROVIDER_virtual/linux-libc-headers = "external-poky-toolchain"
|
2007-05-31 14:13:57 +00:00
|
|
|
|
2008-12-05 14:36:41 +00:00
|
|
|
#TARGET_CPPFLAGS_prepend = " -isystem${EXTERNAL_TOOLCHAIN}/${TARGET_SYS}/include "
|
|
|
|
#TARGET_LDFLAGS_prepend = " -L${EXTERNAL_TOOLCHAIN}/${TARGET_SYS}/lib -Wl,-rpath-link,${EXTERNAL_TOOLCHAIN}/${TARGET_SYS}/lib -L${EXTERNAL_TOOLCHAIN}/${TARGET_SYS}/usr/lib -Wl,-rpath-link,${EXTERNAL_TOOLCHAIN}/${TARGET_SYS}/usr/lib "
|
2007-11-22 16:59:22 +00:00
|
|
|
|
2007-11-22 18:05:06 +00:00
|
|
|
TOOLCHAIN_OPTIONS = " --sysroot=${STAGING_DIR_HOST}"
|