summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxin B. John <maxin.john@intel.com>2016-06-20 14:36:07 +0300
committerMaxin B. John <maxin.john@intel.com>2016-06-20 14:38:48 +0300
commit1d820a778c0aa5d1d8bbff9949e77c32a08c8a7b (patch)
treed5b13a07608fcda0ce3c4d4a7f15c83cbb070c8b
parent74811bbadaf55fd105ad092a1fcb4923afd4d41d (diff)
downloadmeta-java-1d820a778c0aa5d1d8bbff9949e77c32a08c8a7b.tar.gz
replace base_contains by bb.utils.contains
Replace all instances of base_contains with bb.utils.contains to avoid warnings. Signed-off-by: Maxin B. John <maxin.john@intel.com>
-rw-r--r--recipes-core/icedtea/icedtea7-native.inc6
-rw-r--r--recipes-core/icedtea/openjdk-7-release-03b147.inc2
-rw-r--r--recipes-core/openjdk/openjdk-8-common.inc2
3 files changed, 5 insertions, 5 deletions
diff --git a/recipes-core/icedtea/icedtea7-native.inc b/recipes-core/icedtea/icedtea7-native.inc
index 2dad84d..d624b7a 100644
--- a/recipes-core/icedtea/icedtea7-native.inc
+++ b/recipes-core/icedtea/icedtea7-native.inc
@@ -14,8 +14,8 @@ DEPENDS = "virtual/javac-native virtual/java-native classpath-native \
14PACKAGECONFIG ??= "" 14PACKAGECONFIG ??= ""
15PACKAGECONFIG[x11] = ",--disable-headful,libx11-native xproto-native libxt-native libxext-native libxrender-native" 15PACKAGECONFIG[x11] = ",--disable-headful,libx11-native xproto-native libxt-native libxext-native libxrender-native"
16 16
17OEMAKE_BUILD_HEADLESS_ONLY = "${@base_contains('PACKAGECONFIG', 'x11', '', 'BUILD_HEADLESS_ONLY=1', d)}" 17OEMAKE_BUILD_HEADLESS_ONLY = "${@bb.utils.contains('PACKAGECONFIG', 'x11', '', 'BUILD_HEADLESS_ONLY=1', d)}"
18CFLAGS_append = "${@base_contains('PACKAGECONFIG', 'x11', '', ' -DHEADLESS=true', d)}" 18CFLAGS_append = "${@bb.utils.contains('PACKAGECONFIG', 'x11', '', ' -DHEADLESS=true', d)}"
19 19
20inherit native java autotools pkgconfig 20inherit native java autotools pkgconfig
21 21
@@ -136,7 +136,7 @@ do_configure_prepend() {
136 done 136 done
137} 137}
138 138
139POST_CONFIGURE_CLEAN_X11 = "${@base_contains('PACKAGECONFIG', 'x11', '', 'rm openjdk*/jdk/src/solaris/classes/sun/awt/X11/*.java', d)}" 139POST_CONFIGURE_CLEAN_X11 = "${@bb.utils.contains('PACKAGECONFIG', 'x11', '', 'rm openjdk*/jdk/src/solaris/classes/sun/awt/X11/*.java', d)}"
140 140
141do_configure_append() { 141do_configure_append() {
142 oe_runmake patch-fsg 142 oe_runmake patch-fsg
diff --git a/recipes-core/icedtea/openjdk-7-release-03b147.inc b/recipes-core/icedtea/openjdk-7-release-03b147.inc
index fdf3a89..0685729 100644
--- a/recipes-core/icedtea/openjdk-7-release-03b147.inc
+++ b/recipes-core/icedtea/openjdk-7-release-03b147.inc
@@ -96,7 +96,7 @@ OPENJDK_HEADLESS_PATCHES = " \
96 patches/icedtea-disable-sun.applet-for-tools-in-headless.patch \ 96 patches/icedtea-disable-sun.applet-for-tools-in-headless.patch \
97 " 97 "
98 98
99CLEAN_X11_DISTRIBUTION_PATCH = "${@base_contains('PACKAGECONFIG', 'x11', '', '${OPENJDK_HEADLESS_PATCHES}', d)}" 99CLEAN_X11_DISTRIBUTION_PATCH = "${@bb.utils.contains('PACKAGECONFIG', 'x11', '', '${OPENJDK_HEADLESS_PATCHES}', d)}"
100 100
101export DISTRIBUTION_PATCHES = " \ 101export DISTRIBUTION_PATCHES = " \
102 patches/icedtea-ecj-disable-compilation.patch \ 102 patches/icedtea-ecj-disable-compilation.patch \
diff --git a/recipes-core/openjdk/openjdk-8-common.inc b/recipes-core/openjdk/openjdk-8-common.inc
index ad35488..3206ec4 100644
--- a/recipes-core/openjdk/openjdk-8-common.inc
+++ b/recipes-core/openjdk/openjdk-8-common.inc
@@ -150,7 +150,7 @@ def jdk_configure_options(d):
150 150
151do_unpack[postfuncs] += "do_unpack_extract_submodules" 151do_unpack[postfuncs] += "do_unpack_extract_submodules"
152 152
153POST_CONFIGURE_CLEAN_X11 = "${@base_contains('PACKAGECONFIG', 'x11', '', 'rm -f jdk/src/solaris/classes/sun/awt/X11/*.java', d)}" 153POST_CONFIGURE_CLEAN_X11 = "${@bb.utils.contains('PACKAGECONFIG', 'x11', '', 'rm -f jdk/src/solaris/classes/sun/awt/X11/*.java', d)}"
154 154
155do_patch_openjdk8() { 155do_patch_openjdk8() {
156 olddir=`pwd` 156 olddir=`pwd`