diff options
| -rw-r--r-- | common/recipes-core/microcode/intel-microcode_20140624.bb | 18 | ||||
| -rw-r--r-- | conf/machine/include/intel-common-pkgarch.inc | 1 |
2 files changed, 16 insertions, 3 deletions
diff --git a/common/recipes-core/microcode/intel-microcode_20140624.bb b/common/recipes-core/microcode/intel-microcode_20140624.bb index 72aca7db..ca033282 100644 --- a/common/recipes-core/microcode/intel-microcode_20140624.bb +++ b/common/recipes-core/microcode/intel-microcode_20140624.bb | |||
| @@ -21,14 +21,26 @@ RDEPENDS_${PN} = "iucode-tool" | |||
| 21 | DEPENDS = "iucode-tool-native" | 21 | DEPENDS = "iucode-tool-native" |
| 22 | S = "${WORKDIR}" | 22 | S = "${WORKDIR}" |
| 23 | 23 | ||
| 24 | inherit allarch | 24 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
| 25 | inherit deploy | 25 | inherit deploy |
| 26 | 26 | ||
| 27 | # Use any of the iucode_tool parameters to filter specific microcodes from the data file | ||
| 28 | # For further information, check the iucode-tool's manpage : http://manned.org/iucode-tool | ||
| 29 | UCODE_FILTER_PARAMETERS ?= "" | ||
| 30 | |||
| 27 | do_compile() { | 31 | do_compile() { |
| 28 | mkdir -p ${WORKDIR}/ucode/kernel/x86/microcode | 32 | mkdir -p ${WORKDIR}/ucode/kernel/x86/microcode |
| 29 | ${STAGING_DIR_NATIVE}${sbindir_native}/iucode_tool --overwrite --write-to=${WORKDIR}/microcode_${PV}.bin ${WORKDIR}/microcode.dat | 33 | ${STAGING_DIR_NATIVE}${sbindir_native}/iucode_tool \ |
| 34 | ${UCODE_FILTER_PARAMETERS} \ | ||
| 35 | --overwrite \ | ||
| 36 | --write-to=${WORKDIR}/microcode_${PV}.bin \ | ||
| 37 | ${WORKDIR}/microcode.dat | ||
| 30 | 38 | ||
| 31 | ${STAGING_DIR_NATIVE}${sbindir_native}/iucode_tool --overwrite --write-earlyfw=${WORKDIR}/microcode_${PV}.cpio ${WORKDIR}/microcode.dat | 39 | ${STAGING_DIR_NATIVE}${sbindir_native}/iucode_tool \ |
| 40 | ${UCODE_FILTER_PARAMETERS} \ | ||
| 41 | --overwrite \ | ||
| 42 | --write-earlyfw=${WORKDIR}/microcode_${PV}.cpio \ | ||
| 43 | ${WORKDIR}/microcode.dat | ||
| 32 | } | 44 | } |
| 33 | 45 | ||
| 34 | do_install() { | 46 | do_install() { |
diff --git a/conf/machine/include/intel-common-pkgarch.inc b/conf/machine/include/intel-common-pkgarch.inc index cdddcc0c..66aac126 100644 --- a/conf/machine/include/intel-common-pkgarch.inc +++ b/conf/machine/include/intel-common-pkgarch.inc | |||
| @@ -2,5 +2,6 @@ INTEL_COMMON_PACKAGE_ARCH ?= "${TUNE_PKGARCH}-intel-common" | |||
| 2 | PACKAGE_ARCH_pn-linux-yocto = "${INTEL_COMMON_PACKAGE_ARCH}" | 2 | PACKAGE_ARCH_pn-linux-yocto = "${INTEL_COMMON_PACKAGE_ARCH}" |
| 3 | PACKAGE_ARCH_pn-linux-yocto-rt = "${INTEL_COMMON_PACKAGE_ARCH}" | 3 | PACKAGE_ARCH_pn-linux-yocto-rt = "${INTEL_COMMON_PACKAGE_ARCH}" |
| 4 | PACKAGE_ARCH_pn-linux-yocto-dev = "${INTEL_COMMON_PACKAGE_ARCH}" | 4 | PACKAGE_ARCH_pn-linux-yocto-dev = "${INTEL_COMMON_PACKAGE_ARCH}" |
| 5 | PACKAGE_ARCH_pn-intel-microcode = "${INTEL_COMMON_PACKAGE_ARCH}" | ||
| 5 | PACKAGE_EXTRA_ARCHS_append += "${INTEL_COMMON_PACKAGE_ARCH}" | 6 | PACKAGE_EXTRA_ARCHS_append += "${INTEL_COMMON_PACKAGE_ARCH}" |
| 6 | MACHINEOVERRIDES =. "${INTEL_COMMON_PACKAGE_ARCH}:" | 7 | MACHINEOVERRIDES =. "${INTEL_COMMON_PACKAGE_ARCH}:" |
