Skip to content

Commit

Permalink
openssl: fix powerpc & arc libatomic dependencies
Browse files Browse the repository at this point in the history
PowerPC CONFIG_ARCH is defined as powerpc, not ppc.  Fix that in the
DEPENDS condition.

Arc needs to be built with libatomic.  Change the OpenSSL configuration
file, and add it to the libatomic DEPENDS condition.

Fixes: 7e7e76a "openssl: bump to 3.0.8"
Signed-off-by: Eneas U de Queiroz <[email protected]>
  • Loading branch information
cotequeiroz committed Feb 22, 2023
1 parent 00c5276 commit 595509c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package/libs/openssl/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk

PKG_NAME:=openssl
PKG_VERSION:=3.0.8
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_USE_MIPS16:=0

PKG_BUILD_PARALLEL:=1
Expand Down Expand Up @@ -95,7 +95,7 @@ $(call Package/openssl/Default)
+OPENSSL_ENGINE_BUILTIN_AFALG:kmod-crypto-user \
+OPENSSL_ENGINE_BUILTIN_DEVCRYPTO:kmod-cryptodev \
+OPENSSL_ENGINE_BUILTIN_PADLOCK:kmod-crypto-hw-padlock \
+(arm||armeb||mips||mipsel||ppc):libatomic
+(arm||armeb||mips||mipsel||powerpc||arc):libatomic
TITLE+= (libraries)
ABI_VERSION:=$(firstword $(subst .,$(space),$(PKG_VERSION)))
MENU:=1
Expand Down
2 changes: 1 addition & 1 deletion package/libs/openssl/patches/110-openwrt_targets.patch
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Signed-off-by: Eneas U de Queiroz <[email protected]>
+ inherit_from => [ "linux-aarch64", "openwrt" ],
+ },
+ "linux-arc-openwrt" => {
+ inherit_from => [ "linux-generic32", "openwrt" ],
+ inherit_from => [ "linux-latomic", "openwrt" ],
+ },
+ "linux-arm-openwrt" => {
+ inherit_from => [ "linux-armv4", "openwrt" ],
Expand Down

0 comments on commit 595509c

Please sign in to comment.