diff mbox series

wolfssl: libwolfsslcpu-crypto: add base-files dep

Message ID 20221017171928.3630376-1-cotequeiroz@gmail.com
State New
Headers show
Series wolfssl: libwolfsslcpu-crypto: add base-files dep | expand

Commit Message

Eneas U de Queiroz Oct. 17, 2022, 5:19 p.m. UTC
On aarch64, libwolfsslcpu-crypto preinst script needs base-files to get
the target architecture to check for CPU crypto support during offline
instalation.

While at it, fix indentation in Makefile.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
---
 package/libs/wolfssl/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/package/libs/wolfssl/Makefile b/package/libs/wolfssl/Makefile
index 08a1ca7401..a1bd340007 100644
--- a/package/libs/wolfssl/Makefile
+++ b/package/libs/wolfssl/Makefile
@@ -83,7 +83,7 @@  define Package/libwolfsslcpu-crypto
 $(call Package/libwolfssl/Default)
   TITLE:=wolfSSL library with AES CPU instructions
   PROVIDES:=libwolfssl libcyassl
-  DEPENDS:=@((aarch64||x86_64)&&(m||!TARGET_bcm27xx))
+  DEPENDS:=@((aarch64||x86_64)&&(m||!TARGET_bcm27xx)) +aarch64:base-files
   ABI_VERSION:=$(PKG_ABI_VERSION)
   VARIANT:=cpu-crypto
 endef
@@ -164,7 +164,7 @@  else ifdef CONFIG_aarch64
     Package/libwolfsslcpu-crypto/preinst=\
 	$(subst @@WOLFSSL_NOASM_REGEX@@,$(WOLFSSL_NOASM_REGEX),$(file <preinst.arm-ce))
 else ifdef CONFIG_TARGET_x86_64
-	CONFIGURE_ARGS += --enable-intelasm
+    CONFIGURE_ARGS += --enable-intelasm
 endif
 
 ifeq ($(CONFIG_WOLFSSL_HAS_OCSP),y)