Fix internal crypto build with some configurations
crypto_internal.c requires both aes-internal-enc.o and aes-internal-dec.o, so make sure they get included in the build when using internal crypto.
This commit is contained in:
parent
ec8d20187d
commit
73d0ad78c8
2 changed files with 2 additions and 0 deletions
|
@ -472,6 +472,7 @@ endif
|
|||
ifeq ($(CONFIG_CRYPTO), internal)
|
||||
CFLAGS += -DCONFIG_INTERNAL_X509
|
||||
OBJS += ../src/crypto/crypto_internal.o
|
||||
NEED_AES_DEC=y
|
||||
CFLAGS += -DCONFIG_CRYPTO_INTERNAL
|
||||
ifdef CONFIG_INTERNAL_LIBTOMMATH
|
||||
CFLAGS += -DCONFIG_INTERNAL_LIBTOMMATH
|
||||
|
|
|
@ -823,6 +823,7 @@ ifeq ($(CONFIG_CRYPTO), internal)
|
|||
CFLAGS += -DCONFIG_INTERNAL_X509
|
||||
OBJS += ../src/crypto/crypto_internal.o
|
||||
OBJS_p += ../src/crypto/crypto_internal.o
|
||||
NEED_AES_ENC=y
|
||||
CFLAGS += -DCONFIG_CRYPTO_INTERNAL
|
||||
ifdef CONFIG_INTERNAL_LIBTOMMATH
|
||||
CFLAGS += -DCONFIG_INTERNAL_LIBTOMMATH
|
||||
|
|
Loading…
Reference in a new issue