Skip to content

Commit d6d4e9d

Browse files
committed
Add build shell scripts
1 parent 4bafc8e commit d6d4e9d

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

build/build.sh

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/bin/bash
2+
cd /build/jdk9u
3+
bash ./common/autoconf/autogen.sh
4+
bash ./configure --with-boot-jdk=/opt/jdkcross/jdk-9.0.1 \
5+
--openjdk-target=arm-linux-gnueabi \
6+
--with-abi-profile=arm-ev3 \
7+
--enable-headless-only \
8+
--with-freetype-lib=/usr/lib/arm-linux-gnueabi \
9+
--with-freetype-include=/usr/include \
10+
--with-jvm-variants=client \
11+
--with-extra-cflags="-Wno-maybe-uninitialized -D__SOFTFP__" \
12+
--with-version-string="9.0.1" \
13+
AR="arm-linux-gnueabi-gcc-ar" \
14+
NM="arm-linux-gnueabi-gcc-nm" \
15+
BUILD_AR="gcc-ar" \
16+
BUILD_NM="gcc-nm"
17+
make clean images

build/fetch.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/usr/bin/env bash
2+
cd /build
3+
hg clone http://hg.openjdk.java.net/jdk-updates/jdk9u/
4+
cd jdk9u
5+
bash ./get_source.sh
6+
patch -p1 < /opt/jdkcross/ev3.patch
7+
patch -p1 -d hotspot < /opt/jdkcross/float.patch
8+

0 commit comments

Comments
 (0)