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.
27 lines
565 B
Makefile
27 lines
565 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${SRCTOP}/sys/dev/le
|
|
|
|
KMOD= if_le
|
|
SRCS= am7990.c am79900.c ${if_le_cbus} ${if_le_isa} ${if_le_lebuffer}
|
|
SRCS+= ${if_le_ledma} if_le_pci.c lance.c ${lebuffer_sbus}
|
|
SRCS+= bus_if.h device_if.h ${isa_if} ${ofw_bus_if} pci_if.h
|
|
|
|
.if ${MACHINE_CPUARCH} == "i386"
|
|
.if ${MACHINE} == "pc98"
|
|
if_le_cbus= if_le_cbus.c
|
|
.else
|
|
if_le_isa= if_le_isa.c
|
|
.endif
|
|
isa_if= isa_if.h
|
|
.endif
|
|
|
|
.if ${MACHINE} == "sparc64"
|
|
if_le_lebuffer= if_le_lebuffer.c
|
|
if_le_ledma= if_le_ledma.c
|
|
lebuffer_sbus= lebuffer_sbus.c
|
|
ofw_bus_if= ofw_bus_if.h
|
|
.endif
|
|
|
|
.include <bsd.kmod.mk>
|