aboutsummaryrefslogtreecommitdiff
path: root/sys/modules
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1999-12-29 05:07:58 +0000
committerPeter Wemm <peter@FreeBSD.org>1999-12-29 05:07:58 +0000
commitc447342094276b4d604449bb776063c7b88c4992 (patch)
treeef56d86971063bc4ba98e49e723dab1d7ebf8a56 /sys/modules
parent664a31e4967a61ec61870f45adc2f1400617993e (diff)
Notes
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/linux/Makefile4
-rw-r--r--sys/modules/svr4/Makefile6
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/modules/linux/Makefile b/sys/modules/linux/Makefile
index 1e7a5ce3410d1..8ccccacfe7262 100644
--- a/sys/modules/linux/Makefile
+++ b/sys/modules/linux/Makefile
@@ -20,11 +20,11 @@ linux_assym.h: linux_genassym.o
genassym -o ${.TARGET} ${.ALLSRC}
linux_locore.o: linux_locore.s linux_assym.h
- ${CC} -c -x assembler-with-cpp -DLOCORE -DKERNEL ${CFLAGS} \
+ ${CC} -c -x assembler-with-cpp -DLOCORE -D_KERNEL ${CFLAGS} \
${.IMPSRC} -o ${.TARGET}
linux_genassym.o: linux_genassym.c linux.h @ machine
- ${CC} -c ${CFLAGS} -UKERNEL ${.IMPSRC}
+ ${CC} -c ${CFLAGS} -U_KERNEL ${.IMPSRC}
opt_compat.h:
echo "#define COMPAT_43 1" > opt_compat.h
diff --git a/sys/modules/svr4/Makefile b/sys/modules/svr4/Makefile
index 6c048c7b10776..7901455953a0a 100644
--- a/sys/modules/svr4/Makefile
+++ b/sys/modules/svr4/Makefile
@@ -10,7 +10,7 @@ SRCS= svr4_sysent.c svr4_sysvec.c opt_compat.h opt_global.h opt_vmpage.h \
OBJS= svr4_locore.o
NOMAN=1
MAN8= svr4.8
-CFLAGS+= -DKERNEL
+CFLAGS+= -D_KERNEL
MAINTAINER= newton@freebsd.org
EXPORT_SYMS=_svr4_mod
@@ -22,11 +22,11 @@ svr4_assym.h: svr4_genassym.o
genassym -o ${.TARGET} ${.ALLSRC}
svr4_locore.o: svr4_locore.s svr4_assym.h
- ${CC} -c -x assembler-with-cpp -DLOCORE -DKERNEL ${CFLAGS} \
+ ${CC} -c -x assembler-with-cpp -DLOCORE -D_KERNEL ${CFLAGS} \
${.IMPSRC} -o ${.TARGET}
svr4_genassym.o: svr4_genassym.c svr4.h @ machine
- ${CC} -c ${CFLAGS} -UKERNEL ${.IMPSRC}
+ ${CC} -c ${CFLAGS} -U_KERNEL ${.IMPSRC}
opt_compat.h:
echo "#define COMPAT_43 1" > opt_compat.h