[Buildroot] [git commit branch/2022.02.x] package/ipmiutil: drop dead code

Peter Korsgaard peter at korsgaard.com
Sat Apr 9 10:29:14 UTC 2022


commit: https://git.buildroot.net/buildroot/commit/?id=422d263a71d943944f469db3c2ae8827337cd0bf
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x

ipmiutil depends on dynamic library since commit
670095b4739c898a8f270b003ee19294206d91f6 so test on BR2_STATIC_LIBS
added by commit 9f31cd14d01e306e6475b750c30554043c57491a is not needed
anymore

Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
(cherry picked from commit cdc2a52a0fd619ee9762656c2ff8f84418a85ea1)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/ipmiutil/ipmiutil.mk | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/package/ipmiutil/ipmiutil.mk b/package/ipmiutil/ipmiutil.mk
index 4c9de26583..97a644e314 100644
--- a/package/ipmiutil/ipmiutil.mk
+++ b/package/ipmiutil/ipmiutil.mk
@@ -17,8 +17,7 @@ define IPMIUTIL_TOUCH_CONFIG_H_IN
 endef
 IPMIUTIL_PRE_CONFIGURE_HOOKS += IPMIUTIL_TOUCH_CONFIG_H_IN
 
-# forgets to link against libcrypto dependencies breaking static link
-ifeq ($(BR2_PACKAGE_OPENSSL)x$(BR2_STATIC_LIBS),yx)
+ifeq ($(BR2_PACKAGE_OPENSSL),y)
 # tests against distro libcrypto so it might get a false positive when
 # the openssl version is old, so force it off
 # SKIP_MD2 can be used only if ALLOW_GNU is defined.



More information about the buildroot mailing list