Do a major clean-up of the BUSDMA architecture. A large number of
[dragonfly.git] / sys / dev / misc / dcons / dcons / Makefile
CommitLineData
6265f26a
HS
1# $Id: Makefile,v 1.6 2003/10/24 15:41:26 simokawa Exp $
2# $FreeBSD: src/sys/modules/dcons/Makefile,v 1.2 2004/07/13 09:37:49 simokawa Exp $
1f7ab7c9 3# $DragonFly: src/sys/dev/misc/dcons/dcons/Makefile,v 1.5 2006/10/25 20:55:54 dillon Exp $
6265f26a
HS
4
5.PATH: ${.CURDIR}/..
6
7KMOD = dcons
d8d65eca
HS
8SRCS = dcons.c dcons_os.c
9SRCS += dcons.h dcons_os.h opt_dcons.h opt_ddb.h opt_comconsole.h
1f7ab7c9 10SRCS += device_if.h bus_if.h
6265f26a 11
1b29ad66 12.if !defined(BUILDING_WITH_KERNEL)
6265f26a 13opt_ddb.h:
1b29ad66
SS
14 echo "#define DDB 1" > ${.TARGET}
15.endif
6265f26a
HS
16
17opt_comconsole.h:
1b29ad66 18 echo "#define ALT_BREAK_TO_DEBUGGER 1" > ${.TARGET}
6265f26a 19
6265f26a 20.include <bsd.kmod.mk>