diff options
-rw-r--r-- | meta/packages/gcc/gcc-configure-common.inc | 2 | ||||
-rw-r--r-- | meta/packages/gcc/gcc-cross-initial.inc | 1 | ||||
-rw-r--r-- | meta/packages/gcc/gcc-cross-intermediate.inc | 1 |
3 files changed, 4 insertions, 0 deletions
diff --git a/meta/packages/gcc/gcc-configure-common.inc b/meta/packages/gcc/gcc-configure-common.inc index 5f211bc881..58a527b51c 100644 --- a/meta/packages/gcc/gcc-configure-common.inc +++ b/meta/packages/gcc/gcc-configure-common.inc @@ -15,6 +15,8 @@ LANGUAGES ?= "c,c++${FORTRAN}${JAVA}" EXTRA_OECONF_BASE ?= "" EXTRA_OECONF_PATHS ?= "" +EXTRA_OECONF_INITIAL ?= "" +EXTRA_OECONF_INTERMEDIATE ?= "" GCCMULTILIB = "--enable-multilib" diff --git a/meta/packages/gcc/gcc-cross-initial.inc b/meta/packages/gcc/gcc-cross-initial.inc index 124b323810..ceedb6f8a9 100644 --- a/meta/packages/gcc/gcc-cross-initial.inc +++ b/meta/packages/gcc/gcc-cross-initial.inc @@ -16,6 +16,7 @@ EXTRA_OECONF = "--with-local-prefix=${STAGING_DIR_TARGET}${target_prefix} \ --program-prefix=${TARGET_PREFIX} \ --with-sysroot=${STAGING_DIR_TARGET} \ --with-build-sysroot=${STAGING_DIR_TARGET} \ + ${EXTRA_OECONF_INITIAL} \ ${@get_gcc_fpu_setting(bb, d)}" do_compile () { diff --git a/meta/packages/gcc/gcc-cross-intermediate.inc b/meta/packages/gcc/gcc-cross-intermediate.inc index 749bd36df4..ac1b502ae5 100644 --- a/meta/packages/gcc/gcc-cross-intermediate.inc +++ b/meta/packages/gcc/gcc-cross-intermediate.inc @@ -14,6 +14,7 @@ EXTRA_OECONF = "--with-local-prefix=${STAGING_DIR_TARGET}${target_prefix} \ --program-prefix=${TARGET_PREFIX} \ --with-sysroot=${STAGING_DIR_TARGET} \ --with-build-sysroot=${STAGING_DIR_TARGET} \ + ${EXTRA_OECONF_INTERMEDIATE} \ ${@get_gcc_fpu_setting(bb, d)}" do_compile () { |