aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/efirt/Makefile
blob: c46484465b6876f98404b4ad38a043c6a9d28282 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
.PATH: ${SRCTOP}/sys/${MACHINE}/${MACHINE}
.PATH: ${SRCTOP}/sys/dev/efidev

KMOD=	efirt
SRCS=	efirt.c efirt_machdep.c efidev.c
SRCS+=	efirtc.c
SRCS+=	efirt_support.S
SRCS+=  device_if.h bus_if.h clock_if.h
DPSRCS+= assym.inc

.if ${MACHINE_CPUARCH} == "amd64"
SRCS+=	opt_acpi.h opt_hwpmc_hooks.h opt_kstack_pages.h
.endif

efirt_support.o:	efirt_support.S assym.inc
	${CC} -c -x assembler-with-cpp -DLOCORE ${CFLAGS} \
	    ${.IMPSRC} -o ${.TARGET}

EXPORT_SYMS=	YES

.include <bsd.kmod.mk>