Blame view

buildroot/buildroot-2016.08.1/package/intel-microcode/intel-microcode.mk 847 Bytes
6b13f685e   김민수   BSP 최초 추가
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
  ################################################################################
  #
  # intel-microcode
  #
  ################################################################################
  
  INTEL_MICROCODE_VERSION = 20151106
  INTEL_MICROCODE_SOURCE = microcode-$(INTEL_MICROCODE_VERSION).tgz
  INTEL_MICROCODE_SITE = http://downloadmirror.intel.com/25512/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))