summaryrefslogtreecommitdiffstats
path: root/sys/i386/conf/XEN
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2014-03-25 22:08:31 +0000
committerimp <imp@FreeBSD.org>2014-03-25 22:08:31 +0000
commitbd031ca10c83a98ddff5518137ae075a066b02de (patch)
treef528d8c7af6c1650425c8b90fe6aab3932046b16 /sys/i386/conf/XEN
parentd452acf0c9230b88d3c6148863766c4db13024a5 (diff)
downloadFreeBSD-src-bd031ca10c83a98ddff5518137ae075a066b02de.zip
FreeBSD-src-bd031ca10c83a98ddff5518137ae075a066b02de.tar.gz
Rather than require a makeoptions DEBUG to get debug correct,
add it in kern.mk, but only if we're using clang. While this option is supported by both clang and gcc, in the future there may be changes to clang which change the defaults that require a tweak to build our kernel such that other tools in our tree will work. Set a good example by forcing -gdwarf-2 only for clang builds, and only if the user hasn't specified another dwarf level already. Update UPDATING to reflect the changed state of affairs. This also keeps us from having to update all the ARM kernels to add this, and also keeps us from in the future having to update all the MIPS kernels and is one less place the user will have to know to do something special for clang and one less thing developers will need to do when moving an architecture to clang. Reviewed by: ian@ MFC after: 1 week
Diffstat (limited to 'sys/i386/conf/XEN')
-rw-r--r--sys/i386/conf/XEN2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/conf/XEN b/sys/i386/conf/XEN
index f785c34..29939b4 100644
--- a/sys/i386/conf/XEN
+++ b/sys/i386/conf/XEN
@@ -6,7 +6,7 @@
cpu I686_CPU
ident XEN
-makeoptions DEBUG=-gdwarf-2 # Build kernel with gdb(1) debug symbols
+makeoptions DEBUG=-g
makeoptions WITHOUT_MODULES="aha ahb amd ctl cxgb dpt drm drm2 hptnr hptmv ida malo mps mwl rdma sound sym trm xfs"
options SCHED_ULE # ULE scheduler
OpenPOWER on IntegriCloud