mbedtls: drop redundant cflags hack
mbedtls will now automatically append '+crypto' flag when needed. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
@@ -143,7 +143,7 @@ comment "Build Options - unselect features to reduce binary size"
|
||||
config MBEDTLS_AESCE_C
|
||||
bool "MBEDTLS_AESCE_C"
|
||||
default y
|
||||
depends on aarch64 && !TARGET_bcm27xx
|
||||
depends on aarch64 && !TARGET_bcm27xx_bcm2710 && !TARGET_bcm27xx_bcm2711
|
||||
|
||||
config MBEDTLS_CIPHER_MODE_OFB
|
||||
bool "MBEDTLS_CIPHER_MODE_OFB"
|
||||
|
||||
@@ -132,9 +132,6 @@ CSR generation (gen_key, cert_req)
|
||||
endef
|
||||
|
||||
TARGET_CFLAGS := $(filter-out -O%,$(TARGET_CFLAGS))
|
||||
ifneq ($(CONFIG_MBEDTLS_AESCE_C),)
|
||||
TARGET_CFLAGS := $(filter-out -march=%,$(TARGET_CFLAGS)) -march=armv8-a+crypto
|
||||
endif
|
||||
|
||||
CMAKE_OPTIONS += \
|
||||
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
|
||||
|
||||
Reference in New Issue
Block a user