and remove non-present symbols that are now reported by kmod_syms.awk. Reviewed by: emaste Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D32878
23 lines
387 B
Makefile
23 lines
387 B
Makefile
# $Id: Makefile,v 1.6 2003/10/24 15:41:26 simokawa Exp $
|
|
# $FreeBSD$
|
|
|
|
.PATH: ${SRCTOP}/sys/dev/dcons
|
|
|
|
KMOD = dcons
|
|
SRCS = dcons.c dcons.h dcons_os.c dcons_os.h \
|
|
opt_dcons.h opt_kdb.h opt_ddb.h opt_gdb.h
|
|
|
|
.if !defined(KERNBUILDDIR)
|
|
opt_kdb.h:
|
|
echo "#define KDB 1" > $@
|
|
|
|
opt_ddb.h:
|
|
echo "#define DDB 1" > $@
|
|
.endif
|
|
|
|
CFLAGS+= -I${SRCTOP}/sys
|
|
|
|
EXPORT_SYMS= YES
|
|
|
|
.include <bsd.kmod.mk>
|