mirror of
https://github.com/hardkernel/linux.git
synced 2026-03-26 04:20:23 +09:00
ANDROID: fips140: use FIPS140_CFLAGS when compiling fips140-selftests.c
These flags are supposed to be used when building all source files for the module. Bug: 188620248 Fixes:b7397e89db("ANDROID: fips140: add power-up cryptographic self-tests") Change-Id: I41cacff040c8a8a0065dd3cfc537303f1ff18335 Signed-off-by: Eric Biggers <ebiggers@google.com> (cherry picked from commit422bc2feb7)
This commit is contained in:
@@ -237,6 +237,7 @@ fips140-objs := fips140-module.o fips140-selftests.o crypto-fips.a
|
||||
obj-m += fips140.o
|
||||
|
||||
CFLAGS_fips140-module.o += $(FIPS140_CFLAGS)
|
||||
CFLAGS_fips140-selftests.o += $(FIPS140_CFLAGS)
|
||||
|
||||
hostprogs-always-y := fips140_gen_hmac
|
||||
HOSTLDLIBS_fips140_gen_hmac := -lcrypto -lelf
|
||||
|
||||
Reference in New Issue
Block a user