summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/iucode-tool/Config.in1
-rw-r--r--package/iucode-tool/iucode-tool.mk4
2 files changed, 5 insertions, 0 deletions
diff --git a/package/iucode-tool/Config.in b/package/iucode-tool/Config.in
index 19e225411f..8f9035080d 100644
--- a/package/iucode-tool/Config.in
+++ b/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
diff --git a/package/iucode-tool/iucode-tool.mk b/package/iucode-tool/iucode-tool.mk
index 2d52b16e7f..3124c73c34 100644
--- a/package/iucode-tool/iucode-tool.mk
+++ b/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
OpenPOWER on IntegriCloud