openjdk-8: Workaround TOPDIR not getting expanded in configure.ac
PATCH 1/1 openjdk-8: Workaround TOPDIR not getting expanded in configure.ac
Somehow the TOPDIR environment doesn't get expanded in configure.ac. Suspecting a clash with OE's internal TOPDIR variable, I tried replacing it with JDKTOPDIR but that resulted in the same error.
| autoreconf: configure.ac: creating directory $TOPDIR/common/autoconf/build-aux | autoreconf: error: cannot create $TOPDIR/common/autoconf/build-aux: No such file or directory
The workaround implemented here is to replace $TOPDIR in the file by its assigned value ${S}. This makes the error go away and the native build succeed.
Signed-off-by Mike Looijmans <[email protected]>
--- recipes-core/openjdk/openjdk-8-common.inc | 1 + 1 file changed, 1 insertion(+)
recipes-core/openjdk/openjdk-8-common.inc +1 -0
@@ -28,6 +28,7 @@ SRC_URI = "\ do_configure_prepend () { export TOPDIR=${S} + sed -i 's#\$TOPDIR#${S}#g' ${S}/common/autoconf/configure.ac } do_unpack_extract_submodules () {
Signature · 1 line
2.17.1