summaryrefslogtreecommitdiffstats
path: root/build-toolchain
diff options
context:
space:
mode:
authorWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2016-01-29 01:21:43 +0100
committerWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2016-01-29 01:22:01 +0100
commit46b133c04103ff2e2d5c98710a1e1ec8dbc5efc5 (patch)
tree8837c812a736adead53c4103055ceb31e1c42c1a /build-toolchain
parent242966e407c5a275cb1233fc27842df68cbefac1 (diff)
downloadvendor_replicant-46b133c04103ff2e2d5c98710a1e1ec8dbc5efc5.zip
vendor_replicant-46b133c04103ff2e2d5c98710a1e1ec8dbc5efc5.tar.gz
vendor_replicant-46b133c04103ff2e2d5c98710a1e1ec8dbc5efc5.tar.bz2
toolchain: add jack/jill build
remove patch, commit is now included in prebuilt ndk Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
Diffstat (limited to 'build-toolchain')
-rwxr-xr-xbuild-toolchain38
1 files changed, 30 insertions, 8 deletions
diff --git a/build-toolchain b/build-toolchain
index 4893e11..67e7ba9 100755
--- a/build-toolchain
+++ b/build-toolchain
@@ -126,15 +126,37 @@ then
ln -s ../../../bionic/libc/include/stdatomic.h stdatomic.h
fi
+
+#############################
+# build jack/jill toolchain
+
+# first the simple lib
+cd ../../src/jack/simple
+mvn-debian clean package -Dmaven.test.skip=true
+cd ..
+
+# then jack
+ant clean dist
+
+# setup the jack/jill binary folder
+mkdir -p ../../jack_jill
+cp jack/etc/Android.mk.build ../../jack_jill/Android.mk
+cp dist/jack ../../jack_jill/
+chmod +x ../../jack_jill/jack
+cp dist/jack-admin ../../jack_jill/
+chmod +x ../../jack_jill/jack-admin
+cp dist/jack.jar ../../jack_jill/
+cp dist/jack-launcher.jar ../../jack_jill/
+
+# finally the jill.jar
+cd ../jill
+ant clean dist
+cp dist/jill.jar ../../jack_jill/
+
cd $BASEDIR
#TODO:
-# review other prebuilt tools from misc, tools, devtools and sdk
-# search for bin directories in external and remove binaries
-# build jack from source and rest of java toolchain (jack source has prebuilts, builds with ant dist)
-# add relocation_packer correctly as dependency
-
-# packages to install: gcc-arm-none-eabi, cmake, python-dev, swig, ant
-# apt-get build-dep gcc-4.9 binutils llvm-defaults
-# apply ndk patch
+# search for binaries in external and remove them
+# build manifest merger from source
+# jack source has prebuilts