2014-02-04 10:25:57 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# intel-microcode
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2017-10-07 13:02:09 +02:00
|
|
|
INTEL_MICROCODE_VERSION = 20170707
|
2014-02-04 10:25:57 +01:00
|
|
|
INTEL_MICROCODE_SOURCE = microcode-$(INTEL_MICROCODE_VERSION).tgz
|
2017-10-07 13:02:09 +02:00
|
|
|
INTEL_MICROCODE_SITE = http://downloadmirror.intel.com/26925/eng
|
2015-07-11 16:15:06 +02:00
|
|
|
INTEL_MICROCODE_STRIP_COMPONENTS = 0
|
2014-02-04 10:25:57 +01:00
|
|
|
INTEL_MICROCODE_LICENSE = PROPRIETARY
|
|
|
|
INTEL_MICROCODE_LICENSE_FILES = license.txt
|
|
|
|
INTEL_MICROCODE_REDISTRIBUTE = NO
|
|
|
|
|
2015-07-11 16:15:06 +02:00
|
|
|
define INTEL_MICROCODE_EXTRACT_LICENSE
|
2014-02-04 10:25:57 +01:00
|
|
|
head -n 33 $(@D)/microcode.dat > $(@D)/license.txt
|
|
|
|
endef
|
|
|
|
|
2015-07-11 16:15:06 +02:00
|
|
|
INTEL_MICROCODE_POST_EXTRACT_HOOKS += INTEL_MICROCODE_EXTRACT_LICENSE
|
|
|
|
|
2014-02-04 10:25:57 +01:00
|
|
|
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))
|