summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authorgjb <gjb@FreeBSD.org>2016-03-10 21:16:01 +0000
committergjb <gjb@FreeBSD.org>2016-03-10 21:16:01 +0000
commit1c7e318a9a31cae130bd5b2de01d93e7800f66ff (patch)
tree5abb86d0e160314526bb716fff070a6708d61844 /sys/conf
parent8c3e466633f443f8af1bf868eb74c53b39b63fb8 (diff)
parent03f8f8e39672316bbe0cad522f381fab54de0b6e (diff)
downloadFreeBSD-src-1c7e318a9a31cae130bd5b2de01d93e7800f66ff.zip
FreeBSD-src-1c7e318a9a31cae130bd5b2de01d93e7800f66ff.tar.gz
MFH
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/Makefile.riscv2
-rw-r--r--sys/conf/files.riscv4
-rw-r--r--sys/conf/options.mips5
3 files changed, 10 insertions, 1 deletions
diff --git a/sys/conf/Makefile.riscv b/sys/conf/Makefile.riscv
index 27338b4..8721b53 100644
--- a/sys/conf/Makefile.riscv
+++ b/sys/conf/Makefile.riscv
@@ -29,7 +29,7 @@ S= ../../..
INCLUDES+= -I$S/contrib/libfdt
.if !empty(DDB_ENABLED)
-CFLAGS += -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
+CFLAGS += -fno-omit-frame-pointer -fno-optimize-sibling-calls
.endif
%BEFORE_DEPEND
diff --git a/sys/conf/files.riscv b/sys/conf/files.riscv
index cfce99b..7b1a040 100644
--- a/sys/conf/files.riscv
+++ b/sys/conf/files.riscv
@@ -23,6 +23,9 @@ riscv/riscv/clock.c standard
riscv/riscv/copyinout.S standard
riscv/riscv/copystr.c standard
riscv/riscv/cpufunc_asm.S standard
+riscv/riscv/db_disasm.c optional ddb
+riscv/riscv/db_interface.c optional ddb
+riscv/riscv/db_trace.c optional ddb
riscv/riscv/devmap.c standard
riscv/riscv/dump_machdep.c standard
riscv/riscv/elf_machdep.c standard
@@ -44,4 +47,5 @@ riscv/riscv/trap.c standard
riscv/riscv/timer.c standard
riscv/riscv/uio_machdep.c standard
riscv/riscv/uma_machdep.c standard
+riscv/riscv/unwind.c optional ddb | kdtrace_hooks | stack
riscv/riscv/vm_machdep.c standard
diff --git a/sys/conf/options.mips b/sys/conf/options.mips
index e85f5b1..69708cc 100644
--- a/sys/conf/options.mips
+++ b/sys/conf/options.mips
@@ -140,3 +140,8 @@ RT305X_USE_UART opt_rt305x.h
# Options that affect the pmap.
#
PV_STATS opt_pmap.h
+
+#
+# Options to use INTRNG code
+#
+MIPS_INTRNG opt_global.h
OpenPOWER on IntegriCloud