SAM3/4: Fix compile of sam_aes.c if CONFIG_CRYPTO_AES is defined. rom Max Nekludov
This commit is contained in:
parent
dc7bcb0c1d
commit
0d14befb88
@ -86,6 +86,10 @@ CHIP_CSRCS += sam_serial.c sam_start.c sam_timerisr.c
|
|||||||
|
|
||||||
# Configuration-dependent SAM3/4 files
|
# Configuration-dependent SAM3/4 files
|
||||||
|
|
||||||
|
ifeq ($(CONFIG_CRYPTO_AES),y)
|
||||||
|
CHIP_CSRCS += sam_aes.c
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_ARCH_CHIP_SAM4CM),y)
|
ifeq ($(CONFIG_ARCH_CHIP_SAM4CM),y)
|
||||||
CHIP_CSRCS += sam4cm_supc.c
|
CHIP_CSRCS += sam4cm_supc.c
|
||||||
endif
|
endif
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
config BCH_ENCRYPTION
|
config BCH_ENCRYPTION
|
||||||
bool "Enable encryption feature"
|
bool "Enable BCH encryption"
|
||||||
default n
|
default n
|
||||||
depends on CRYPTO_AES
|
depends on CRYPTO_AES
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user