mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-30 12:25:10 +01:00
r314651: sys/modules: normalize .CURDIR-relative paths to SRCTOP This simplifies make output/logic Tested with: `cd sys/modules; make ALL_MODULES=` on amd64 r318439: Normalize .PATH on SRCTOP This will help Jenkins dedupe 9 warnings between the static build and the module build of ipsec(4). Missed in SRCTOP conversion in r314651. MFC with: r314651 r318440: Normalize SYSDIR on SRCTOP instead of .CURDIR This is being done to simplify pathing for CFLAGS and source files.
21 lines
369 B
Makefile
21 lines
369 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
|
|
|
|
.include <bsd.kmod.mk>
|