source "package/hwdata/Config.in"
source "package/hwloc/Config.in"
source "package/i2c-tools/Config.in"
+ source "package/i7z/Config.in"
source "package/input-event-daemon/Config.in"
source "package/input-tools/Config.in"
source "package/intel-microcode/Config.in"
--- /dev/null
+config BR2_PACKAGE_I7Z
+ bool "i7z"
+ depends on BR2_i386 || BR2_x86_64
+ depends on BR2_TOOLCHAIN_HAS_THREADS
+ select BR2_PACKAGE_NCURSES
+ help
+ "A better i7 (and now i3, i5) reporting tool for Linux."
+
+ i7z can print out the C-states and temperature for i3, i5
+ and i7 based Core processors from Intel (including Nehalems,
+ Sandy Bridge and Ivy Bridge).
+
+ https://github.com/ajaiantilal/i7z
+
+comment "i7z needs a toolchain w/ threads"
+ depends on BR2_i386 || BR2_x86_64
+ depends on !BR2_TOOLCHAIN_HAS_THREADS
--- /dev/null
+# Locally computed:
+sha256 e127bddf850e7febd39cef2d2b13dca5fe19cc2a1bb1099d72b683be5d8bd1c0 i7z-5023138d7c35c4667c938b853e5ea89737334e92.tar.gz
--- /dev/null
+################################################################################
+#
+# i7z
+#
+################################################################################
+
+I7Z_VERSION = 5023138d7c35c4667c938b853e5ea89737334e92
+I7Z_SITE = $(call github,ajaiantilal,i7z,$(I7Z_VERSION))
+I7Z_LICENSE = GPLv2
+I7Z_LICENSE_FILES = COPYING
+I7Z_DEPENDENCIES = ncurses
+
+define I7Z_BUILD_CMDS
+ $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)
+endef
+
+define I7Z_INSTALL_TARGET_CMDS
+ $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) install \
+ DESTDIR="$(TARGET_DIR)"
+endef
+
+$(eval $(generic-package))