mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-20 11:11:24 +00:00
c09808d0d6
Use MACHINE_CPUARCH in preference to MACHINE_ARCH. The former is the source code location of the machine, the latter the binary output. In general, we want to use MACHINE_CPUARCH instead of MACHINE_ARCH unless we're tesitng for a specific target. The isn't even moot for i386/amd64 where there's momemntum towards a MACHINE_CPUARCH == x86, although a specific cleanup for that likely would be needed...
27 lines
568 B
Makefile
27 lines
568 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../../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>
|