mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-31 04:45:39 +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.
30 lines
451 B
Makefile
30 lines
451 B
Makefile
# $FreeBSD$
|
|
|
|
SYSDIR?=${SRCTOP}/sys
|
|
.include "${SYSDIR}/conf/kern.opts.mk"
|
|
|
|
# Modules that include binary-only blobs of microcode should be selectable by
|
|
# MK_SOURCELESS_UCODE option (see below).
|
|
|
|
SUBDIR = \
|
|
drm \
|
|
i915 \
|
|
mach64 \
|
|
${_mga} \
|
|
${_r128} \
|
|
${_radeon} \
|
|
savage \
|
|
sis \
|
|
tdfx \
|
|
via
|
|
|
|
.if ${MK_SOURCELESS_UCODE} != "no"
|
|
_mga= mga
|
|
_r128= r128
|
|
.if ${MACHINE_CPUARCH} != "powerpc"
|
|
_radeon= radeon
|
|
.endif
|
|
.endif
|
|
|
|
.include <bsd.subdir.mk>
|