freebsd-dev/sys/modules/ep/Makefile
Konstantin Belousov abbfe9e5d1 Move i386/isa/elink.[hc] to dev/ep.
The ep(4) driver is the only consumer of the two functions from
elink.c.  I removed the standalone module as well, and most likely,
the module metadata is not needed anywhere, but this is for later
cleanup.

Discussed with:	imp, jhb
Sponsored by:	The FreeBSD Foundation
2017-12-30 11:42:49 +00:00

18 lines
306 B
Makefile

# $FreeBSD$
SYSDIR?=${SRCTOP}/sys
.include "${SYSDIR}/conf/kern.opts.mk"
.PATH: ${SYSDIR}/dev/ep
KMOD= if_ep
SRCS= if_ep.c
.if ${MACHINE_CPUARCH} == "i386"
SRCS+= elink.c
.endif
SRCS+= if_ep_pccard.c pccarddevs.h card_if.h
SRCS+= if_ep_isa.c isa_if.h
SRCS+= bus_if.h device_if.h
.include <bsd.kmod.mk>