@@ -214,6 +214,7 @@ source "package/input-event-daemon/Config.in"
source "package/input-tools/Config.in"
source "package/intel-microcode/Config.in"
source "package/iostat/Config.in"
+source "package/iucode-tool/Config.in"
source "package/irda-utils/Config.in"
source "package/kbd/Config.in"
source "package/lcdproc/Config.in"
new file mode 100644
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_IUCODE_TOOL
+ bool "iucode-tool"
+ depends on BR2_x86_64 || BR2_i386
+ select BR2_PACKAGE_INTEL_MICROCODE
+ help
+ Intel processor microcode tool
+
+ http://packages.debian.org/source/sid/iucode-tool
new file mode 100755
@@ -0,0 +1,23 @@
+#!/bin/sh
+#
+# Upload microcode into the processor.
+#
+
+microcode_file="/usr/share/misc/intel-microcode.dat"
+
+case "$1" in
+ start)
+ echo "Starting iucode-tool:"
+ /usr/sbin/iucode_tool -k $microcode_file
+ echo "done"
+ ;;
+ stop)
+ ;;
+ restart|reload)
+ ;;
+ *)
+ echo "Usage: $0 {start|stop|restart}"
+ exit 1
+esac
+
+exit $?
new file mode 100644
@@ -0,0 +1,20 @@
+#############################################################
+#
+# iucode-tool
+#
+#############################################################
+
+IUCODE_TOOL_VERSION = v0.8.3
+IUCODE_TOOL_SITE = git://anonscm.debian.org/users/hmh/iucode-tool.git
+IUCODE_TOOL_SITE_METHOD = git
+IUCODE_TOOL_AUTORECONF = YES
+IUCODE_TOOL_LICENSE = GPLv2+
+IUCODE_TOOL_LICENSE_FILES = COPYING
+
+define IUCODE_TOOL_INSTALL_INIT_SYSV
+ [ -f $(TARGET_DIR)/etc/init.d/S00iucode-tool ] || \
+ $(INSTALL) -D -m 0755 package/iucode-tool/S00iucode-tool \
+ $(TARGET_DIR)/etc/init.d/S00iucode-tool
+endef
+
+$(eval $(autotools-package))
Signed-off-by: Richard Braun <rbraun@sceen.net> --- package/Config.in | 1 + package/iucode-tool/Config.in | 8 ++++++++ package/iucode-tool/S00iucode-tool | 23 +++++++++++++++++++++++ package/iucode-tool/iucode-tool.mk | 20 ++++++++++++++++++++ 4 files changed, 52 insertions(+), 0 deletions(-) create mode 100644 package/iucode-tool/Config.in create mode 100755 package/iucode-tool/S00iucode-tool create mode 100644 package/iucode-tool/iucode-tool.mk