aboutsummaryrefslogtreecommitdiff
path: root/aarch64/Makefrag.am
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/Makefrag.am
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/Makefrag.am')
-rw-r--r--aarch64/Makefrag.am35
1 files changed, 35 insertions, 0 deletions
diff --git a/aarch64/Makefrag.am b/aarch64/Makefrag.am
new file mode 100644
index 00000000..15ce3f49
--- /dev/null
+++ b/aarch64/Makefrag.am
@@ -0,0 +1,35 @@
+# Makefile fragment for aarch64.
+
+# Copyright (C) 2023-2024 Free Software Foundation, Inc.
+
+# Permission to use, copy, modify and distribute this software and its
+# documentation is hereby granted, provided that both the copyright
+# notice and this permission notice appear in all copies of the
+# software, derivative works or modified versions, and any portions
+# thereof, and that both notices appear in supporting documentation.
+#
+# THE FREE SOFTWARE FOUNDATION ALLOWS FREE USE OF THIS SOFTWARE IN ITS
+# "AS IS" CONDITION. THE FREE SOFTWARE FOUNDATION DISCLAIMS ANY
+# LIABILITY OF ANY KIND FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE
+# USE OF THIS SOFTWARE.
+
+#
+# Building a distribution.
+#
+EXTRA_DIST += \
+ aarch64/include/mach/aarch64
+
+if HOST_aarch64
+
+#
+# Installation.
+#
+
+include_mach_aarch64dir = $(includedir)/mach/aarch64
+include_mach_aarch64_HEADERS = \
+ aarch64/include/mach/aarch64/boolean.h \
+ aarch64/include/mach/aarch64/kern_return.h \
+ aarch64/include/mach/aarch64/machine_types.defs \
+ aarch64/include/mach/aarch64/vm_types.h
+
+endif # HOST_aarch64