path: root/common/recipes-sato
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 /common/recipes-sato
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 'common/recipes-sato')
1 files changed, 0 insertions, 16 deletions
diff --git a/common/recipes-sato/images/core-image-sato.bbappend b/common/recipes-sato/images/core-image-sato.bbappend
deleted file mode 100644
index 40e53b7f..00000000
--- a/common/recipes-sato/images/core-image-sato.bbappend
+++ /dev/null
@@ -1,16 +0,0 @@
-require conf/machine/include/amd-common.inc
-IMAGE_INSTALL_append_amdgpu = " mesa-demos"
-IMAGE_INSTALL_append_radeon = " mesa-demos"
-VULKAN_COMPONENTS_amdfalconx86 = "glslang spirv-tools vulkan-loader-layers vulkan-tools vulkan-samples"
-CODEXL_COMPONENTS_amdfalconx86 = "codexl codexl-examples"
-VULKAN_COMPONENTS_v1000 = "amdvlk glslang spirv-tools vulkan-loader-layers vulkan-tools vulkan-samples"
-IMAGE_INSTALL_append = "${@bb.utils.contains("INCLUDE_VULKAN", "yes", " ${VULKAN_COMPONENTS}", "", d)} \
- ${@bb.utils.contains("INCLUDE_CODEXL", "yes", " ${CODEXL_COMPONENTS}", "", d)} \
- "