#!/bin/bash level=${1?usage: $0 release/slowdebug} #crosscompiler=swgcc710-ali-cross crosscompiler=swgcc710-6a-cross # for c version (i.e. 9916) buildtag=sw1.1.0 updatever=212 level=${1?usage: $0 release/slowdebug} bash configure \ --openjdk-target=sw_64-unknown-linux-gnu \ --with-devkit=/usr/sw/$crosscompiler/usr/ \ --x-includes=/usr/sw/$crosscompiler/usr/include \ --x-libraries=/usr/sw/$crosscompiler/usr/lib \ --with-freetype-include=/usr/sw/$crosscompiler/usr/include/freetype2 \ --with-freetype-lib=/usr/sw/$crosscompiler/usr/lib/sw_64-linux-gnu \ --with-user-release-suffix=$buildtag \ --with-update-version=$updatever \ --disable-zip-debug-info \ --with-debug-level=$level \ --disable-ccache \ --enable-hotspot-test-in-build \ --with-conf-name=linux-sw64-normal-custom-$level-cross