diff options
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-cross.inc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-cross.inc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-cross.inc b/meta/recipes-devtools/gcc/gcc-cross.inc new file mode 100644 index 0000000000..5a796bcde6 --- /dev/null +++ b/meta/recipes-devtools/gcc/gcc-cross.inc | |||
@@ -0,0 +1,12 @@ | |||
1 | inherit cross | ||
2 | |||
3 | DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc ${NATIVEDEPS}" | ||
4 | PROVIDES = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++" | ||
5 | |||
6 | require gcc-configure-cross.inc | ||
7 | require gcc-package-cross.inc | ||
8 | |||
9 | do_compile () { | ||
10 | oe_runmake all-host all-target-libgcc | ||
11 | } | ||
12 | |||