logrotate: enable selinux support
[buildroot-gz.git] / package / intel-microcode / intel-microcode.mk
blobaefa99a1c96ee2aa1c5a04b2843a29e9f08dd2d1
1 ################################################################################
3 # intel-microcode
5 ################################################################################
7 INTEL_MICROCODE_VERSION = 20151106
8 INTEL_MICROCODE_SOURCE = microcode-$(INTEL_MICROCODE_VERSION).tgz
9 INTEL_MICROCODE_SITE = http://downloadmirror.intel.com/25512/eng
10 INTEL_MICROCODE_STRIP_COMPONENTS = 0
11 INTEL_MICROCODE_LICENSE = PROPRIETARY
12 INTEL_MICROCODE_LICENSE_FILES = license.txt
13 INTEL_MICROCODE_REDISTRIBUTE = NO
15 define INTEL_MICROCODE_EXTRACT_LICENSE
16 head -n 33 $(@D)/microcode.dat > $(@D)/license.txt
17 endef
19 INTEL_MICROCODE_POST_EXTRACT_HOOKS += INTEL_MICROCODE_EXTRACT_LICENSE
21 define INTEL_MICROCODE_INSTALL_TARGET_CMDS
22 $(INSTALL) -D -m 0644 $(@D)/microcode.dat \
23 $(TARGET_DIR)/usr/share/misc/intel-microcode.dat
24 endef
26 $(eval $(generic-package))