summaryrefslogtreecommitdiffstats
path: root/make/build-newt.xml
diff options
context:
space:
mode:
authorAndreas Schwab <[email protected]>2023-05-24 14:28:04 +0200
committerAndreas Schwab <[email protected]>2023-05-24 14:28:29 +0200
commit00f72bac04138781c99c5d10229fb21d1406c9c2 (patch)
tree5c77189c70abb8d2186398456ae2420ddbaa4baa /make/build-newt.xml
parentaea2254d1226b9471893113bde2bf1e54c24b14c (diff)
Add support for riscv64 architecture
Diffstat (limited to 'make/build-newt.xml')
-rw-r--r--make/build-newt.xml12
1 files changed, 11 insertions, 1 deletions
diff --git a/make/build-newt.xml b/make/build-newt.xml
index 15db39653..3927c730b 100644
--- a/make/build-newt.xml
+++ b/make/build-newt.xml
@@ -783,6 +783,16 @@
<property name="linker.cfg.id.drm" value="linker.cfg.linux.newt.drm"/>
</target>
+ <target name="c.configure.linux.riscv64" if="isLinuxRiscV64">
+ <echo message="Linux.riscv64" />
+ <property name="compiler.cfg.id" value="compiler.cfg.linux" />
+ <condition property="linker.cfg.id.oswin" value="linker.cfg.linux.newt.x11"
+ else="linker.cfg.linux">
+ <isset property="isX11" />
+ </condition>
+ <echo message="linker.cfg.id.oswin ${linker.cfg.id.oswin}" />
+ </target>
+
<target name="c.configure.linux.s390" if="isLinuxs390">
<echo message="Linux.S390" />
<property name="compiler.cfg.id" value="compiler.cfg.linux" />
@@ -810,7 +820,7 @@
<property name="linker.cfg.id.drm" value="linker.cfg.linux.newt.drm"/>
</target>
- <target name="c.configure.linux" depends="c.configure.linux.x86,c.configure.linux.amd64,c.configure.linux.armv6,c.configure.linux.aarch64,c.configure.linux.hppa,c.configure.linux.mips,c.configure.linux.mipsel,c.configure.linux.ppc,c.configure.linux.s390,c.configure.linux.sparc,c.configure.linux.ia64,c.configure.x11" if="isLinux"/>
+ <target name="c.configure.linux" depends="c.configure.linux.x86,c.configure.linux.amd64,c.configure.linux.armv6,c.configure.linux.aarch64,c.configure.linux.hppa,c.configure.linux.mips,c.configure.linux.mipsel,c.configure.linux.ppc,c.configure.linux.riscv64,c.configure.linux.s390,c.configure.linux.sparc,c.configure.linux.ia64,c.configure.x11" if="isLinux"/>
<target name="c.configure.android" if="isAndroid">
<echo message="Android" />