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} \