aboutsummaryrefslogtreecommitdiff
path: root/sys/modules
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2018-09-02 21:37:05 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2018-09-02 21:37:05 +0000
commit50cd0be78f3e7fc069f5a06a4dc9aac35a4c0af0 (patch)
treeb4dd97e402be82e6732923105fd8cf33ff6d286e /sys/modules
parent1565fb29a78f0e70bd1dd4287ee7b87854131c1e (diff)
Notes
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/efirt/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/modules/efirt/Makefile b/sys/modules/efirt/Makefile
index 2613150db489..2e53336cf22d 100644
--- a/sys/modules/efirt/Makefile
+++ b/sys/modules/efirt/Makefile
@@ -8,4 +8,11 @@ SRCS= efirt.c efirt_machdep.c efidev.c
SRCS+= efirtc.c
SRCS+= device_if.h bus_if.h clock_if.h
+.if ${MACHINE_CPUARCH} == "amd64"
+SRCS+= efirt_support.S
+efirt_support.o: efirt_support.S assym.inc
+ ${CC} -c -x assembler-with-cpp -DLOCORE ${CFLAGS} \
+ ${.IMPSRC} -o ${.TARGET}
+.endif
+
.include <bsd.kmod.mk>