summaryrefslogtreecommitdiff
path: root/meta/conf/external_toolchain.conf
blob: e114f342caf2393a06cb2c241df155cca54f84bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
TARGET_VENDOR = "-poky"

EXTERNAL_TOOLCHAIN = "/usr/local/poky/${TARGET_ARCH}"

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

ASSUME_PROVIDED += "\
    linux-libc-headers \
    virtual/arm-poky-linux-gnueabi-gcc \
    virtual/arm-poky-linux-gnueabi-gcc-initial \
    virtual/arm-poky-linux-binutils \
    virtual/arm-poky-linux-libc-for-gcc \
    virtual/libc \
    virtual/libintl \
    virtual/libiconv \
    glibc-thread-db \
    virtual/linux-libc-headers "

TARGET_CPPFLAGS_append = " -I${EXTERNAL_TOOLCHAIN}/${TARGET_SYS}/include "
TARGET_LDFLAGS_prepend = " -L${EXTERNAL_TOOLCHAIN}/${TARGET_SYS}/lib -Wl,-rpath-link,${EXTERNAL_TOOLCHAIN}/${TARGET_SYS}/lib "