path: root/meta-amdfalconx86
diff options
authorArsalan H. Awan <Arsalan_Awan@mentor.com>2018-06-22 17:12:27 +0500
committerArsalan H. Awan <Arsalan_Awan@mentor.com>2018-06-22 17:12:27 +0500
commit2dd6c485fda57ef86ce7d48536ca4d0b42cebd3e (patch)
treee7a49270fcfcfac0e8a65633ead3610003c2876c /meta-amdfalconx86
parent33ae6fbb41d8c837c60270c2f6809d1dc1d9fdb9 (diff)
Created IMAGE_FEATURES to be used by AMD BSPs removing all img.bbappends
This defines AMD Features that can be added as EXTRA_IMAGE_FEATURES to different machines based on what is supported on a machine. This adds a broad flexibility and control over packages being installed on a machine for any image without needing to create bbappends for all the images that are to be supported. > Each feature can contain packages and packagegroups as its components. > Feature components can be dependent on DISTRO, IMAGE_FEATURE, or any variable in general. e.g.: Components of "amd-feature-graphics" may be dependent on "x11-base" as an IMAGE_FEATURE. Some packages may only be included for a specific DISTRO. Some packages may only be installed if user allows them in local.conf etc. > Each machine must add the required features to EXTRA_IMAGE_FEATURES in its own machine config file. > All required features must be added to a machine regardless of the image being built, but make sure that feature components are included based on dependency conditions. e.g. say "amd-feature-graphics" was added to a machine that supported graphics, but components of this feature must not be installed on an image that is only console based such as "core-image-base", therefore such components must depend on an IMAGE_FEATURE that is based on graphics such as "x11-base". > Each machine can also override feature components in its own machine config when adding the feature to EXTRA_IMAGE_FEATURES. e.g.: a feature may be added to a specific machine with minimal (or extended) packages based on requirement. Features are classified as: * amd-common-pkgs : Common pkgs to be added to all machines * amd-feature-multimedia : Multimedia packages (it does not depend on graphics because a machine may not have a GUI but could play videos and sounds from console) * amd-feature-graphics : Graphics packages * amd-feature-networking : Networking packages * amd-feature-debug-profile : Debugging and Profiling tools * More features may be added later as needed Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
Diffstat (limited to 'meta-amdfalconx86')
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-amdfalconx86/conf/machine/amdfalconx86.conf b/meta-amdfalconx86/conf/machine/amdfalconx86.conf
index 5e1de8af..c69f9936 100644
--- a/meta-amdfalconx86/conf/machine/amdfalconx86.conf
+++ b/meta-amdfalconx86/conf/machine/amdfalconx86.conf
@@ -8,6 +8,11 @@ PREFERRED_VERSION_linux-yocto-rt ?= "4.4%"
require conf/machine/include/tune-amdfalconx86.inc
+# Add machine specific AMD features and feature pkgs here
+EXTRA_IMAGE_FEATURES += "amd-feature-graphics amd-feature-debug-profile"
+VULKAN_COMPONENTS_amdfalconx86 = "glslang spirv-tools vulkan-loader-layers vulkan-tools vulkan-samples"
+CODEXL_COMPONENTS_amdfalconx86 = "codexl codexl-examples"
include conf/machine/include/amd-common-configurations.inc
include conf/machine/include/amd-customer-configurations.inc