[PATCH master 2/6] scripts: remove openssl dependency in multi_v7_defconfig

Ahmad Fatoum a.fatoum at pengutronix.de
Mon Jun 12 05:53:27 PDT 2023


The 32-bit rockchip support doesn't use the rkimage tool and instead
depends on mkimage to wrap the barebox binary. There's thus no need to
compile the rkimage utility for 32-bit barebox builds. This is a good
thing, because it removes the openssl dependency as the library is used
for sha256/sha512 calculation.

Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
 scripts/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/Kconfig b/scripts/Kconfig
index dcd5f32d1df1..26c6a3c19806 100644
--- a/scripts/Kconfig
+++ b/scripts/Kconfig
@@ -51,8 +51,8 @@ config STM32_IMAGE
 
 config RK_IMAGE
 	bool "Rockchip image tool" if COMPILE_HOST_TOOLS
-	depends on ARCH_ROCKCHIP || COMPILE_HOST_TOOLS
-	default y if ARCH_ROCKCHIP
+	depends on ARCH_ROCKCHIP_V8 || COMPILE_HOST_TOOLS
+	default y if ARCH_ROCKCHIP_V8
 	help
 	  This enables building the image creation tool for Rockchip SoCs
 
-- 
2.39.2




More information about the barebox mailing list