Browse Source

iucode-tools: requires argp_standalone with uclibc toolchains

Fixes:
http://autobuild.buildroot.net/results/3fc/3fc0b3f356efdebae4f7597a16d0d67f8bc4b76d/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Gustavo Zacarias 11 years ago
parent
commit
feb7533173
2 changed files with 5 additions and 0 deletions
  1. 1 0
      package/iucode-tool/Config.in
  2. 4 0
      package/iucode-tool/iucode-tool.mk

+ 1 - 0
package/iucode-tool/Config.in

@@ -2,6 +2,7 @@ config BR2_PACKAGE_IUCODE_TOOL
 	bool "iucode-tool"
 	depends on BR2_x86_64 || BR2_i386
 	select BR2_PACKAGE_INTEL_MICROCODE
+	select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC
 	help
 	  Intel processor microcode tool
 

+ 4 - 0
package/iucode-tool/iucode-tool.mk

@@ -6,6 +6,10 @@
 
 IUCODE_TOOL_VERSION = v1.0.1
 IUCODE_TOOL_SITE = git://git.debian.org/users/hmh/iucode-tool.git
+ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y)
+IUCODE_TOOL_CONF_ENV = LIBS="-largp"
+IUCODE_TOOL_DEPENDENCIES = argp-standalone
+endif
 IUCODE_TOOL_AUTORECONF = YES
 IUCODE_TOOL_LICENSE = GPLv2+
 IUCODE_TOOL_LICENSE_FILES = COPYING