From cf929499aa503d6b9226f823bc366d24a7b26651 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 31 Mar 2010 17:28:08 +0100 Subject: gcc-cross-initial/gcc-cross-intermediate: Add missing EXTRA_OECONF variables Signed-off-by: Richard Purdie --- meta/packages/gcc/gcc-configure-common.inc | 2 ++ meta/packages/gcc/gcc-cross-initial.inc | 1 + meta/packages/gcc/gcc-cross-intermediate.inc | 1 + 3 files changed, 4 insertions(+) diff --git a/meta/packages/gcc/gcc-configure-common.inc b/meta/packages/gcc/gcc-configure-common.inc index 5f211bc88..58a527b51 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 124b32381..ceedb6f8a 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 749bd36df..ac1b502ae 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 () { -- cgit v1.2.3