summaryrefslogtreecommitdiffstats
path: root/meta/packages/gcc/gcc-cross.inc
blob: 3fa6f61f0d60fa7c86213c812e62b708a292c970 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# Path mangling needed by the cross packaging
# Note that we use := here, and require that this is included at the correct 
# point (before inheriting cross) to ensure that libdir and includedir are
# target paths, not CROSS_DIR paths.
target_libdir := "${libdir}"
target_includedir := "${includedir}"
target_base_libdir := "${base_libdir}"

inherit cross

DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc"
PROVIDES = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++"