3dd73c30d3
Added patches (17.0.12+7 and 21.0.4+7) to allow compilation without X11 support. 0003-autoconf-libraries-drop-the-need-for-X11-in-headless.patch is only needed for 21.0.4+7, 17.0.12+7 already has this commit: https://github.com/openjdk/jdk17u/commit/f97ec359ec688346956c29002edb28703d3ba032 Next to that, add a new option BR2_PACKAGE_OPENJDK_X11, to allow compilation with both head and headless support. Signed-off-by: Thomas Devoogdt <thomas.devoogdt@barco.com> [Thomas: split into two commits] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>