summaryrefslogtreecommitdiff
path: root/meta/conf/distro/include/poky-external.inc
blob: 8c6d967f2d6684b17170e5e5fa847dae63198b4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#
# Configuration to use a toolchain built by meta-toolchain.bb
#

TARGET_VENDOR = "-poky"

EXTERNAL_TOOLCHAIN = "${SDK_PREFIX}"

PATH =. "${EXTERNAL_TOOLCHAIN}/bin:"

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"
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"
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"

#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 "

TOOLCHAIN_OPTIONS = " --sysroot=${STAGING_DIR_HOST}"