diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2014-04-24 15:59:20 -0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-04-25 17:19:19 +0100 |
commit | 4c14b094985216c433d330fb3d9532d4b6c91fcf (patch) | |
tree | 6970f383436ca29450779bd98c378aae89f2e079 /meta/recipes-devtools/gcc | |
parent | 08a38a7865c41ec60f4b993b964f8d477ea0f680 (diff) | |
download | poky-4c14b094985216c433d330fb3d9532d4b6c91fcf.tar.gz |
Globally replace 'base_contains' calls with 'bb.utils.contains'
The base_contains is kept as a compatibility method and we ought to
not use it in OE-Core so we can remove it from base metadata in
future.
(From OE-Core rev: d83b16dbf0862be387f84228710cb165c6d2b03b)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-configure-common.inc | 2 | ||||
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-cross-initial.inc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-configure-common.inc b/meta/recipes-devtools/gcc/gcc-configure-common.inc index dc44cc9f08..3cc5efab33 100644 --- a/meta/recipes-devtools/gcc/gcc-configure-common.inc +++ b/meta/recipes-devtools/gcc/gcc-configure-common.inc | |||
@@ -19,7 +19,7 @@ LANGUAGES ?= "c,c++${FORTRAN}${JAVA}" | |||
19 | # when linking shared libraries further in the build like (gnutls) | 19 | # when linking shared libraries further in the build like (gnutls) |
20 | 20 | ||
21 | SPECIAL_ARCH_LIST = "powerpc" | 21 | SPECIAL_ARCH_LIST = "powerpc" |
22 | OPTSPACE = '${@base_contains("SPECIAL_ARCH_LIST", "${TARGET_ARCH}", "", "--enable-target-optspace",d)}' | 22 | OPTSPACE = '${@bb.utils.contains("SPECIAL_ARCH_LIST", "${TARGET_ARCH}", "", "--enable-target-optspace",d)}' |
23 | 23 | ||
24 | EXTRA_OECONF_BASE ?= "" | 24 | EXTRA_OECONF_BASE ?= "" |
25 | EXTRA_OECONF_PATHS ?= "" | 25 | EXTRA_OECONF_PATHS ?= "" |
diff --git a/meta/recipes-devtools/gcc/gcc-cross-initial.inc b/meta/recipes-devtools/gcc/gcc-cross-initial.inc index 3870168863..897e055cf3 100644 --- a/meta/recipes-devtools/gcc/gcc-cross-initial.inc +++ b/meta/recipes-devtools/gcc/gcc-cross-initial.inc | |||
@@ -21,7 +21,7 @@ EXTRA_OECONF = "--with-newlib \ | |||
21 | --with-sysroot=${STAGING_DIR_TARGET} \ | 21 | --with-sysroot=${STAGING_DIR_TARGET} \ |
22 | --with-build-sysroot=${GCCCROSS_BUILDSYSROOT} \ | 22 | --with-build-sysroot=${GCCCROSS_BUILDSYSROOT} \ |
23 | ${EXTRA_OECONF_INITIAL} \ | 23 | ${EXTRA_OECONF_INITIAL} \ |
24 | ${@base_contains('DISTRO_FEATURES', 'ld-is-gold', '--with-ld=${STAGING_BINDIR_TOOLCHAIN}/${TARGET_PREFIX}ld.bfd', '', d)} \ | 24 | ${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', '--with-ld=${STAGING_BINDIR_TOOLCHAIN}/${TARGET_PREFIX}ld.bfd', '', d)} \ |
25 | ${EXTRA_OECONF_FPU}" | 25 | ${EXTRA_OECONF_FPU}" |
26 | 26 | ||
27 | EXTRA_OECONF += " --with-native-system-header-dir=${SYSTEMHEADERS} " | 27 | EXTRA_OECONF += " --with-native-system-header-dir=${SYSTEMHEADERS} " |