mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 05:55:44 +02: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 commit 422bc2feb7e3e800a6c75a25795c7786794b7f2d)
This commit is contained in:
parent
e5b14396f9
commit
52b70d491b
|
|
@ -237,6 +237,7 @@ fips140-objs := fips140-module.o fips140-selftests.o crypto-fips.a
|
||||||
obj-m += fips140.o
|
obj-m += fips140.o
|
||||||
|
|
||||||
CFLAGS_fips140-module.o += $(FIPS140_CFLAGS)
|
CFLAGS_fips140-module.o += $(FIPS140_CFLAGS)
|
||||||
|
CFLAGS_fips140-selftests.o += $(FIPS140_CFLAGS)
|
||||||
|
|
||||||
hostprogs-always-y := fips140_gen_hmac
|
hostprogs-always-y := fips140_gen_hmac
|
||||||
HOSTLDLIBS_fips140_gen_hmac := -lcrypto -lelf
|
HOSTLDLIBS_fips140_gen_hmac := -lcrypto -lelf
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user