浏览代码

package/ipmitool: add freeipmi optional dependency

freeipmi is an optional dependency which is enabled by default

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Fabrice Fontaine 3 年之前
父节点
当前提交
8f6b346a34
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7 0
      package/ipmitool/ipmitool.mk

+ 7 - 0
package/ipmitool/ipmitool.mk

@@ -19,6 +19,13 @@ IPMITOOL_CPE_ID_VENDOR = ipmitool_project
 # 0013-fru-sdr-Fix-id_string-buffer-overflows.patch
 IPMITOOL_IGNORE_CVES += CVE-2020-5208
 
+ifeq ($(BR2_PACKAGE_FREEIPMI),y)
+IPMITOOL_DEPENDENCIES += freeipmi
+IPMITOOL_CONF_OPTS += --enable-intf-free
+else
+IPMITOOL_CONF_OPTS += --disable-intf-free
+endif
+
 ifeq ($(BR2_PACKAGE_IPMITOOL_LANPLUS),y)
 IPMITOOL_DEPENDENCIES += openssl
 IPMITOOL_CONF_OPTS += --enable-intf-lanplus