1# $FreeBSD$ 2 3.PATH: ${SRCTOP}/sys/${MACHINE}/${MACHINE} 4.PATH: ${SRCTOP}/sys/dev/efidev 5 6KMOD= efirt 7SRCS= efirt.c efirt_machdep.c efidev.c 8SRCS+= efirtc.c 9SRCS+= device_if.h bus_if.h clock_if.h 10 11.if ${MACHINE_CPUARCH} == "amd64" 12SRCS+= opt_hwpmc_hooks.h opt_kstack_pages.h 13SRCS+= efirt_support.S 14efirt_support.o: efirt_support.S assym.inc 15 ${CC} -c -x assembler-with-cpp -DLOCORE ${CFLAGS} \ 16 ${.IMPSRC} -o ${.TARGET} 17.endif 18 19.include <bsd.kmod.mk> 20