aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/conf/machine/include/amdx86.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/conf/machine/include/amdx86.inc')
-rw-r--r--meta-amd-bsp/conf/machine/include/amdx86.inc11
1 files changed, 5 insertions, 6 deletions
diff --git a/meta-amd-bsp/conf/machine/include/amdx86.inc b/meta-amd-bsp/conf/machine/include/amdx86.inc
index edd09756..b1562028 100644
--- a/meta-amd-bsp/conf/machine/include/amdx86.inc
+++ b/meta-amd-bsp/conf/machine/include/amdx86.inc
@@ -2,23 +2,22 @@ PREFERRED_PROVIDER_virtual/kernel ?= "${@bb.utils.contains('RT_KERNEL_AMD', 'yes
PREFERRED_VERSION_linux-yocto ?= "5.10%"
PREFERRED_VERSION_linux-yocto-rt ?= "5.10%"
-require conf/machine/include/tune-amdx86.inc
require conf/machine/include/amd-common-configurations.inc
include conf/machine/include/amd-customer-configurations.inc
# Add machine specific AMD features and feature pkgs here
DPDK_PKGS = "${@bb.utils.contains("BBFILE_COLLECTIONS", "dpdk", "dpdk dpdk-examples dpdk-tools dpdk-module", "", d)}"
-MACHINE_FEATURES_remove = "alsa"
+MACHINE_FEATURES_remove = "screen alsa"
MACHINE_EXTRA_RRECOMMENDS_remove = " rtc-test alsa-utils"
-# Disable the graphical console, no graphics support for now
-# this allows the serial console to be used for installation
-APPEND_remove="console=tty0"
-
# Drop features we do not need
DISTRO_FEATURES_remove="opengl x11 alsa pulseaudio"
+# Disable the graphical console when machine does not have a screen.
+# This allows the serial console to be used for installation.
+APPEND_remove="${@bb.utils.contains('MACHINE_FEATURES', 'screen-console', '', 'console=tty0', d)}"
+
MACHINEOVERRIDES =. "amd:amdx86:"
# Mask out recipes for packages we do not support for