From 1d071ce340d77e086e2d3ee85de9b68508fe1666 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Fri, 16 Mar 2018 13:33:42 +0000 Subject: [PATCH] Move assym.s to DPSRC in sgx module assym.s is only to be included by other .s files, and should not actually be assembled by itself. --- sys/modules/sgx/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/modules/sgx/Makefile b/sys/modules/sgx/Makefile index 7184949ba0bc..8448b12c35d4 100644 --- a/sys/modules/sgx/Makefile +++ b/sys/modules/sgx/Makefile @@ -3,8 +3,9 @@ .PATH: ${SRCTOP}/sys/amd64/sgx KMOD= sgx -SRCS= sgx.c sgxvar.h assym.s sgx_support.S +SRCS= sgx.c sgxvar.h sgx_support.S SRCS+= opt_compat.h opt_hwpmc_hooks.h opt_kstack_pages.h +DPSRCS= assym.s sgx_support.o: assym.s ${CC} -c -x assembler-with-cpp -DLOCORE ${CFLAGS} \