summaryrefslogtreecommitdiff
path: root/sys/arch/arm64/compile
diff options
context:
space:
mode:
authorPatrick Wildt <patrick@cvs.openbsd.org>2016-12-17 23:38:34 +0000
committerPatrick Wildt <patrick@cvs.openbsd.org>2016-12-17 23:38:34 +0000
commit56cd813366d59e8e6e4c07f3ce133115f2529cab (patch)
tree28478307f638ad0cb53f1217263530b56d3861d3 /sys/arch/arm64/compile
parentf0e1055b5527e087a9f52436912461538558d320 (diff)
Import of OpenBSD/arm64
This commit contains all the kernel files related to the OpenBSD/arm64 port. It is based on the PowerPC pmap, loongson, arm/armv7 code and FreeBSD aarch64 code. Hard work done by Dale Rahn.
Diffstat (limited to 'sys/arch/arm64/compile')
-rw-r--r--sys/arch/arm64/compile/GENERIC/Makefile1
-rw-r--r--sys/arch/arm64/compile/Makefile7
-rw-r--r--sys/arch/arm64/compile/Makefile.inc18
-rw-r--r--sys/arch/arm64/compile/RAMDISK/Makefile1
4 files changed, 27 insertions, 0 deletions
diff --git a/sys/arch/arm64/compile/GENERIC/Makefile b/sys/arch/arm64/compile/GENERIC/Makefile
new file mode 100644
index 00000000000..01b5f23410c
--- /dev/null
+++ b/sys/arch/arm64/compile/GENERIC/Makefile
@@ -0,0 +1 @@
+.include "../Makefile.inc"
diff --git a/sys/arch/arm64/compile/Makefile b/sys/arch/arm64/compile/Makefile
new file mode 100644
index 00000000000..37e48f8f5de
--- /dev/null
+++ b/sys/arch/arm64/compile/Makefile
@@ -0,0 +1,7 @@
+# $OpenBSD: Makefile,v 1.1 2016/12/17 23:38:33 patrick Exp $
+
+.if make(obj) || make(clean) || make(cleandir)
+SUBDIR!=find . -type d -maxdepth 1 \! \( -name . -o -name CVS \) | cut -b3-
+.endif
+
+.include <bsd.subdir.mk>
diff --git a/sys/arch/arm64/compile/Makefile.inc b/sys/arch/arm64/compile/Makefile.inc
new file mode 100644
index 00000000000..d9c886d0740
--- /dev/null
+++ b/sys/arch/arm64/compile/Makefile.inc
@@ -0,0 +1,18 @@
+SYSDIR != cd ${.CURDIR}/../../../..; pwd
+CONFDIR != cd ${.CURDIR}/../../conf; pwd
+
+.if ${.CURDIR} == ${.OBJDIR}
+.PHONY: config
+config:
+ @echo make obj required first >&2
+ @false
+.else
+.PHONY: config clean
+config:
+ config -b ${.OBJDIR} -s ${SYSDIR} ${CONFDIR}/${.CURDIR:T}
+.endif
+
+cleandir clean:
+
+.include <bsd.obj.mk>
+
diff --git a/sys/arch/arm64/compile/RAMDISK/Makefile b/sys/arch/arm64/compile/RAMDISK/Makefile
new file mode 100644
index 00000000000..01b5f23410c
--- /dev/null
+++ b/sys/arch/arm64/compile/RAMDISK/Makefile
@@ -0,0 +1 @@
+.include "../Makefile.inc"