diff options
author | Jens Rehsack <rehsack@gmail.com> | 2015-10-15 13:52:09 +0200 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2015-10-15 10:32:00 -0300 |
commit | b331dec1d8c18e48b39b3c9e5d0c547e066f1d15 (patch) | |
tree | fb78859b95ccb0bbdcbc708b64e6736e39519d7e /recipes-core/icedtea/openjdk-7-release-03b147.inc | |
parent | 1bbcc6313150358e5e527bd70e91632a0d420f3c (diff) | |
download | meta-java-b331dec1d8c18e48b39b3c9e5d0c547e066f1d15.tar.gz |
icedtea7-native: compiling without x11
Allow building icedtea7 without any X11 dependency.
This affects the native part only which is required to bootstrap openjdk-8-native
for cross-compiling openjdk-8, but should be adoptable for cross-compiled recipe
as well as for openjdk-6.
Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-core/icedtea/openjdk-7-release-03b147.inc')
-rw-r--r-- | recipes-core/icedtea/openjdk-7-release-03b147.inc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/recipes-core/icedtea/openjdk-7-release-03b147.inc b/recipes-core/icedtea/openjdk-7-release-03b147.inc index 01e7a3d..98266f7 100644 --- a/recipes-core/icedtea/openjdk-7-release-03b147.inc +++ b/recipes-core/icedtea/openjdk-7-release-03b147.inc | |||
@@ -82,8 +82,17 @@ OPENJDK_PATCHES = " \ | |||
82 | file://icedtea-flags.patch;apply=no \ | 82 | file://icedtea-flags.patch;apply=no \ |
83 | file://icedtea-openjdk-remove-currency-data-generation-expi.patch;apply=no \ | 83 | file://icedtea-openjdk-remove-currency-data-generation-expi.patch;apply=no \ |
84 | file://icedtea-change-to-gdb-debug-format.patch;apply=no \ | 84 | file://icedtea-change-to-gdb-debug-format.patch;apply=no \ |
85 | file://icedtea-disable-x11-in-headless.patch;apply=no \ | ||
86 | file://icedtea-disable-sun.applet-for-tools-in-headless.patch;apply=no \ | ||
85 | " | 87 | " |
86 | 88 | ||
89 | OPENJDK_HEADLESS_PATCHES = " \ | ||
90 | patches/icedtea-disable-x11-in-headless.patch \ | ||
91 | patches/icedtea-disable-sun.applet-for-tools-in-headless.patch \ | ||
92 | " | ||
93 | |||
94 | CLEAN_X11_DISTRIBUTION_PATCH = "${@base_contains('PACKAGECONFIG', 'x11', '', '${OPENJDK_HEADLESS_PATCHES}', d)}" | ||
95 | |||
87 | export DISTRIBUTION_PATCHES = " \ | 96 | export DISTRIBUTION_PATCHES = " \ |
88 | patches/icedtea-ecj-disable-compilation.patch \ | 97 | patches/icedtea-ecj-disable-compilation.patch \ |
89 | patches/icedtea-unbreak-float.patch \ | 98 | patches/icedtea-unbreak-float.patch \ |
@@ -93,4 +102,5 @@ export DISTRIBUTION_PATCHES = " \ | |||
93 | patches/icedtea-flags.patch \ | 102 | patches/icedtea-flags.patch \ |
94 | patches/icedtea-openjdk-remove-currency-data-generation-expi.patch \ | 103 | patches/icedtea-openjdk-remove-currency-data-generation-expi.patch \ |
95 | patches/icedtea-change-to-gdb-debug-format.patch \ | 104 | patches/icedtea-change-to-gdb-debug-format.patch \ |
105 | ${CLEAN_X11_DISTRIBUTION_PATCH} \ | ||
96 | " | 106 | " |