kumquat-buildroot/package/intel-microcode/intel-microcode.mk
Luca Ceresoli 570566ddc5 intel-microcode: use <PKG>_STRIP_COMPONENTS
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-07-12 00:51:19 +02:00

27 lines
847 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_STRIP_COMPONENTS = 0
INTEL_MICROCODE_LICENSE = PROPRIETARY
INTEL_MICROCODE_LICENSE_FILES = license.txt
INTEL_MICROCODE_REDISTRIBUTE = NO
define INTEL_MICROCODE_EXTRACT_LICENSE
head -n 33 $(@D)/microcode.dat > $(@D)/license.txt
endef
INTEL_MICROCODE_POST_EXTRACT_HOOKS += INTEL_MICROCODE_EXTRACT_LICENSE
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))