diff options
| -rw-r--r-- | meta/recipes-devtools/binutils/binutils-cross.inc | 4 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-4.6.inc | 3 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-configure-cross.inc | 3 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-cross-initial.inc | 6 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-cross-intermediate.inc | 6 |
5 files changed, 19 insertions, 3 deletions
diff --git a/meta/recipes-devtools/binutils/binutils-cross.inc b/meta/recipes-devtools/binutils/binutils-cross.inc index 5a41970ce2..982224ff2f 100644 --- a/meta/recipes-devtools/binutils/binutils-cross.inc +++ b/meta/recipes-devtools/binutils/binutils-cross.inc | |||
| @@ -1,10 +1,14 @@ | |||
| 1 | inherit cross | 1 | inherit cross |
| 2 | PROVIDES = "virtual/${TARGET_PREFIX}binutils" | 2 | PROVIDES = "virtual/${TARGET_PREFIX}binutils" |
| 3 | 3 | ||
| 4 | INHIBIT_DEFAULT_DEPS = "1" | ||
| 5 | INHIBIT_AUTOTOOLS_DEPS = "1" | ||
| 6 | |||
| 4 | EXTRA_OECONF = "--with-sysroot=${STAGING_DIR_TARGET} \ | 7 | EXTRA_OECONF = "--with-sysroot=${STAGING_DIR_TARGET} \ |
| 5 | --program-prefix=${TARGET_PREFIX} \ | 8 | --program-prefix=${TARGET_PREFIX} \ |
| 6 | --disable-install-libbfd \ | 9 | --disable-install-libbfd \ |
| 7 | --disable-werror \ | 10 | --disable-werror \ |
| 11 | --disable-nls \ | ||
| 8 | --enable-poison-system-directories \ | 12 | --enable-poison-system-directories \ |
| 9 | ${@base_contains('DISTRO_FEATURES', 'ld-is-gold', '--enable-gold=default', '', d)}" | 13 | ${@base_contains('DISTRO_FEATURES', 'ld-is-gold', '--enable-gold=default', '', d)}" |
| 10 | 14 | ||
diff --git a/meta/recipes-devtools/gcc/gcc-4.6.inc b/meta/recipes-devtools/gcc/gcc-4.6.inc index a352e36455..8ca3174317 100644 --- a/meta/recipes-devtools/gcc/gcc-4.6.inc +++ b/meta/recipes-devtools/gcc/gcc-4.6.inc | |||
| @@ -23,7 +23,7 @@ BRANCH = "gcc-4_6-branch" | |||
| 23 | FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/gcc-4.6' ], d)}" | 23 | FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/gcc-4.6' ], d)}" |
| 24 | 24 | ||
| 25 | DEPENDS =+ "mpfr gmp libmpc" | 25 | DEPENDS =+ "mpfr gmp libmpc" |
| 26 | NATIVEDEPS = "mpfr-native gmp-native gettext-native libmpc-native" | 26 | NATIVEDEPS = "mpfr-native gmp-native libmpc-native" |
| 27 | 27 | ||
| 28 | LICENSE="GPL-3.0-with-GCC-exception & GPLv3" | 28 | LICENSE="GPL-3.0-with-GCC-exception & GPLv3" |
| 29 | 29 | ||
| @@ -108,3 +108,4 @@ EXTRA_OECONF_INTERMEDIATE = "--disable-libmudflap \ | |||
| 108 | EXTRA_OECONF_append_linux-uclibc = " --disable-decimal-float " | 108 | EXTRA_OECONF_append_linux-uclibc = " --disable-decimal-float " |
| 109 | EXTRA_OECONF_append_linux-uclibceabi = " --disable-decimal-float " | 109 | EXTRA_OECONF_append_linux-uclibceabi = " --disable-decimal-float " |
| 110 | EXTRA_OECONF_append_linux-uclibcspe = " --disable-decimal-float " | 110 | EXTRA_OECONF_append_linux-uclibcspe = " --disable-decimal-float " |
| 111 | |||
diff --git a/meta/recipes-devtools/gcc/gcc-configure-cross.inc b/meta/recipes-devtools/gcc/gcc-configure-cross.inc index 36edb81e1c..d2d908140e 100644 --- a/meta/recipes-devtools/gcc/gcc-configure-cross.inc +++ b/meta/recipes-devtools/gcc/gcc-configure-cross.inc | |||
| @@ -4,8 +4,11 @@ USE_NLS = '${@base_conditional( "TARGET_OS", "linux-uclibc", "no", "", d )}' | |||
| 4 | 4 | ||
| 5 | EXTRA_OECONF += " --enable-poison-system-directories \ | 5 | EXTRA_OECONF += " --enable-poison-system-directories \ |
| 6 | --with-headers=${STAGING_DIR_TARGET}${SYSTEMHEADERS} \ | 6 | --with-headers=${STAGING_DIR_TARGET}${SYSTEMHEADERS} \ |
| 7 | --disable-nls \ | ||
| 7 | " | 8 | " |
| 8 | 9 | ||
| 10 | INHIBIT_DEFAULT_DEPS = "1" | ||
| 11 | |||
| 9 | EXTRA_OECONF_PATHS = "--with-local-prefix=${STAGING_DIR_TARGET}${target_exec_prefix} \ | 12 | EXTRA_OECONF_PATHS = "--with-local-prefix=${STAGING_DIR_TARGET}${target_exec_prefix} \ |
| 10 | --with-gxx-include-dir=${target_includedir}/c++ \ | 13 | --with-gxx-include-dir=${target_includedir}/c++ \ |
| 11 | --with-sysroot=${STAGING_DIR_TARGET} \ | 14 | --with-sysroot=${STAGING_DIR_TARGET} \ |
diff --git a/meta/recipes-devtools/gcc/gcc-cross-initial.inc b/meta/recipes-devtools/gcc/gcc-cross-initial.inc index 4e2e343936..d58bf7083e 100644 --- a/meta/recipes-devtools/gcc/gcc-cross-initial.inc +++ b/meta/recipes-devtools/gcc/gcc-cross-initial.inc | |||
| @@ -1,7 +1,10 @@ | |||
| 1 | DEPENDS = "virtual/${TARGET_PREFIX}binutils gettext-native ${NATIVEDEPS}" | 1 | DEPENDS = "virtual/${TARGET_PREFIX}binutils ${NATIVEDEPS}" |
| 2 | PROVIDES = "virtual/${TARGET_PREFIX}gcc-initial" | 2 | PROVIDES = "virtual/${TARGET_PREFIX}gcc-initial" |
| 3 | PACKAGES = "" | 3 | PACKAGES = "" |
| 4 | 4 | ||
| 5 | INHIBIT_AUTOTOOLS_DEPS = "1" | ||
| 6 | INHIBIT_DEFAULT_DEPS = "1" | ||
| 7 | |||
| 5 | CROSS_TARGET_SYS_DIR_append = ".${PN}" | 8 | CROSS_TARGET_SYS_DIR_append = ".${PN}" |
| 6 | 9 | ||
| 7 | # This is intended to be a -very- basic config | 10 | # This is intended to be a -very- basic config |
| @@ -11,6 +14,7 @@ EXTRA_OECONF = "--with-local-prefix=${STAGING_DIR_TARGET}${target_prefix} \ | |||
| 11 | --without-headers \ | 14 | --without-headers \ |
| 12 | --disable-shared \ | 15 | --disable-shared \ |
| 13 | --disable-threads \ | 16 | --disable-threads \ |
| 17 | --disable-nls \ | ||
| 14 | --disable-multilib \ | 18 | --disable-multilib \ |
| 15 | --disable-__cxa_atexit \ | 19 | --disable-__cxa_atexit \ |
| 16 | --enable-languages=c \ | 20 | --enable-languages=c \ |
diff --git a/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc b/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc index 7b1bb3861b..f368ae9d7e 100644 --- a/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc +++ b/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc | |||
| @@ -1,8 +1,11 @@ | |||
| 1 | DEPENDS = "virtual/${TARGET_PREFIX}binutils ${NATIVEDEPS}" | 1 | DEPENDS = "virtual/${TARGET_PREFIX}binutils ${NATIVEDEPS}" |
| 2 | DEPENDS += "virtual/${TARGET_PREFIX}libc-initial gettext-native" | 2 | DEPENDS += "virtual/${TARGET_PREFIX}libc-initial" |
| 3 | PROVIDES = "virtual/${TARGET_PREFIX}gcc-intermediate" | 3 | PROVIDES = "virtual/${TARGET_PREFIX}gcc-intermediate" |
| 4 | PACKAGES = "" | 4 | PACKAGES = "" |
| 5 | 5 | ||
| 6 | INHIBIT_DEFAULT_DEPS = "1" | ||
| 7 | INHIBIT_AUTOTOOLS_DEPS = "1" | ||
| 8 | |||
| 6 | CROSS_TARGET_SYS_DIR_append = ".${PN}" | 9 | CROSS_TARGET_SYS_DIR_append = ".${PN}" |
| 7 | 10 | ||
| 8 | # This is intended to be a -very- basic config | 11 | # This is intended to be a -very- basic config |
| @@ -13,6 +16,7 @@ CROSS_TARGET_SYS_DIR_append = ".${PN}" | |||
| 13 | # preferred linker. | 16 | # preferred linker. |
| 14 | EXTRA_OECONF = "--with-local-prefix=${STAGING_DIR_TARGET}${target_prefix} \ | 17 | EXTRA_OECONF = "--with-local-prefix=${STAGING_DIR_TARGET}${target_prefix} \ |
| 15 | --enable-shared \ | 18 | --enable-shared \ |
| 19 | --disable-nls \ | ||
| 16 | --disable-multilib \ | 20 | --disable-multilib \ |
| 17 | --disable-threads \ | 21 | --disable-threads \ |
| 18 | --enable-languages=c \ | 22 | --enable-languages=c \ |
