diff options
Diffstat (limited to 'meta-xilinx-core')
17 files changed, 38 insertions, 2 deletions
diff --git a/meta-xilinx-core/dynamic-layers/openembedded-layer/recipes-benchmark/glmark2/glmark2_%.bbappend b/meta-xilinx-core/dynamic-layers/openembedded-layer/recipes-benchmark/glmark2/glmark2_%.bbappend index fb36c842..81aa8e9e 100644 --- a/meta-xilinx-core/dynamic-layers/openembedded-layer/recipes-benchmark/glmark2/glmark2_%.bbappend +++ b/meta-xilinx-core/dynamic-layers/openembedded-layer/recipes-benchmark/glmark2/glmark2_%.bbappend | |||
| @@ -12,6 +12,8 @@ EXTRA_OECONF:append = "${@bb.utils.contains('DISTRO_FEATURES', 'fbdev', ' --with | |||
| 12 | 12 | ||
| 13 | # Links to libmali-xlnx, so it becomes MACHINE_ARCH specific | 13 | # Links to libmali-xlnx, so it becomes MACHINE_ARCH specific |
| 14 | DEFAULT_PACKAGE_ARCH := "${PACKAGE_ARCH}" | 14 | DEFAULT_PACKAGE_ARCH := "${PACKAGE_ARCH}" |
| 15 | MALI_PACKAGE_ARCH[vardepsexclude] = "MACHINE_ARCH" | ||
| 15 | MALI_PACKAGE_ARCH = "${@'${MACHINE_ARCH}' if d.getVar('PREFERRED_PROVIDER_virtual/libgles1') == 'libmali-xlnx' else '${DEFAULT_PACKAGE_ARCH}'}" | 16 | MALI_PACKAGE_ARCH = "${@'${MACHINE_ARCH}' if d.getVar('PREFERRED_PROVIDER_virtual/libgles1') == 'libmali-xlnx' else '${DEFAULT_PACKAGE_ARCH}'}" |
| 17 | PACKAGE_ARCH[vardepsexclude] = "MALI_PACKAGE_ARCH" | ||
| 16 | PACKAGE_ARCH = "${@bb.utils.contains_any('DEPENDS', 'virtual/libgles1 virtual/libgles2 virtual/egl virtual/libgbm', '${MALI_PACKAGE_ARCH}', '${DEFAULT_PACKAGE_ARCH}', d)}" | 18 | PACKAGE_ARCH = "${@bb.utils.contains_any('DEPENDS', 'virtual/libgles1 virtual/libgles2 virtual/egl virtual/libgbm', '${MALI_PACKAGE_ARCH}', '${DEFAULT_PACKAGE_ARCH}', d)}" |
| 17 | 19 | ||
diff --git a/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx_2023.1.bb b/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx_2023.1.bb index 6c1851ba..3b12d161 100644 --- a/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx_2023.1.bb +++ b/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx_2023.1.bb | |||
| @@ -5,7 +5,9 @@ require qemu-alt.inc | |||
| 5 | 5 | ||
| 6 | # Links to libmali-xlnx, so it becomes MACHINE_ARCH specific | 6 | # Links to libmali-xlnx, so it becomes MACHINE_ARCH specific |
| 7 | DEFAULT_PACKAGE_ARCH := "${PACKAGE_ARCH}" | 7 | DEFAULT_PACKAGE_ARCH := "${PACKAGE_ARCH}" |
| 8 | MALI_PACKAGE_ARCH[vardepsexclude] = "MACHINE_ARCH" | ||
| 8 | MALI_PACKAGE_ARCH = "${@'${MACHINE_ARCH}' if d.getVar('PREFERRED_PROVIDER_virtual/libgles1') == 'libmali-xlnx' else '${DEFAULT_PACKAGE_ARCH}'}" | 9 | MALI_PACKAGE_ARCH = "${@'${MACHINE_ARCH}' if d.getVar('PREFERRED_PROVIDER_virtual/libgles1') == 'libmali-xlnx' else '${DEFAULT_PACKAGE_ARCH}'}" |
| 10 | PACKAGE_ARCH[vardepsexclude] = "MALI_PACKAGE_ARCH" | ||
| 9 | PACKAGE_ARCH:class-target = "${@bb.utils.contains_any('DEPENDS', 'libepoxy virglrenderer', '${MALI_PACKAGE_ARCH}', '${DEFAULT_PACKAGE_ARCH}', d)}" | 11 | PACKAGE_ARCH:class-target = "${@bb.utils.contains_any('DEPENDS', 'libepoxy virglrenderer', '${MALI_PACKAGE_ARCH}', '${DEFAULT_PACKAGE_ARCH}', d)}" |
| 10 | 12 | ||
| 11 | BBCLASSEXTEND = "nativesdk" | 13 | BBCLASSEXTEND = "nativesdk" |
diff --git a/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx_2023.2.bb b/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx_2023.2.bb index 1947de0f..e79df9d7 100644 --- a/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx_2023.2.bb +++ b/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx_2023.2.bb | |||
| @@ -5,7 +5,9 @@ require qemu-alt.inc | |||
| 5 | 5 | ||
| 6 | # Links to libmali-xlnx, so it becomes MACHINE_ARCH specific | 6 | # Links to libmali-xlnx, so it becomes MACHINE_ARCH specific |
| 7 | DEFAULT_PACKAGE_ARCH := "${PACKAGE_ARCH}" | 7 | DEFAULT_PACKAGE_ARCH := "${PACKAGE_ARCH}" |
| 8 | MALI_PACKAGE_ARCH[vardepsexclude] = "MACHINE_ARCH" | ||
| 8 | MALI_PACKAGE_ARCH = "${@'${MACHINE_ARCH}' if d.getVar('PREFERRED_PROVIDER_virtual/libgles1') == 'libmali-xlnx' else '${DEFAULT_PACKAGE_ARCH}'}" | 9 | MALI_PACKAGE_ARCH = "${@'${MACHINE_ARCH}' if d.getVar('PREFERRED_PROVIDER_virtual/libgles1') == 'libmali-xlnx' else '${DEFAULT_PACKAGE_ARCH}'}" |
| 10 | PACKAGE_ARCH[vardepsexclude] = "MALI_PACKAGE_ARCH" | ||
| 9 | PACKAGE_ARCH:class-target = "${@bb.utils.contains_any('DEPENDS', 'libepoxy virglrenderer', '${MALI_PACKAGE_ARCH}', '${DEFAULT_PACKAGE_ARCH}', d)}" | 11 | PACKAGE_ARCH:class-target = "${@bb.utils.contains_any('DEPENDS', 'libepoxy virglrenderer', '${MALI_PACKAGE_ARCH}', '${DEFAULT_PACKAGE_ARCH}', d)}" |
| 10 | 12 | ||
| 11 | BBCLASSEXTEND = "nativesdk" | 13 | BBCLASSEXTEND = "nativesdk" |
diff --git a/meta-xilinx-core/recipes-devtools/qemu/qemu_%.bbappend b/meta-xilinx-core/recipes-devtools/qemu/qemu_%.bbappend index 83768622..04c89b83 100644 --- a/meta-xilinx-core/recipes-devtools/qemu/qemu_%.bbappend +++ b/meta-xilinx-core/recipes-devtools/qemu/qemu_%.bbappend | |||
| @@ -2,5 +2,7 @@ require qemu-alt.inc | |||
| 2 | 2 | ||
| 3 | # Links to libmali-xlnx, so it becomes MACHINE_ARCH specific | 3 | # Links to libmali-xlnx, so it becomes MACHINE_ARCH specific |
| 4 | DEFAULT_PACKAGE_ARCH := "${PACKAGE_ARCH}" | 4 | DEFAULT_PACKAGE_ARCH := "${PACKAGE_ARCH}" |
| 5 | MALI_PACKAGE_ARCH[vardepsexclude] = "MACHINE_ARCH" | ||
| 5 | MALI_PACKAGE_ARCH = "${@'${MACHINE_ARCH}' if d.getVar('PREFERRED_PROVIDER_virtual/libgles1') == 'libmali-xlnx' else '${DEFAULT_PACKAGE_ARCH}'}" | 6 | MALI_PACKAGE_ARCH = "${@'${MACHINE_ARCH}' if d.getVar('PREFERRED_PROVIDER_virtual/libgles1') == 'libmali-xlnx' else '${DEFAULT_PACKAGE_ARCH}'}" |
| 7 | PACKAGE_ARCH[vardepsexclude] = "MALI_PACKAGE_ARCH" | ||
| 6 | PACKAGE_ARCH:class-target = "${@bb.utils.contains_any('DEPENDS', 'libepoxy virglrenderer', '${MALI_PACKAGE_ARCH}', '${DEFAULT_PACKAGE_ARCH}', d)}" | 8 | PACKAGE_ARCH:class-target = "${@bb.utils.contains_any('DEPENDS', 'libepoxy virglrenderer', '${MALI_PACKAGE_ARCH}', '${DEFAULT_PACKAGE_ARCH}', d)}" |
diff --git a/meta-xilinx-core/recipes-gnome/gtk+/gtk+3_%.bbappend b/meta-xilinx-core/recipes-gnome/gtk+/gtk+3_%.bbappend index 83fd7fa6..03823f6e 100644 --- a/meta-xilinx-core/recipes-gnome/gtk+/gtk+3_%.bbappend +++ b/meta-xilinx-core/recipes-gnome/gtk+/gtk+3_%.bbappend | |||
| @@ -1,4 +1,6 @@ | |||
| 1 | # Links to libmali-xlnx, so it becomes MACHINE_ARCH specific | 1 | # Links to libmali-xlnx, so it becomes MACHINE_ARCH specific |
| 2 | DEFAULT_PACKAGE_ARCH := "${PACKAGE_ARCH}" | 2 | DEFAULT_PACKAGE_ARCH := "${PACKAGE_ARCH}" |
| 3 | MALI_PACKAGE_ARCH[vardepsexclude] = "MACHINE_ARCH" | ||
| 3 | MALI_PACKAGE_ARCH = "${@'${MACHINE_ARCH}' if d.getVar('PREFERRED_PROVIDER_virtual/libgles1') == 'libmali-xlnx' else '${DEFAULT_PACKAGE_ARCH}'}" | 4 | MALI_PACKAGE_ARCH = "${@'${MACHINE_ARCH}' if d.getVar('PREFERRED_PROVIDER_virtual/libgles1') == 'libmali-xlnx' else '${DEFAULT_PACKAGE_ARCH}'}" |
| 5 | PACKAGE_ARCH[vardepsexclude] = "MALI_PACKAGE_ARCH" | ||
| 4 | PACKAGE_ARCH = "${@bb.utils.contains_any('DEPENDS', 'virtual/libgles1 virtual/libgles2 virtual/egl virtual/libgbm', '${MALI_PACKAGE_ARCH}', '${DEFAULT_PACKAGE_ARCH}', d)}" | 6 | PACKAGE_ARCH = "${@bb.utils.contains_any('DEPENDS', 'virtual/libgles1 virtual/libgles2 virtual/egl virtual/libgbm', '${MALI_PACKAGE_ARCH}', '${DEFAULT_PACKAGE_ARCH}', d)}" |
diff --git a/meta-xilinx-core/recipes-graphics/cairo/cairo_%.bbappend b/meta-xilinx-core/recipes-graphics/cairo/cairo_%.bbappend index 4b8d9935..61b4d1da 100644 --- a/meta-xilinx-core/recipes-graphics/cairo/cairo_%.bbappend +++ b/meta-xilinx-core/recipes-graphics/cairo/cairo_%.bbappend | |||
| @@ -12,6 +12,8 @@ PACKAGECONFIG = "${@'${PACKAGECONFIG_LIBMALI}' if d.getVar('PREFERRED_PROVIDER_v | |||
| 12 | 12 | ||
| 13 | # Links to libmali-xlnx, so it becomes MACHINE_ARCH specific | 13 | # Links to libmali-xlnx, so it becomes MACHINE_ARCH specific |
| 14 | DEFAULT_PACKAGE_ARCH := "${PACKAGE_ARCH}" | 14 | DEFAULT_PACKAGE_ARCH := "${PACKAGE_ARCH}" |
| 15 | MALI_PACKAGE_ARCH[vardepsexclude] = "MACHINE_ARCH" | ||
| 15 | MALI_PACKAGE_ARCH = "${@'${MACHINE_ARCH}' if d.getVar('PREFERRED_PROVIDER_virtual/libgles1') == 'libmali-xlnx' else '${DEFAULT_PACKAGE_ARCH}'}" | 16 | MALI_PACKAGE_ARCH = "${@'${MACHINE_ARCH}' if d.getVar('PREFERRED_PROVIDER_virtual/libgles1') == 'libmali-xlnx' else '${DEFAULT_PACKAGE_ARCH}'}" |
| 17 | PACKAGE_ARCH[vardepsexclude] = "MALI_PACKAGE_ARCH" | ||
| 16 | PACKAGE_ARCH = "${@bb.utils.contains_any('DEPENDS', 'virtual/libgles1 virtual/libgles2 virtual/egl virtual/libgbm', '${MALI_PACKAGE_ARCH}', '${DEFAULT_PACKAGE_ARCH}', d)}" | 18 | PACKAGE_ARCH = "${@bb.utils.contains_any('DEPENDS', 'virtual/libgles1 virtual/libgles2 virtual/egl virtual/libgbm', '${MALI_PACKAGE_ARCH}', '${DEFAULT_PACKAGE_ARCH}', d)}" |
| 17 | 19 | ||
diff --git a/meta-xilinx-core/recipes-graphics/libepoxy/libepoxy_%.bbappend b/meta-xilinx-core/recipes-graphics/libepoxy/libepoxy_%.bbappend index 83fd7fa6..03823f6e 100644 --- a/meta-xilinx-core/recipes-graphics/libepoxy/libepoxy_%.bbappend +++ b/meta-xilinx-core/recipes-graphics/libepoxy/libepoxy_%.bbappend | |||
| @@ -1,4 +1,6 @@ | |||
| 1 | # Links to libmali-xlnx, so it becomes MACHINE_ARCH specific | 1 | # Links to libmali-xlnx, so it becomes MACHINE_ARCH specific |
| 2 | DEFAULT_PACKAGE_ARCH := "${PACKAGE_ARCH}" | 2 | DEFAULT_PACKAGE_ARCH := "${PACKAGE_ARCH}" |
| 3 | MALI_PACKAGE_ARCH[vardepsexclude] = "MACHINE_ARCH" | ||
| 3 | MALI_PACKAGE_ARCH = "${@'${MACHINE_ARCH}' if d.getVar('PREFERRED_PROVIDER_virtual/libgles1') == 'libmali-xlnx' else '${DEFAULT_PACKAGE_ARCH}'}" | 4 | MALI_PACKAGE_ARCH = "${@'${MACHINE_ARCH}' if d.getVar('PREFERRED_PROVIDER_virtual/libgles1') == 'libmali-xlnx' else '${DEFAULT_PACKAGE_ARCH}'}" |
| 5 | PACKAGE_ARCH[vardepsexclude] = "MALI_PACKAGE_ARCH" | ||
| 4 | PACKAGE_ARCH = "${@bb.utils.contains_any('DEPENDS', 'virtual/libgles1 virtual/libgles2 virtual/egl virtual/libgbm', '${MALI_PACKAGE_ARCH}', '${DEFAULT_PACKAGE_ARCH}', d)}" | 6 | PACKAGE_ARCH = "${@bb.utils.contains_any('DEPENDS', 'virtual/libgles1 virtual/libgles2 virtual/egl virtual/libgbm', '${MALI_PACKAGE_ARCH}', '${DEFAULT_PACKAGE_ARCH}', d)}" |
diff --git a/meta-xilinx-core/recipes-graphics/libglu/libglu_%.bbappend b/meta-xilinx-core/recipes-graphics/libglu/libglu_%.bbappend index 815ec69f..e824a179 100644 --- a/meta-xilinx-core/recipes-graphics/libglu/libglu_%.bbappend +++ b/meta-xilinx-core/recipes-graphics/libglu/libglu_%.bbappend | |||
| @@ -4,6 +4,8 @@ DEPENDS:append = "${@bb.utils.contains('MACHINE_FEATURES', 'mali400', ' ${MALI_ | |||
| 4 | 4 | ||
| 5 | # Links to libmali-xlnx, so it becomes MACHINE_ARCH specific | 5 | # Links to libmali-xlnx, so it becomes MACHINE_ARCH specific |
| 6 | DEFAULT_PACKAGE_ARCH := "${PACKAGE_ARCH}" | 6 | DEFAULT_PACKAGE_ARCH := "${PACKAGE_ARCH}" |
| 7 | MALI_PACKAGE_ARCH[vardepsexclude] = "MACHINE_ARCH" | ||
| 7 | MALI_PACKAGE_ARCH = "${@'${MACHINE_ARCH}' if d.getVar('PREFERRED_PROVIDER_virtual/libgles1') == 'libmali-xlnx' else '${DEFAULT_PACKAGE_ARCH}'}" | 8 | MALI_PACKAGE_ARCH = "${@'${MACHINE_ARCH}' if d.getVar('PREFERRED_PROVIDER_virtual/libgles1') == 'libmali-xlnx' else '${DEFAULT_PACKAGE_ARCH}'}" |
| 9 | PACKAGE_ARCH[vardepsexclude] = "MALI_PACKAGE_ARCH" | ||
| 8 | PACKAGE_ARCH = "${@bb.utils.contains_any('DEPENDS', 'virtual/libgles1 virtual/libgles2 virtual/egl virtual/libgbm', '${MALI_PACKAGE_ARCH}', '${DEFAULT_PACKAGE_ARCH}', d)}" | 10 | PACKAGE_ARCH = "${@bb.utils.contains_any('DEPENDS', 'virtual/libgles1 virtual/libgles2 virtual/egl virtual/libgbm', '${MALI_PACKAGE_ARCH}', '${DEFAULT_PACKAGE_ARCH}', d)}" |
| 9 | 11 | ||
diff --git a/meta-xilinx-core/recipes-graphics/libsdl2/libsdl2_%.bbappend b/meta-xilinx-core/recipes-graphics/libsdl2/libsdl2_%.bbappend index 83fd7fa6..03823f6e 100644 --- a/meta-xilinx-core/recipes-graphics/libsdl2/libsdl2_%.bbappend +++ b/meta-xilinx-core/recipes-graphics/libsdl2/libsdl2_%.bbappend | |||
| @@ -1,4 +1,6 @@ | |||
| 1 | # Links to libmali-xlnx, so it becomes MACHINE_ARCH specific | 1 | # Links to libmali-xlnx, so it becomes MACHINE_ARCH specific |
| 2 | DEFAULT_PACKAGE_ARCH := "${PACKAGE_ARCH}" | 2 | DEFAULT_PACKAGE_ARCH := "${PACKAGE_ARCH}" |
| 3 | MALI_PACKAGE_ARCH[vardepsexclude] = "MACHINE_ARCH" | ||
| 3 | MALI_PACKAGE_ARCH = "${@'${MACHINE_ARCH}' if d.getVar('PREFERRED_PROVIDER_virtual/libgles1') == 'libmali-xlnx' else '${DEFAULT_PACKAGE_ARCH}'}" | 4 | MALI_PACKAGE_ARCH = "${@'${MACHINE_ARCH}' if d.getVar('PREFERRED_PROVIDER_virtual/libgles1') == 'libmali-xlnx' else '${DEFAULT_PACKAGE_ARCH}'}" |
| 5 | PACKAGE_ARCH[vardepsexclude] = "MALI_PACKAGE_ARCH" | ||
| 4 | PACKAGE_ARCH = "${@bb.utils.contains_any('DEPENDS', 'virtual/libgles1 virtual/libgles2 virtual/egl virtual/libgbm', '${MALI_PACKAGE_ARCH}', '${DEFAULT_PACKAGE_ARCH}', d)}" | 6 | PACKAGE_ARCH = "${@bb.utils.contains_any('DEPENDS', 'virtual/libgles1 virtual/libgles2 virtual/egl virtual/libgbm', '${MALI_PACKAGE_ARCH}', '${DEFAULT_PACKAGE_ARCH}', d)}" |
diff --git a/meta-xilinx-core/recipes-graphics/mesa/mesa-demos_%.bbappend b/meta-xilinx-core/recipes-graphics/mesa/mesa-demos_%.bbappend index b7714a39..5c84f56e 100644 --- a/meta-xilinx-core/recipes-graphics/mesa/mesa-demos_%.bbappend +++ b/meta-xilinx-core/recipes-graphics/mesa/mesa-demos_%.bbappend | |||
| @@ -10,5 +10,7 @@ DEPENDS += "wayland-protocols" | |||
| 10 | 10 | ||
| 11 | # Links to libmali-xlnx, so it becomes MACHINE_ARCH specific | 11 | # Links to libmali-xlnx, so it becomes MACHINE_ARCH specific |
| 12 | DEFAULT_PACKAGE_ARCH := "${PACKAGE_ARCH}" | 12 | DEFAULT_PACKAGE_ARCH := "${PACKAGE_ARCH}" |
| 13 | MALI_PACKAGE_ARCH[vardepsexclude] = "MACHINE_ARCH" | ||
| 13 | MALI_PACKAGE_ARCH = "${@'${MACHINE_ARCH}' if d.getVar('PREFERRED_PROVIDER_virtual/libgles1') == 'libmali-xlnx' else '${DEFAULT_PACKAGE_ARCH}'}" | 14 | MALI_PACKAGE_ARCH = "${@'${MACHINE_ARCH}' if d.getVar('PREFERRED_PROVIDER_virtual/libgles1') == 'libmali-xlnx' else '${DEFAULT_PACKAGE_ARCH}'}" |
| 15 | PACKAGE_ARCH[vardepsexclude] = "MALI_PACKAGE_ARCH" | ||
| 14 | PACKAGE_ARCH = "${@bb.utils.contains_any('DEPENDS', 'virtual/libgles1 virtual/libgles2 virtual/egl virtual/libgbm', '${MALI_PACKAGE_ARCH}', '${DEFAULT_PACKAGE_ARCH}', d)}" | 16 | PACKAGE_ARCH = "${@bb.utils.contains_any('DEPENDS', 'virtual/libgles1 virtual/libgles2 virtual/egl virtual/libgbm', '${MALI_PACKAGE_ARCH}', '${DEFAULT_PACKAGE_ARCH}', d)}" |
diff --git a/meta-xilinx-core/recipes-graphics/mesa/mesa-gl_%.bbappend b/meta-xilinx-core/recipes-graphics/mesa/mesa-gl_%.bbappend index d322b480..a8e18a57 100644 --- a/meta-xilinx-core/recipes-graphics/mesa/mesa-gl_%.bbappend +++ b/meta-xilinx-core/recipes-graphics/mesa/mesa-gl_%.bbappend | |||
| @@ -12,4 +12,7 @@ do_install:append () { | |||
| 12 | 12 | ||
| 13 | # If we require libmali-xlnx, this becomes MACHINE_ARCH specific | 13 | # If we require libmali-xlnx, this becomes MACHINE_ARCH specific |
| 14 | DEFAULT_PACKAGE_ARCH := "${PACKAGE_ARCH}" | 14 | DEFAULT_PACKAGE_ARCH := "${PACKAGE_ARCH}" |
| 15 | PACKAGE_ARCH = "${@'${MACHINE_ARCH}' if d.getVar('PREFERRED_PROVIDER_virtual/libgles1') == 'libmali-xlnx' else '${DEFAULT_PACKAGE_ARCH}'}" | 15 | MALI_PACKAGE_ARCH[vardepsexclude] = "MACHINE_ARCH" |
| 16 | MALI_PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 17 | PACKAGE_ARCH[vardepsexclude] = "MALI_PACKAGE_ARCH" | ||
| 18 | PACKAGE_ARCH = "${@'${MALI_PACKAGE_ARCH}' if d.getVar('PREFERRED_PROVIDER_virtual/libgles1') == 'libmali-xlnx' else '${DEFAULT_PACKAGE_ARCH}'}" | ||
diff --git a/meta-xilinx-core/recipes-graphics/mesa/mesa_%.bbappend b/meta-xilinx-core/recipes-graphics/mesa/mesa_%.bbappend index 8c0e7898..d148e679 100644 --- a/meta-xilinx-core/recipes-graphics/mesa/mesa_%.bbappend +++ b/meta-xilinx-core/recipes-graphics/mesa/mesa_%.bbappend | |||
| @@ -9,4 +9,7 @@ PACKAGECONFIG_MALI = "${@bb.utils.contains('DISTRO_FEATURES', 'libmali', '', 'li | |||
| 9 | PACKAGECONFIG:append:class-target = "${@bb.utils.contains('MACHINE_FEATURES', 'mali400', '${PACKAGECONFIG_MALI}', '', d)}" | 9 | PACKAGECONFIG:append:class-target = "${@bb.utils.contains('MACHINE_FEATURES', 'mali400', '${PACKAGECONFIG_MALI}', '', d)}" |
| 10 | 10 | ||
| 11 | PACKAGE_ARCH_DEFAULT := "${PACKAGE_ARCH}" | 11 | PACKAGE_ARCH_DEFAULT := "${PACKAGE_ARCH}" |
| 12 | PACKAGE_ARCH = "${@bb.utils.contains('MACHINE_FEATURES', 'mali400', '${MACHINE_ARCH}', '${PACKAGE_ARCH_DEFAULT}', d)}" | 12 | MALI_PACKAGE_ARCH[vardepsexclude] = "MACHINE_ARCH" |
| 13 | MALI_PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 14 | PACKAGE_ARCH[vardepsexclude] = "MALI_PACKAGE_ARCH" | ||
| 15 | PACKAGE_ARCH = "${@bb.utils.contains('MACHINE_FEATURES', 'mali400', '${MALI_PACKAGE_ARCH}', '${PACKAGE_ARCH_DEFAULT}', d)}" | ||
diff --git a/meta-xilinx-core/recipes-graphics/virglrenderer/virglrenderer_%.bbappend b/meta-xilinx-core/recipes-graphics/virglrenderer/virglrenderer_%.bbappend index 83fd7fa6..03823f6e 100644 --- a/meta-xilinx-core/recipes-graphics/virglrenderer/virglrenderer_%.bbappend +++ b/meta-xilinx-core/recipes-graphics/virglrenderer/virglrenderer_%.bbappend | |||
| @@ -1,4 +1,6 @@ | |||
| 1 | # Links to libmali-xlnx, so it becomes MACHINE_ARCH specific | 1 | # Links to libmali-xlnx, so it becomes MACHINE_ARCH specific |
| 2 | DEFAULT_PACKAGE_ARCH := "${PACKAGE_ARCH}" | 2 | DEFAULT_PACKAGE_ARCH := "${PACKAGE_ARCH}" |
| 3 | MALI_PACKAGE_ARCH[vardepsexclude] = "MACHINE_ARCH" | ||
| 3 | MALI_PACKAGE_ARCH = "${@'${MACHINE_ARCH}' if d.getVar('PREFERRED_PROVIDER_virtual/libgles1') == 'libmali-xlnx' else '${DEFAULT_PACKAGE_ARCH}'}" | 4 | MALI_PACKAGE_ARCH = "${@'${MACHINE_ARCH}' if d.getVar('PREFERRED_PROVIDER_virtual/libgles1') == 'libmali-xlnx' else '${DEFAULT_PACKAGE_ARCH}'}" |
| 5 | PACKAGE_ARCH[vardepsexclude] = "MALI_PACKAGE_ARCH" | ||
| 4 | PACKAGE_ARCH = "${@bb.utils.contains_any('DEPENDS', 'virtual/libgles1 virtual/libgles2 virtual/egl virtual/libgbm', '${MALI_PACKAGE_ARCH}', '${DEFAULT_PACKAGE_ARCH}', d)}" | 6 | PACKAGE_ARCH = "${@bb.utils.contains_any('DEPENDS', 'virtual/libgles1 virtual/libgles2 virtual/egl virtual/libgbm', '${MALI_PACKAGE_ARCH}', '${DEFAULT_PACKAGE_ARCH}', d)}" |
diff --git a/meta-xilinx-core/recipes-graphics/wayland/weston_%.bbappend b/meta-xilinx-core/recipes-graphics/wayland/weston_%.bbappend index edb77fc5..ca77f0d3 100644 --- a/meta-xilinx-core/recipes-graphics/wayland/weston_%.bbappend +++ b/meta-xilinx-core/recipes-graphics/wayland/weston_%.bbappend | |||
| @@ -11,5 +11,7 @@ PACKAGE_ARCH = "${DEFAULT_PACKAGE_ARCH}" | |||
| 11 | 11 | ||
| 12 | # Links to libmali-xlnx, so it becomes MACHINE_ARCH specific | 12 | # Links to libmali-xlnx, so it becomes MACHINE_ARCH specific |
| 13 | DEFAULT_PACKAGE_ARCH := "${PACKAGE_ARCH}" | 13 | DEFAULT_PACKAGE_ARCH := "${PACKAGE_ARCH}" |
| 14 | MALI_PACKAGE_ARCH[vardepsexclude] = "MACHINE_ARCH" | ||
| 14 | MALI_PACKAGE_ARCH = "${@'${MACHINE_ARCH}' if d.getVar('PREFERRED_PROVIDER_virtual/libgles1') == 'libmali-xlnx' else '${DEFAULT_PACKAGE_ARCH}'}" | 15 | MALI_PACKAGE_ARCH = "${@'${MACHINE_ARCH}' if d.getVar('PREFERRED_PROVIDER_virtual/libgles1') == 'libmali-xlnx' else '${DEFAULT_PACKAGE_ARCH}'}" |
| 16 | PACKAGE_ARCH[vardepsexclude] = "MALI_PACKAGE_ARCH" | ||
| 15 | PACKAGE_ARCH = "${@bb.utils.contains_any('DEPENDS', 'virtual/libgles1 virtual/libgles2 virtual/egl virtual/libgbm', '${MALI_PACKAGE_ARCH}', '${DEFAULT_PACKAGE_ARCH}', d)}" | 17 | PACKAGE_ARCH = "${@bb.utils.contains_any('DEPENDS', 'virtual/libgles1 virtual/libgles2 virtual/egl virtual/libgbm', '${MALI_PACKAGE_ARCH}', '${DEFAULT_PACKAGE_ARCH}', d)}" |
diff --git a/meta-xilinx-core/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend b/meta-xilinx-core/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend index a9973eff..7486200d 100644 --- a/meta-xilinx-core/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend +++ b/meta-xilinx-core/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend | |||
| @@ -1,6 +1,8 @@ | |||
| 1 | # Links to libmali-xlnx, so it becomes MACHINE_ARCH specific | 1 | # Links to libmali-xlnx, so it becomes MACHINE_ARCH specific |
| 2 | DEFAULT_PACKAGE_ARCH := "${PACKAGE_ARCH}" | 2 | DEFAULT_PACKAGE_ARCH := "${PACKAGE_ARCH}" |
| 3 | MALI_PACKAGE_ARCH[vardepsexclude] = "MACHINE_ARCH" | ||
| 3 | MALI_PACKAGE_ARCH = "${@'${MACHINE_ARCH}' if d.getVar('PREFERRED_PROVIDER_virtual/libgles1') == 'libmali-xlnx' else '${DEFAULT_PACKAGE_ARCH}'}" | 4 | MALI_PACKAGE_ARCH = "${@'${MACHINE_ARCH}' if d.getVar('PREFERRED_PROVIDER_virtual/libgles1') == 'libmali-xlnx' else '${DEFAULT_PACKAGE_ARCH}'}" |
| 5 | PACKAGE_ARCH[vardepsexclude] = "MALI_PACKAGE_ARCH" | ||
| 4 | PACKAGE_ARCH = "${@bb.utils.contains_any('DEPENDS', 'virtual/libgles1 virtual/libgles2 virtual/egl virtual/libgbm', '${MALI_PACKAGE_ARCH}', '${DEFAULT_PACKAGE_ARCH}', d)}" | 6 | PACKAGE_ARCH = "${@bb.utils.contains_any('DEPENDS', 'virtual/libgles1 virtual/libgles2 virtual/egl virtual/libgbm', '${MALI_PACKAGE_ARCH}', '${DEFAULT_PACKAGE_ARCH}', d)}" |
| 5 | 7 | ||
| 6 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" | 8 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" |
diff --git a/meta-xilinx-core/recipes-graphics/xwayland/xwayland_%.bbappend b/meta-xilinx-core/recipes-graphics/xwayland/xwayland_%.bbappend index 4d9963b8..c1005f11 100644 --- a/meta-xilinx-core/recipes-graphics/xwayland/xwayland_%.bbappend +++ b/meta-xilinx-core/recipes-graphics/xwayland/xwayland_%.bbappend | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | # Links to libmali-xlnx, so it becomes MACHINE_ARCH specific | 1 | # Links to libmali-xlnx, so it becomes MACHINE_ARCH specific |
| 2 | DEFAULT_PACKAGE_ARCH := "${PACKAGE_ARCH}" | 2 | DEFAULT_PACKAGE_ARCH := "${PACKAGE_ARCH}" |
| 3 | MALI_PACKAGE_ARCH[vardepsexclude] = "MACHINE_ARCH" | ||
| 3 | MALI_PACKAGE_ARCH = "${@'${MACHINE_ARCH}' if d.getVar('PREFERRED_PROVIDER_virtual/libgles1') == 'libmali-xlnx' else '${DEFAULT_PACKAGE_ARCH}'}" | 4 | MALI_PACKAGE_ARCH = "${@'${MACHINE_ARCH}' if d.getVar('PREFERRED_PROVIDER_virtual/libgles1') == 'libmali-xlnx' else '${DEFAULT_PACKAGE_ARCH}'}" |
| 5 | PACKAGE_ARCH[vardepsexclude] = "MALI_PACKAGE_ARCH" | ||
| 4 | PACKAGE_ARCH = "${@bb.utils.contains_any('DEPENDS', 'virtual/libgles1 virtual/libgles2 virtual/egl virtual/libgbm', '${MALI_PACKAGE_ARCH}', '${DEFAULT_PACKAGE_ARCH}', d)}" | 6 | PACKAGE_ARCH = "${@bb.utils.contains_any('DEPENDS', 'virtual/libgles1 virtual/libgles2 virtual/egl virtual/libgbm', '${MALI_PACKAGE_ARCH}', '${DEFAULT_PACKAGE_ARCH}', d)}" |
| 5 | 7 | ||
diff --git a/meta-xilinx-core/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_%.bbappend b/meta-xilinx-core/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_%.bbappend index 83fd7fa6..03823f6e 100644 --- a/meta-xilinx-core/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_%.bbappend +++ b/meta-xilinx-core/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_%.bbappend | |||
| @@ -1,4 +1,6 @@ | |||
| 1 | # Links to libmali-xlnx, so it becomes MACHINE_ARCH specific | 1 | # Links to libmali-xlnx, so it becomes MACHINE_ARCH specific |
| 2 | DEFAULT_PACKAGE_ARCH := "${PACKAGE_ARCH}" | 2 | DEFAULT_PACKAGE_ARCH := "${PACKAGE_ARCH}" |
| 3 | MALI_PACKAGE_ARCH[vardepsexclude] = "MACHINE_ARCH" | ||
| 3 | MALI_PACKAGE_ARCH = "${@'${MACHINE_ARCH}' if d.getVar('PREFERRED_PROVIDER_virtual/libgles1') == 'libmali-xlnx' else '${DEFAULT_PACKAGE_ARCH}'}" | 4 | MALI_PACKAGE_ARCH = "${@'${MACHINE_ARCH}' if d.getVar('PREFERRED_PROVIDER_virtual/libgles1') == 'libmali-xlnx' else '${DEFAULT_PACKAGE_ARCH}'}" |
| 5 | PACKAGE_ARCH[vardepsexclude] = "MALI_PACKAGE_ARCH" | ||
| 4 | PACKAGE_ARCH = "${@bb.utils.contains_any('DEPENDS', 'virtual/libgles1 virtual/libgles2 virtual/egl virtual/libgbm', '${MALI_PACKAGE_ARCH}', '${DEFAULT_PACKAGE_ARCH}', d)}" | 6 | PACKAGE_ARCH = "${@bb.utils.contains_any('DEPENDS', 'virtual/libgles1 virtual/libgles2 virtual/egl virtual/libgbm', '${MALI_PACKAGE_ARCH}', '${DEFAULT_PACKAGE_ARCH}', d)}" |
