summaryrefslogtreecommitdiffstats
path: root/sys/conf/kern.pre.mk
diff options
context:
space:
mode:
authortrhodes <trhodes@FreeBSD.org>2004-03-14 01:29:05 +0000
committertrhodes <trhodes@FreeBSD.org>2004-03-14 01:29:05 +0000
commit1ff837cfce7fe0bff2e61961547cb15b17a41b69 (patch)
treed2692851deefbf921d7362b66f4a9ed1daab2c0a /sys/conf/kern.pre.mk
parentdeef4b06daa12b66b70e4705d33e8d8f6a587f8c (diff)
downloadFreeBSD-src-1ff837cfce7fe0bff2e61961547cb15b17a41b69.zip
FreeBSD-src-1ff837cfce7fe0bff2e61961547cb15b17a41b69.tar.gz
Fix some style bugs in previous commit.
Fix 'broken' ifdefs. icc does not support profiling yet so remove unfinished code which was supposed to help. Submitted by: netchild (original version) Reviewed by: ru
Diffstat (limited to 'sys/conf/kern.pre.mk')
-rw-r--r--sys/conf/kern.pre.mk10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/conf/kern.pre.mk b/sys/conf/kern.pre.mk
index 4a786a5..89dc5f6 100644
--- a/sys/conf/kern.pre.mk
+++ b/sys/conf/kern.pre.mk
@@ -39,7 +39,7 @@ NOSTDINC= -nostdinc
INCLUDES= ${NOSTDINC} -I- ${INCLMAGIC} -I. -I$S
-# This hack lets us use the Intel ACPICA code without spamming a new
+# This hack lets us use the Intel ACPICA code without spamming a new
# include path into 100+ source files.
INCLUDES+= -I$S/contrib/dev/acpica
@@ -66,11 +66,11 @@ WERROR?= -Werror
ASM_CFLAGS= -x assembler-with-cpp -DLOCORE ${CFLAGS}
.if defined(PROFLEVEL) && ${PROFLEVEL} >= 1
-. if ${CC} == "icc"
-CFLAGS+= -DGPROF
-. else
+.if ${CC} == "icc"
+.error Profiling doesn't work with ICC yet.
+.else
CFLAGS+= -DGPROF -falign-functions=16
-. endif
+.endif
.if ${PROFLEVEL} >= 2
CFLAGS+= -DGPROF4 -DGUPROF
. if ${CC} == "icc"
OpenPOWER on IntegriCloud