summaryrefslogtreecommitdiffstats
path: root/make/jogamp-env.xml
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2019-04-08 03:36:31 +0200
committerSven Gothel <[email protected]>2019-04-08 03:36:31 +0200
commit0bd5136c2df8407cea7b0dcc7fb1e62432ba18bb (patch)
tree99b96af85460ad860d85ab7dcc5af40c25555798 /make/jogamp-env.xml
parent7bbb0822608fa9c832588c35874ead558a479322 (diff)
Bug 1190: Define TARGET_PLATFORM_SYSROOT TARGET_PLATFORM_USRROOT TARGET_PLATFORM_USRLIBS for crosscompilation
Android Crosscompilation Usage: - TARGET_PLATFORM_ROOT -> TARGET_PLATFORM_SYSROOT General - TARGET_PLATFORM_SYSROOT Crosscompiler and system specified 'sysroot' (as in gcc --print-sysroot) - TARGET_PLATFORM_USRROOT Additional optional user headers and libraries for target - TARGET_PLATFORM_USRLIBS Actual location of target user libraries within TARGET_PLATFORM_USRROOT - TARGET_JAVA_LIBS Actual location of the Java libraries within TARGET_PLATFORM_USRROOT
Diffstat (limited to 'make/jogamp-env.xml')
-rwxr-xr-xmake/jogamp-env.xml18
1 files changed, 18 insertions, 0 deletions
diff --git a/make/jogamp-env.xml b/make/jogamp-env.xml
index 384903b..95d277e 100755
--- a/make/jogamp-env.xml
+++ b/make/jogamp-env.xml
@@ -17,6 +17,12 @@
Current GlueGen code utilizes some minor Java 1.6 features
which could be replaced, however it's not desired at this point
since we have no mode hard Java 1.5 constraints.
+
+ For crosscompilation the following shall be set:
+ - TARGET_PLATFORM_SYSROOT Crosscompiler and system specified 'sysroot' (as in gcc \-\-print-sysroot)
+ - TARGET_PLATFORM_USRROOT Additional optional user headers and libraries for target
+ - TARGET_PLATFORM_USRLIBS Actual location of target user libraries within TARGET_PLATFORM_USRROOT
+ - TARGET_JAVA_LIBS Actual location of the Java libraries within TARGET_PLATFORM_USRROOT
-->
<project name="jogamp-env" basedir=".">
@@ -283,6 +289,18 @@
</condition>
<echo message="macosx.sdkroot ${macosx.sdkroot}"/>
+ <condition property="TARGET_PLATFORM_SYSROOT" value="${env.TARGET_PLATFORM_SYSROOT}">
+ <not>
+ <equals arg1="${env.TARGET_PLATFORM_SYSROOT}" arg2="$${env.TARGET_PLATFORM_SYSROOT}" casesensitive="true" />
+ </not>
+ </condition>
+ <condition property="TARGET_PLATFORM_USRROOT" value="${env.TARGET_PLATFORM_USRROOT}">
+ <not>
+ <equals arg1="${env.TARGET_PLATFORM_USRROOT}" arg2="$${env.TARGET_PLATFORM_USRROOT}" casesensitive="true" />
+ </not>
+ </condition>
+ <echo message='TARGET_PLATFORM_SYSROOT ${TARGET_PLATFORM_SYSROOT}'/>
+ <echo message='TARGET_PLATFORM_USRROOT ${TARGET_PLATFORM_USRROOT}'/>
</target>
</project>