diff options
author | grehan <grehan@FreeBSD.org> | 2011-05-24 15:39:34 +0000 |
---|---|---|
committer | grehan <grehan@FreeBSD.org> | 2011-05-24 15:39:34 +0000 |
commit | 31bc5dbbffce22454d760ecdba41585aaed6281b (patch) | |
tree | a24e88e247a8eedca803d65257068e14f16c0eb6 /sys/conf | |
parent | 949e126edfdb544c4b351ec5726c8dc3ff848dda (diff) | |
parent | b3769a4355d61333f6b11fd0ccac65cddb54a3a8 (diff) | |
download | FreeBSD-src-31bc5dbbffce22454d760ecdba41585aaed6281b.zip FreeBSD-src-31bc5dbbffce22454d760ecdba41585aaed6281b.tar.gz |
IFC @ r222256
Diffstat (limited to 'sys/conf')
-rw-r--r-- | sys/conf/files.i386 | 1 | ||||
-rw-r--r-- | sys/conf/kern.mk | 7 | ||||
-rw-r--r-- | sys/conf/kern.post.mk | 6 | ||||
-rw-r--r-- | sys/conf/kmod.mk | 3 | ||||
-rw-r--r-- | sys/conf/newvers.sh | 2 |
5 files changed, 10 insertions, 9 deletions
diff --git a/sys/conf/files.i386 b/sys/conf/files.i386 index f518bc9..4f0d0d0 100644 --- a/sys/conf/files.i386 +++ b/sys/conf/files.i386 @@ -171,6 +171,7 @@ dev/fdc/fdc_acpi.c optional fdc dev/fdc/fdc_isa.c optional fdc isa dev/fdc/fdc_pccard.c optional fdc pccard dev/fe/if_fe_isa.c optional fe isa +dev/glxiic/glxiic.c optional glxiic dev/glxsb/glxsb.c optional glxsb dev/glxsb/glxsb_hash.c optional glxsb dev/hptmv/entry.c optional hptmv diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk index 58ab6ee..a0a595f 100644 --- a/sys/conf/kern.mk +++ b/sys/conf/kern.mk @@ -1,15 +1,12 @@ # $FreeBSD$ # -# Warning flags for compiling the kernel and components of the kernel. +# Warning flags for compiling the kernel and components of the kernel: # -# Note that the newly added -Wcast-qual is responsible for generating -# most of the remaining warnings. Warnings introduced with -Wall will -# also pop up, but are easier to fix. CWARNFLAGS?= -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes \ -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual \ -Wundef -Wno-pointer-sign -fformat-extensions \ - -Wmissing-include-dirs + -Wmissing-include-dirs -fdiagnostics-show-option # # The following flags are next up for working on: # -Wextra diff --git a/sys/conf/kern.post.mk b/sys/conf/kern.post.mk index 80b1bc2..8cb36f9 100644 --- a/sys/conf/kern.post.mk +++ b/sys/conf/kern.post.mk @@ -227,7 +227,8 @@ kernel-install: .endif mkdir -p ${DESTDIR}${KODIR} ${INSTALL} -p -m 555 -o ${KMODOWN} -g ${KMODGRP} ${KERNEL_KO} ${DESTDIR}${KODIR} -.if defined(DEBUG) && !defined(INSTALL_NODEBUG) +.if defined(DEBUG) && !defined(INSTALL_NODEBUG) && \ + (defined(MK_KERNEL_SYMBOLS) && ${MK_KERNEL_SYMBOLS} != "no") ${INSTALL} -p -m 555 -o ${KMODOWN} -g ${KMODGRP} ${KERNEL_KO}.symbols ${DESTDIR}${KODIR} .endif .if defined(KERNEL_EXTRA_INSTALL) @@ -239,7 +240,8 @@ kernel-install: kernel-reinstall: @-chflags -R noschg ${DESTDIR}${KODIR} ${INSTALL} -p -m 555 -o ${KMODOWN} -g ${KMODGRP} ${KERNEL_KO} ${DESTDIR}${KODIR} -.if defined(DEBUG) && !defined(INSTALL_NODEBUG) +.if defined(DEBUG) && !defined(INSTALL_NODEBUG) && \ + (defined(MK_KERNEL_SYMBOLS) && ${MK_KERNEL_SYMBOLS} != "no") ${INSTALL} -p -m 555 -o ${KMODOWN} -g ${KMODGRP} ${KERNEL_KO}.symbols ${DESTDIR}${KODIR} .endif diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk index 6d22e41..36e0b9d 100644 --- a/sys/conf/kmod.mk +++ b/sys/conf/kmod.mk @@ -286,7 +286,8 @@ realinstall: _kmodinstall _kmodinstall: ${INSTALL} -o ${KMODOWN} -g ${KMODGRP} -m ${KMODMODE} \ ${_INSTALLFLAGS} ${PROG} ${DESTDIR}${KMODDIR} -.if defined(DEBUG_FLAGS) && !defined(INSTALL_NODEBUG) +.if defined(DEBUG_FLAGS) && !defined(INSTALL_NODEBUG) && \ + (defined(MK_KERNEL_SYMBOLS) && ${MK_KERNEL_SYMBOLS} != "no") ${INSTALL} -o ${KMODOWN} -g ${KMODGRP} -m ${KMODMODE} \ ${_INSTALLFLAGS} ${PROG}.symbols ${DESTDIR}${KMODDIR} .endif diff --git a/sys/conf/newvers.sh b/sys/conf/newvers.sh index 6fe0a63..9681c79 100644 --- a/sys/conf/newvers.sh +++ b/sys/conf/newvers.sh @@ -139,4 +139,4 @@ int osreldate = ${RELDATE}; char kern_ident[] = "${i}"; EOF -echo `expr ${v} + 1` > version +echo $((v + 1)) > version |