aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/dcons
diff options
context:
space:
mode:
authorYaroslav Tykhiy <ytykhiy@gmail.com>2005-10-14 23:30:17 +0000
committerYaroslav Tykhiy <ytykhiy@gmail.com>2005-10-14 23:30:17 +0000
commit822923447e454b30d310cb46903c9ddeca9f0a7a (patch)
tree40653d874a438a3202bb62dd66566bfd5b1386c1 /sys/modules/dcons
parent10d645b7e5a073fc2d4c2bd7472966b4381caf7c (diff)
Notes
Diffstat (limited to 'sys/modules/dcons')
-rw-r--r--sys/modules/dcons/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/modules/dcons/Makefile b/sys/modules/dcons/Makefile
index 555dd688709f5..e430a6573614a 100644
--- a/sys/modules/dcons/Makefile
+++ b/sys/modules/dcons/Makefile
@@ -7,11 +7,13 @@ KMOD = dcons
SRCS = dcons.c dcons.h dcons_os.c dcons_os.h \
opt_dcons.h opt_ddb.h opt_comconsole.h
+.if !defined(KERNBUILDDIR)
opt_ddb.h:
echo "#define KDB 1" > $@
opt_comconsole.h:
echo "#define ALT_BREAK_TO_DEBUGGER 1" > $@
+.endif
CFLAGS+= -I${.CURDIR}/../..