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+= efirt_support.S 13efirt_support.o: efirt_support.S assym.inc 14 ${CC} -c -x assembler-with-cpp -DLOCORE ${CFLAGS} \ 15 ${.IMPSRC} -o ${.TARGET} 16.endif 17 18.include <bsd.kmod.mk> 19