aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2021-09-15 16:03:17 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2021-09-15 16:03:17 +0000
commit828f257277bd7418bbc0431bbd78569a2f609af1 (patch)
tree966eec9826053c6c0d4ae14a454a52639686e4c5
parent53b70c86d93c1e4d3c76f1282e94154e88780d7e (diff)
downloadsrc-828f257277bd7418bbc0431bbd78569a2f609af1.tar.gz
src-828f257277bd7418bbc0431bbd78569a2f609af1.zip
Remove nonexistent include path for arm64 crypto files.
Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D31932
-rw-r--r--sys/conf/files.arm644
-rw-r--r--sys/modules/armv8crypto/Makefile2
2 files changed, 2 insertions, 4 deletions
diff --git a/sys/conf/files.arm64 b/sys/conf/files.arm64
index bae23b17cc40..36dea68306f3 100644
--- a/sys/conf/files.arm64
+++ b/sys/conf/files.arm64
@@ -113,12 +113,12 @@ armv8_crypto_wrap.o optional armv8crypto \
clean "armv8_crypto_wrap.o"
aesv8-armx.o optional armv8crypto \
dependency "$S/crypto/openssl/aarch64/aesv8-armx.S" \
- compile-with "${CC} -c ${CFLAGS:C/^-O2$/-O3/:N-nostdinc:N-mgeneral-regs-only} -I$S/crypto/armv8/ -I$S/crypto/openssl/crypto ${WERROR} ${NO_WCAST_QUAL} -march=armv8-a+crypto ${.IMPSRC}" \
+ compile-with "${CC} -c ${CFLAGS:C/^-O2$/-O3/:N-nostdinc:N-mgeneral-regs-only} -I$S/crypto/armv8/ ${WERROR} ${NO_WCAST_QUAL} -march=armv8-a+crypto ${.IMPSRC}" \
no-implicit-rule \
clean "aesv8-armx.o"
ghashv8-armx.o optional armv8crypto \
dependency "$S/crypto/openssl/aarch64/ghashv8-armx.S" \
- compile-with "${CC} -c ${CFLAGS:C/^-O2$/-O3/:N-nostdinc:N-mgeneral-regs-only} -I$S/crypto/armv8/ -I$S/crypto/openssl/crypto ${WERROR} ${NO_WCAST_QUAL} -march=armv8-a+crypto ${.IMPSRC}" \
+ compile-with "${CC} -c ${CFLAGS:C/^-O2$/-O3/:N-nostdinc:N-mgeneral-regs-only} -I$S/crypto/armv8/ ${WERROR} ${NO_WCAST_QUAL} -march=armv8-a+crypto ${.IMPSRC}" \
no-implicit-rule \
clean "ghashv8-armx.o"
diff --git a/sys/modules/armv8crypto/Makefile b/sys/modules/armv8crypto/Makefile
index bd38fe039fc9..b252a72609be 100644
--- a/sys/modules/armv8crypto/Makefile
+++ b/sys/modules/armv8crypto/Makefile
@@ -20,7 +20,6 @@ armv8_crypto_wrap.o: armv8_crypto_wrap.c
aesv8-armx.o: aesv8-armx.S
${CC} -c ${CFLAGS:C/^-O2$/-O3/:N-nostdinc:N-mgeneral-regs-only} \
-I${SRCTOP}/sys/crypto/armv8 \
- -I${SRCTOP}/sys/crypto/openssl/crypto \
${WERROR} ${PROF} \
-march=armv8-a+crypto ${.IMPSRC}
${CTFCONVERT_CMD}
@@ -28,7 +27,6 @@ aesv8-armx.o: aesv8-armx.S
ghashv8-armx.o: ghashv8-armx.S
${CC} -c ${CFLAGS:C/^-O2$/-O3/:N-nostdinc:N-mgeneral-regs-only} \
-I${SRCTOP}/sys/crypto/armv8 \
- -I${SRCTOP}/sys/crypto/openssl/crypto \
${WERROR} ${PROF} \
-march=armv8-a+crypto ${.IMPSRC}
${CTFCONVERT_CMD}