31 lines
1.4 KiB
ObjectPascal
31 lines
1.4 KiB
ObjectPascal
COMPATIBLE_MACHINE:intel-x86-64 = "intel-x86-64"
|
|
|
|
#add the depends of cdrtools-native to make sure it is
|
|
#always built to support the usb-image & iso-image UEFI
|
|
#booting by default without explicitly add the configure
|
|
#option of "--enable-bootimage=iso"
|
|
|
|
DEPENDS:append:intel-x86-64 = " cdrtools-native"
|
|
|
|
# A method to install/update for bzImage on a deployed target
|
|
KERNELLOADEREXTENSION:append:intel-x86-64 = " kernel-grub"
|
|
|
|
TARGET_SUPPORTED_KTYPES:intel-x86 = "standard preempt-rt"
|
|
|
|
# When using qat17 or qat20 as the provider of virtual/qat, the out-of-tree QAT drivers will conflict
|
|
# with the in-tree ones. So remove in-tree QAT drivers when using qat17 or qat20 in template feature/intel-qat.
|
|
do_install:append:intel-x86() {
|
|
if [ -n "${@bb.utils.contains_any('PREFERRED_PROVIDER_virtual/qat', [ 'qat17', 'qat20' ], '1', '', d)}" ];then
|
|
rm -rf ${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/crypto/intel/qat
|
|
if [ "`ls -A ${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/crypto/intel`" = "" ];then
|
|
rm -rf ${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/crypto/intel
|
|
fi
|
|
if [ "`ls -A ${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/crypto`" = "" ];then
|
|
rm -rf ${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/crypto
|
|
fi
|
|
fi
|
|
}
|
|
|
|
# Set the maximum supported CPU count to 512
|
|
KERNEL_FEATURES:append:intel-x86-64 = " cfg/cpu_nr_512.scc"
|