aboutsummaryrefslogtreecommitdiff
path: root/aarch64/configfrag.ac
diff options
context:
space:
mode:
authorSergey Bugaev <bugaevc@gmail.com>2024-04-15 12:01:42 +0300
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2024-04-16 09:37:03 +0900
commitb23e7718dd9942b27edfac9aee05f737d0e6922e (patch)
tree7ae65de44b1a513430163342f229b0aa4b541e52 /aarch64/configfrag.ac
parentb792f1eb08e34db89ac200a86ea7e6859a6b0668 (diff)
downloadgnumach-b23e7718dd9942b27edfac9aee05f737d0e6922e.tar.gz
gnumach-b23e7718dd9942b27edfac9aee05f737d0e6922e.tar.bz2
gnumach-b23e7718dd9942b27edfac9aee05f737d0e6922e.zip
aarch64: Add the basics
This adds "aarch64" host support to the build system, along with some uninteresting installed headers. The empty aarch64/aarch64/ast.h header is also added to create the aarch64/aarch64/ directory (due to Git peculiarity). With this, it should be possible to run 'configure --host=aarch64-gnu' and 'make install-data' successfully. Message-ID: <20240415090149.38358-3-bugaevc@gmail.com>
Diffstat (limited to 'aarch64/configfrag.ac')
-rw-r--r--aarch64/configfrag.ac31
1 files changed, 31 insertions, 0 deletions
diff --git a/aarch64/configfrag.ac b/aarch64/configfrag.ac
new file mode 100644
index 00000000..03f980bf
--- /dev/null
+++ b/aarch64/configfrag.ac
@@ -0,0 +1,31 @@
+dnl Configure fragment for aarch64.
+
+dnl Copyright (C) 2024 Free Software Foundation, Inc.
+
+dnl Permission to use, copy, modify and distribute this software and its
+dnl documentation is hereby granted, provided that both the copyright
+dnl notice and this permission notice appear in all copies of the
+dnl software, derivative works or modified versions, and any portions
+dnl thereof, and that both notices appear in supporting documentation.
+dnl
+dnl THE FREE SOFTWARE FOUNDATION ALLOWS FREE USE OF THIS SOFTWARE IN ITS
+dnl "AS IS" CONDITION. THE FREE SOFTWARE FOUNDATION DISCLAIMS ANY
+dnl LIABILITY OF ANY KIND FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE
+dnl USE OF THIS SOFTWARE.
+
+[case $host_cpu in
+ aarch64)]
+ AM_CONDITIONAL([HOST_aarch64], [true])
+
+ [
+ # Does the architecture provide machine-specific interfaces?
+ mach_machine_routines=1
+ ;;
+ *)]
+ AM_CONDITIONAL([HOST_aarch64], [false])
+ [;;
+esac]
+
+dnl Local Variables:
+dnl mode: autoconf
+dnl End: