aboutsummaryrefslogtreecommitdiff
path: root/sys/conf/Makefile.riscv
diff options
context:
space:
mode:
authorRuslan Bukin <br@FreeBSD.org>2016-01-29 15:12:31 +0000
committerRuslan Bukin <br@FreeBSD.org>2016-01-29 15:12:31 +0000
commit28029b68c01310fc5b3ac942ff4613523ffc1778 (patch)
treed98c0a7136d8931a08d5f93d66d8f7c5b3a2cd43 /sys/conf/Makefile.riscv
parentbf420ace0a5ebf0e737125511bbd8f94a4d29c1a (diff)
downloadsrc-28029b68c01310fc5b3ac942ff4613523ffc1778.tar.gz
src-28029b68c01310fc5b3ac942ff4613523ffc1778.zip
Welcome the RISC-V 64-bit kernel.
This is the final step required allowing to compile and to run RISC-V kernel and userland from HEAD. RISC-V is a completely open ISA that is freely available to academia and industry. Thanks to all the people involved! Special thanks to Andrew Turner, David Chisnall, Ed Maste, Konstantin Belousov, John Baldwin and Arun Thomas for their help. Thanks to Robert Watson for organizing this project. This project sponsored by UK Higher Education Innovation Fund (HEIF5) and DARPA CTSRD project at the University of Cambridge Computer Laboratory. FreeBSD/RISC-V project home: https://wiki.freebsd.org/riscv Reviewed by: andrew, emaste, kib Relnotes: Yes Sponsored by: DARPA, AFRL Sponsored by: HEIF5 Differential Revision: https://reviews.freebsd.org/D4982
Notes
Notes: svn path=/head/; revision=295041
Diffstat (limited to 'sys/conf/Makefile.riscv')
-rw-r--r--sys/conf/Makefile.riscv49
1 files changed, 49 insertions, 0 deletions
diff --git a/sys/conf/Makefile.riscv b/sys/conf/Makefile.riscv
new file mode 100644
index 000000000000..27338b470413
--- /dev/null
+++ b/sys/conf/Makefile.riscv
@@ -0,0 +1,49 @@
+# Makefile.riscv -- with config changes.
+# Copyright 1990 W. Jolitz
+# from: @(#)Makefile.i386 7.1 5/10/91
+# from FreeBSD: src/sys/conf/Makefile.i386,v 1.255 2002/02/20 23:35:49
+# $FreeBSD$
+#
+# Makefile for FreeBSD
+#
+# RISCVTODO: copy pasted from aarch64, needs to be
+# constructed from a machine description:
+# config machineid
+# Most changes should be made in the machine description
+# /sys/riscv/conf/``machineid''
+# after which you should do
+# config machineid
+# Generic makefile changes should be made in
+# /sys/conf/Makefile.riscv
+# after which config should be rerun for all machines.
+#
+
+# Which version of config(8) is required.
+%VERSREQ= 600012
+
+.if !defined(S)
+S= ../../..
+.endif
+.include "$S/conf/kern.pre.mk"
+
+INCLUDES+= -I$S/contrib/libfdt
+
+.if !empty(DDB_ENABLED)
+CFLAGS += -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
+.endif
+
+%BEFORE_DEPEND
+
+%OBJS
+
+%FILES.c
+
+%FILES.s
+
+%FILES.m
+
+%CLEAN
+
+%RULES
+
+.include "$S/conf/kern.post.mk"