diff options
Diffstat (limited to 'recipes-devtools/gcc/gcc-cross-initial.inc')
| -rw-r--r-- | recipes-devtools/gcc/gcc-cross-initial.inc | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/recipes-devtools/gcc/gcc-cross-initial.inc b/recipes-devtools/gcc/gcc-cross-initial.inc new file mode 100644 index 0000000000..f582de9843 --- /dev/null +++ b/recipes-devtools/gcc/gcc-cross-initial.inc | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | DEPENDS = "virtual/${TARGET_PREFIX}binutils gettext-native ${NATIVEDEPS}" | ||
| 2 | PROVIDES = "virtual/${TARGET_PREFIX}gcc-initial" | ||
| 3 | PACKAGES = "" | ||
| 4 | |||
| 5 | # This is intended to be a -very- basic config | ||
| 6 | # sysroot is needed in case we use libc-initial | ||
| 7 | EXTRA_OECONF = "--with-local-prefix=${STAGING_DIR_TARGET}${target_prefix} \ | ||
| 8 | --with-newlib \ | ||
| 9 | --without-headers \ | ||
| 10 | --disable-shared \ | ||
| 11 | --disable-threads \ | ||
| 12 | --disable-multilib \ | ||
| 13 | --disable-__cxa_atexit \ | ||
| 14 | --enable-languages=c \ | ||
| 15 | ${OPTSPACE} \ | ||
| 16 | --program-prefix=${TARGET_PREFIX} \ | ||
| 17 | --with-sysroot=${STAGING_DIR_TARGET} \ | ||
| 18 | --with-build-sysroot=${STAGING_DIR_TARGET} \ | ||
| 19 | ${EXTRA_OECONF_INITIAL} \ | ||
| 20 | ${@get_gcc_fpu_setting(bb, d)}" | ||
| 21 | |||
| 22 | do_compile () { | ||
| 23 | oe_runmake | ||
| 24 | } | ||
