mirror of
https://github.com/AngelAuraMC/angelauramc-openjdk-build.git
synced 2025-09-15 07:04:42 -04:00
[aarch32] build as client variant
This commit is contained in:
parent
7bee14ea91
commit
00cd21c744
@ -47,6 +47,7 @@ Based on http://openjdk.java.net/projects/mobile/android.html
|
||||
```
|
||||
export BUILD_FREETYPE_VERSION=[2.6.2/.../2.10.0] # default: 2.10.0
|
||||
export JDK_DEBUG_LEVEL=[release/fastdebug/debug] # default: release
|
||||
export JDK_VARIANT=[client/server] # default: client (aarch32), server (other architectures)
|
||||
./extractndk.sh
|
||||
./getlibs.sh
|
||||
./maketoolchain.sh
|
||||
|
11
buildjdk.sh
11
buildjdk.sh
@ -5,6 +5,15 @@ set -e
|
||||
if [ "$TARGET_JDK" == "arm" ]
|
||||
then
|
||||
export TARGET_JDK=aarch32
|
||||
if [ -z "$JDK_VARIANT"]
|
||||
then
|
||||
export JDK_VARIANT=client
|
||||
fi
|
||||
else
|
||||
if [ -z "$JDK_VARIANT"]
|
||||
then
|
||||
export JDK_VARIANT=server
|
||||
fi
|
||||
fi
|
||||
|
||||
sudo apt -y install systemtap-sdt-dev gcc-multilib g++-multilib libxtst-dev libasound2-dev libelf-dev libfontconfig1-dev libx11-dev
|
||||
@ -42,7 +51,7 @@ bash ./configure \
|
||||
--with-extra-ldflags="$LDFLAGS" \
|
||||
--enable-option-checking=fatal \
|
||||
--openjdk-target=$TARGET \
|
||||
--with-jdk-variant=normal \
|
||||
--with-jdk-variant=$JDK_VARIANT \
|
||||
--with-cups-include=$CUPS_DIR \
|
||||
--with-devkit=$TOOLCHAIN \
|
||||
--with-debug-level=$JDK_DEBUG_LEVEL \
|
||||
|
Loading…
x
Reference in New Issue
Block a user