opnsense-src/sys/modules/efirt/Makefile
John Baldwin 856d316799 arm64: Hook up efi_rt_arch_call in efirt.ko
Note that this requires marking efi_rt_fault as a non-preemptible
local symbol.

Co-authored-by: Jessica Clarke <jrtc27@FreeBSD.org>
Reviewed by:	imp, andrew
Obtained from:	CheriBSD
Fixes:		d7f930b80e ("arm64: Implement efi_rt_arch_call")
Differential Revision:	https://reviews.freebsd.org/D48715
2025-02-05 09:50:15 -05:00

21 lines
480 B
Makefile

.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_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>