]> code.ossystems Code Review - meta-freescale.git/commitdiff
jailhouse: Drop from MACHINE_FEATURES_BACKFILL
authorTom Hochstein <tom.hochstein@nxp.com>
Thu, 29 Jul 2021 22:30:58 +0000 (17:30 -0500)
committerTom Hochstein <tom.hochstein@nxp.com>
Thu, 29 Jul 2021 22:30:58 +0000 (17:30 -0500)
The backfill feature is for features that were once always enabled
without the ability to disable them. This is not true of jailhouse;
it has always had a feature allowing it to be disabled.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
conf/machine/include/imx-base.inc
conf/machine/include/imx8mm-evk.inc

index 65b1e6e03da0c203a99c365ec71cdfc5e7733238..f92a08af1c00676b8178dc3d150517cbc0172c82 100644 (file)
@@ -315,7 +315,7 @@ MACHINE_EXTRA_RRECOMMENDS += "udev-rules-imx"
 
 # Jailhouse
 MACHINE_EXTRA_RRECOMMENDS += " \
-    ${@bb.utils.contains('COMBINED_FEATURES', 'jailhouse', 'jailhouse', '', d)} \
+    ${@bb.utils.filter('COMBINED_FEATURES', 'jailhouse', d)} \
 "
 
 # GStreamer 1.0 plugins
@@ -474,9 +474,6 @@ KERNEL_IMAGETYPE_aarch64 = "Image"
 
 MACHINE_FEATURES = "usbgadget usbhost vfat alsa touchscreen"
 
-SOC_MACHINE_FEATURES_BACKFILL_mx8m = "jailhouse"
-MACHINE_FEATURES_BACKFILL_append = " ${SOC_MACHINE_FEATURES_BACKFILL}"
-
 # Add the ability to specify _imx machines
 MACHINEOVERRIDES =. "imx:"
 
index bcf838abf65a2657c02055c0d828b1ba5e0dd57f..f458c56de9b7b965f9fd59b00717c48b539acd0b 100644 (file)
@@ -5,13 +5,13 @@ require conf/machine/include/tune-cortexa53.inc
 
 MACHINE_FEATURES += "pci wifi bluetooth bcm43455 bcm4356"
 
-# NXP BSP can consume BCM4359 and QCA9377 driver and firmware
+# NXP BSP can consume proprietary jailhouse, BCM4359, and QCA9377 driver and firmware
 # Since the firmware is not available publicly, and rather distributed
 # under "Proprietary" license - we opt-out from using it in all BSPs
 # and pin it to NXP BSP only
 # OP-TEE is also applicable to NXP BSP, mainline BSP seems not to have
 # a full support for it yet.
-MACHINE_FEATURES_append_use-nxp-bsp = " optee bcm4359 qca9377"
+MACHINE_FEATURES_append_use-nxp-bsp = " optee jailhouse bcm4359 qca9377"
 
 KERNEL_DEVICETREE = " \
     freescale/${KERNEL_DEVICETREE_BASENAME}.dtb \