kumquat-buildroot/package/intel-microcode/intel-microcode.mk
Bernd Kuhls f833d5cfbf package/intel-microcode: bump version to 20150107, add hash
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-01-25 15:00:30 +01:00

27 lines
887 B
Makefile

################################################################################
#
# intel-microcode
#
################################################################################
INTEL_MICROCODE_VERSION = 20150107
INTEL_MICROCODE_SOURCE = microcode-$(INTEL_MICROCODE_VERSION).tgz
INTEL_MICROCODE_SITE = http://downloadmirror.intel.com/24616/eng
INTEL_MICROCODE_LICENSE = PROPRIETARY
INTEL_MICROCODE_LICENSE_FILES = license.txt
INTEL_MICROCODE_REDISTRIBUTE = NO
# N.B. Don't strip any path components during extraction.
define INTEL_MICROCODE_EXTRACT_CMDS
gzip -d -c $(DL_DIR)/$(INTEL_MICROCODE_SOURCE) | \
tar --strip-components=0 -C $(@D) -xf -
head -n 33 $(@D)/microcode.dat > $(@D)/license.txt
endef
define INTEL_MICROCODE_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 0644 $(@D)/microcode.dat \
$(TARGET_DIR)/usr/share/misc/intel-microcode.dat
endef
$(eval $(generic-package))