diff options
author | Khem Raj <raj.khem@gmail.com> | 2021-08-02 11:01:05 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-08-12 10:08:24 -0700 |
commit | 59d36c9832702989bfcca8a5af29fb2dff01efcc (patch) | |
tree | b2b07d98cb22bc5241cde7403b6a15d99821318e /recipes-graphics | |
parent | 72f59d35816cd2be6159013e4d96d03abf7f1c4b (diff) | |
download | meta-freescale-59d36c9832702989bfcca8a5af29fb2dff01efcc.tar.gz |
layer: Convert to new override syntax
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes-graphics')
24 files changed, 206 insertions, 206 deletions
diff --git a/recipes-graphics/cairo/cairo_%.bbappend b/recipes-graphics/cairo/cairo_%.bbappend index 5b1562ab..2c73c7f3 100644 --- a/recipes-graphics/cairo/cairo_%.bbappend +++ b/recipes-graphics/cairo/cairo_%.bbappend | |||
@@ -1,2 +1,2 @@ | |||
1 | PACKAGECONFIG_append_imxgpu3d = " egl glesv2" | 1 | PACKAGECONFIG:append:imxgpu3d = " egl glesv2" |
2 | PACKAGECONFIG_remove_imxgpu3d = "opengl" | 2 | PACKAGECONFIG:remove:imxgpu3d = "opengl" |
diff --git a/recipes-graphics/drm/libdrm_2.4.102.imx.bb b/recipes-graphics/drm/libdrm_2.4.102.imx.bb index 6935b782..bffef407 100644 --- a/recipes-graphics/drm/libdrm_2.4.102.imx.bb +++ b/recipes-graphics/drm/libdrm_2.4.102.imx.bb | |||
@@ -42,32 +42,32 @@ PACKAGECONFIG[cairo-tests] = "-Dcairo-tests=true,-Dcairo-tests=false" | |||
42 | PACKAGECONFIG[udev] = "-Dudev=true,-Dudev=false,udev" | 42 | PACKAGECONFIG[udev] = "-Dudev=true,-Dudev=false,udev" |
43 | PACKAGECONFIG[manpages] = "-Dman-pages=true,-Dman-pages=false,libxslt-native xmlto-native" | 43 | PACKAGECONFIG[manpages] = "-Dman-pages=true,-Dman-pages=false,libxslt-native xmlto-native" |
44 | 44 | ||
45 | ALLOW_EMPTY_${PN}-drivers = "1" | 45 | ALLOW_EMPTY:${PN}-drivers = "1" |
46 | PACKAGES =+ "${PN}-tests ${PN}-drivers ${PN}-radeon ${PN}-nouveau ${PN}-omap \ | 46 | PACKAGES =+ "${PN}-tests ${PN}-drivers ${PN}-radeon ${PN}-nouveau ${PN}-omap \ |
47 | ${PN}-intel ${PN}-exynos ${PN}-kms ${PN}-freedreno ${PN}-amdgpu \ | 47 | ${PN}-intel ${PN}-exynos ${PN}-kms ${PN}-freedreno ${PN}-amdgpu \ |
48 | ${PN}-etnaviv" | 48 | ${PN}-etnaviv" |
49 | 49 | ||
50 | RRECOMMENDS_${PN}-drivers = "${PN}-radeon ${PN}-nouveau ${PN}-omap ${PN}-intel \ | 50 | RRECOMMENDS:${PN}-drivers = "${PN}-radeon ${PN}-nouveau ${PN}-omap ${PN}-intel \ |
51 | ${PN}-exynos ${PN}-freedreno ${PN}-amdgpu \ | 51 | ${PN}-exynos ${PN}-freedreno ${PN}-amdgpu \ |
52 | ${PN}-etnaviv" | 52 | ${PN}-etnaviv" |
53 | 53 | ||
54 | FILES_${PN}-tests = "${bindir}/*" | 54 | FILES:${PN}-tests = "${bindir}/*" |
55 | FILES_${PN}-radeon = "${libdir}/libdrm_radeon.so.*" | 55 | FILES:${PN}-radeon = "${libdir}/libdrm_radeon.so.*" |
56 | FILES_${PN}-nouveau = "${libdir}/libdrm_nouveau.so.*" | 56 | FILES:${PN}-nouveau = "${libdir}/libdrm_nouveau.so.*" |
57 | FILES_${PN}-omap = "${libdir}/libdrm_omap.so.*" | 57 | FILES:${PN}-omap = "${libdir}/libdrm_omap.so.*" |
58 | FILES_${PN}-intel = "${libdir}/libdrm_intel.so.*" | 58 | FILES:${PN}-intel = "${libdir}/libdrm_intel.so.*" |
59 | FILES_${PN}-exynos = "${libdir}/libdrm_exynos.so.*" | 59 | FILES:${PN}-exynos = "${libdir}/libdrm_exynos.so.*" |
60 | FILES_${PN}-kms = "${libdir}/libkms*.so.*" | 60 | FILES:${PN}-kms = "${libdir}/libkms*.so.*" |
61 | FILES_${PN}-freedreno = "${libdir}/libdrm_freedreno.so.*" | 61 | FILES:${PN}-freedreno = "${libdir}/libdrm_freedreno.so.*" |
62 | FILES_${PN}-amdgpu = "${libdir}/libdrm_amdgpu.so.* ${datadir}/${PN}/amdgpu.ids" | 62 | FILES:${PN}-amdgpu = "${libdir}/libdrm_amdgpu.so.* ${datadir}/${PN}/amdgpu.ids" |
63 | FILES_${PN}-etnaviv = "${libdir}/libdrm_etnaviv.so.*" | 63 | FILES:${PN}-etnaviv = "${libdir}/libdrm_etnaviv.so.*" |
64 | 64 | ||
65 | BBCLASSEXTEND = "native nativesdk" | 65 | BBCLASSEXTEND = "native nativesdk" |
66 | 66 | ||
67 | PACKAGES_prepend_imxgpu = "${PN}-vivante " | 67 | PACKAGES:prepend:imxgpu = "${PN}-vivante " |
68 | RRECOMMENDS_${PN}-drivers_append_imxgpu = " ${PN}-vivante" | 68 | RRECOMMENDS:${PN}-drivers:append:imxgpu = " ${PN}-vivante" |
69 | FILES_${PN}-vivante = "${libdir}/libdrm_vivante.so.*" | 69 | FILES:${PN}-vivante = "${libdir}/libdrm_vivante.so.*" |
70 | PACKAGECONFIG_append_imxgpu = " vivante" | 70 | PACKAGECONFIG:append:imxgpu = " vivante" |
71 | PACKAGECONFIG[vivante] = "-Dvivante=true,-Dvivante=false" | 71 | PACKAGECONFIG[vivante] = "-Dvivante=true,-Dvivante=false" |
72 | 72 | ||
73 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" | 73 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" |
diff --git a/recipes-graphics/gtk+/gtk+3_%.bbappend b/recipes-graphics/gtk+/gtk+3_%.bbappend index be2bac75..2f108a27 100644 --- a/recipes-graphics/gtk+/gtk+3_%.bbappend +++ b/recipes-graphics/gtk+/gtk+3_%.bbappend | |||
@@ -1,5 +1,5 @@ | |||
1 | DEPENDS_append_imxgpu2d = " virtual/egl" | 1 | DEPENDS:append:imxgpu2d = " virtual/egl" |
2 | 2 | ||
3 | PACKAGECONFIG_remove_imxgpu2d = " \ | 3 | PACKAGECONFIG:remove:imxgpu2d = " \ |
4 | ${@bb.utils.contains("DISTRO_FEATURES", "wayland", "x11", "", d)} \ | 4 | ${@bb.utils.contains("DISTRO_FEATURES", "wayland", "x11", "", d)} \ |
5 | " | 5 | " |
diff --git a/recipes-graphics/images/core-image-weston.bbappend b/recipes-graphics/images/core-image-weston.bbappend index 2a3cde69..77d2fe74 100644 --- a/recipes-graphics/images/core-image-weston.bbappend +++ b/recipes-graphics/images/core-image-weston.bbappend | |||
@@ -1,3 +1,3 @@ | |||
1 | # FIXME: i.MX6SL cannot use mesa for Graphics and it lacks GL support, | 1 | # FIXME: i.MX6SL cannot use mesa for Graphics and it lacks GL support, |
2 | # so for now we skip it. | 2 | # so for now we skip it. |
3 | CORE_IMAGE_BASE_INSTALL_remove_mx6sl = "clutter-1.0-examples" | 3 | CORE_IMAGE_BASE_INSTALL:remove:mx6sl = "clutter-1.0-examples" |
diff --git a/recipes-graphics/imx-dpu-g2d/imx-dpu-g2d_1.8.14.bb b/recipes-graphics/imx-dpu-g2d/imx-dpu-g2d_1.8.14.bb index 1176fa1a..5e3c923d 100644 --- a/recipes-graphics/imx-dpu-g2d/imx-dpu-g2d_1.8.14.bb +++ b/recipes-graphics/imx-dpu-g2d/imx-dpu-g2d_1.8.14.bb | |||
@@ -21,15 +21,15 @@ do_install () { | |||
21 | cp -r ${S}/gpu-demos/opt ${D} | 21 | cp -r ${S}/gpu-demos/opt ${D} |
22 | } | 22 | } |
23 | 23 | ||
24 | FILES_${PN} = "${libdir}/libg2d* /opt" | 24 | FILES:${PN} = "${libdir}/libg2d* /opt" |
25 | FILES_${PN}-dev = "${libdir}/libg2d${SOLIBSDEV} ${includedir}" | 25 | FILES:${PN}-dev = "${libdir}/libg2d${SOLIBSDEV} ${includedir}" |
26 | INSANE_SKIP_${PN} += "ldflags" | 26 | INSANE_SKIP:${PN} += "ldflags" |
27 | 27 | ||
28 | RDEPENDS_${PN} = "libgal-imx libdrm" | 28 | RDEPENDS:${PN} = "libgal-imx libdrm" |
29 | 29 | ||
30 | # This is required to provide support for VPU Amphion HEVC tile format | 30 | # This is required to provide support for VPU Amphion HEVC tile format |
31 | # From NXP [MGS-5547] (commit e175d6b4f78deab24d319b852998bef55cdecc99): | 31 | # From NXP [MGS-5547] (commit e175d6b4f78deab24d319b852998bef55cdecc99): |
32 | # VPU Amphion HEVC tile support was added using OpenCL, so add a dependency on libopencl-imx. | 32 | # VPU Amphion HEVC tile support was added using OpenCL, so add a dependency on libopencl-imx. |
33 | RDEPENDS_${PN} += "libopencl-imx" | 33 | RDEPENDS:${PN} += "libopencl-imx" |
34 | 34 | ||
35 | COMPATIBLE_MACHINE = "(imxdpu)" | 35 | COMPATIBLE_MACHINE = "(imxdpu)" |
diff --git a/recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_9.0.0.bb b/recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_9.0.0.bb index 65ce9cd5..58eb5f44 100644 --- a/recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_9.0.0.bb +++ b/recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_9.0.0.bb | |||
@@ -11,16 +11,16 @@ S = "${WORKDIR}/git" | |||
11 | 11 | ||
12 | inherit cmake pkgconfig perlnative python3native | 12 | inherit cmake pkgconfig perlnative python3native |
13 | 13 | ||
14 | PACKAGECONFIG_BACKEND_mx6 = " \ | 14 | PACKAGECONFIG_BACKEND:mx6 = " \ |
15 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'waffle', \ | 15 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'waffle', \ |
16 | bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', \ | 16 | bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', \ |
17 | '', d), d)} \ | 17 | '', d), d)} \ |
18 | " | 18 | " |
19 | PACKAGECONFIG_BACKEND_mx7 = "${PACKAGECONFIG_BACKEND_mx6}" | 19 | PACKAGECONFIG_BACKEND:mx7 = "${PACKAGECONFIG_BACKEND:mx6}" |
20 | PACKAGECONFIG_BACKEND_mx8 = "waffle" | 20 | PACKAGECONFIG_BACKEND:mx8 = "waffle" |
21 | 21 | ||
22 | PACKAGECONFIG_GPU2D = "" | 22 | PACKAGECONFIG_GPU2D = "" |
23 | PACKAGECONFIG_GPU2D_imxgpu2d = "vivante" | 23 | PACKAGECONFIG_GPU2D:imxgpu2d = "vivante" |
24 | 24 | ||
25 | PACKAGECONFIG ??= " \ | 25 | PACKAGECONFIG ??= " \ |
26 | egl \ | 26 | egl \ |
@@ -37,7 +37,7 @@ PACKAGECONFIG[vivante] = "-DENABLE_VIVANTE=ON,-DENABLE_VIVANTE=OFF,virtual/libg2 | |||
37 | 37 | ||
38 | SOLIBS = ".so" | 38 | SOLIBS = ".so" |
39 | FILES_SOLIBSDEV = "" | 39 | FILES_SOLIBSDEV = "" |
40 | FILES_${PN} += " \ | 40 | FILES:${PN} += " \ |
41 | ${libdir}/apitrace/scripts/* \ | 41 | ${libdir}/apitrace/scripts/* \ |
42 | ${libdir}/apitrace/wrappers/* \ | 42 | ${libdir}/apitrace/wrappers/* \ |
43 | " | 43 | " |
diff --git a/recipes-graphics/imx-gpu-g2d/imx-gpu-g2d_6.4.3.p1.4.bb b/recipes-graphics/imx-gpu-g2d/imx-gpu-g2d_6.4.3.p1.4.bb index 257ecf16..2afe1166 100644 --- a/recipes-graphics/imx-gpu-g2d/imx-gpu-g2d_6.4.3.p1.4.bb +++ b/recipes-graphics/imx-gpu-g2d/imx-gpu-g2d_6.4.3.p1.4.bb | |||
@@ -30,10 +30,10 @@ do_install () { | |||
30 | cp -r ${S}/gpu-demos/opt ${D} | 30 | cp -r ${S}/gpu-demos/opt ${D} |
31 | } | 31 | } |
32 | 32 | ||
33 | FILES_${PN} = "${libdir}/libg2d* /opt" | 33 | FILES:${PN} = "${libdir}/libg2d* /opt" |
34 | FILES_${PN}-dev = "${includedir}" | 34 | FILES:${PN}-dev = "${includedir}" |
35 | INSANE_SKIP_${PN} = "ldflags" | 35 | INSANE_SKIP:${PN} = "ldflags" |
36 | 36 | ||
37 | RDEPENDS_${PN} = "libgal-imx" | 37 | RDEPENDS:${PN} = "libgal-imx" |
38 | 38 | ||
39 | COMPATIBLE_MACHINE = "(imxgpu2d)" | 39 | COMPATIBLE_MACHINE = "(imxgpu2d)" |
diff --git a/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc b/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc index 91a5542b..e486d689 100644 --- a/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc +++ b/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc | |||
@@ -17,8 +17,8 @@ DEPENDS += " \ | |||
17 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libxcb libxshmfence libxxf86vm', \ | 17 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libxcb libxshmfence libxxf86vm', \ |
18 | '', d)} \ | 18 | '', d)} \ |
19 | " | 19 | " |
20 | DEPENDS_append_imxdrm = " libdrm wayland" | 20 | DEPENDS:append_imxdrm = " libdrm wayland" |
21 | DEPENDS_append_mx8 = " patchelf-native" | 21 | DEPENDS:append:mx8 = " patchelf-native" |
22 | 22 | ||
23 | # imx-gpu-viv does not provide everything it needs to for virtual/libgl | 23 | # imx-gpu-viv does not provide everything it needs to for virtual/libgl |
24 | # on x11 backend or on Wayland backend with XWayland support. | 24 | # on x11 backend or on Wayland backend with XWayland support. |
@@ -26,19 +26,19 @@ DEPENDS_append_mx8 = " patchelf-native" | |||
26 | DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'mesa', '', d)}" | 26 | DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'mesa', '', d)}" |
27 | 27 | ||
28 | EXTRA_PROVIDES = "" | 28 | EXTRA_PROVIDES = "" |
29 | EXTRA_PROVIDES_append_imxgpu3d = " \ | 29 | EXTRA_PROVIDES:append:imxgpu3d = " \ |
30 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'virtual/libgl', \ | 30 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'virtual/libgl', \ |
31 | bb.utils.contains('DISTRO_FEATURES', 'x11', 'virtual/libgl', \ | 31 | bb.utils.contains('DISTRO_FEATURES', 'x11', 'virtual/libgl', \ |
32 | '', d), d)} \ | 32 | '', d), d)} \ |
33 | virtual/libgles1 \ | 33 | virtual/libgles1 \ |
34 | virtual/libgles2 \ | 34 | virtual/libgles2 \ |
35 | " | 35 | " |
36 | EXTRA_PROVIDES_append_mx8 = " \ | 36 | EXTRA_PROVIDES:append:mx8 = " \ |
37 | virtual/libgbm \ | 37 | virtual/libgbm \ |
38 | " | 38 | " |
39 | PROVIDES_OPENVX = "" | 39 | PROVIDES_OPENVX = "" |
40 | PROVIDES_OPENVX_mx8 = "virtual/libopenvx" | 40 | PROVIDES_OPENVX:mx8 = "virtual/libopenvx" |
41 | PROVIDES_OPENVX_mx8mm = "" | 41 | PROVIDES_OPENVX:mx8mm = "" |
42 | PROVIDES += " \ | 42 | PROVIDES += " \ |
43 | imx-gpu-viv \ | 43 | imx-gpu-viv \ |
44 | libgal-imx \ | 44 | libgal-imx \ |
@@ -52,13 +52,13 @@ PROVIDES += " \ | |||
52 | ${EXTRA_PROVIDES} \ | 52 | ${EXTRA_PROVIDES} \ |
53 | " | 53 | " |
54 | 54 | ||
55 | RPROVIDES_${PN}_imxgpu3d += "imx-gpu-viv" | 55 | RPROVIDES:${PN}:imxgpu3d += "imx-gpu-viv" |
56 | 56 | ||
57 | PE = "1" | 57 | PE = "1" |
58 | 58 | ||
59 | inherit fsl-eula-unpack features_check | 59 | inherit fsl-eula-unpack features_check |
60 | 60 | ||
61 | REQUIRED_DISTRO_FEATURES_mx8 = "wayland" | 61 | REQUIRED_DISTRO_FEATURES:mx8 = "wayland" |
62 | 62 | ||
63 | SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}.bin;fsl-eula=true" | 63 | SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}.bin;fsl-eula=true" |
64 | 64 | ||
@@ -69,7 +69,7 @@ PACKAGECONFIG[valgrind] = "" | |||
69 | 69 | ||
70 | # Note : If you add a package here, to prevent a naming conflict see the python_anonymous() futher below | 70 | # Note : If you add a package here, to prevent a naming conflict see the python_anonymous() futher below |
71 | IMX_PACKAGES_GBM = "" | 71 | IMX_PACKAGES_GBM = "" |
72 | IMX_PACKAGES_GBM_mx8 = "libgbm-imx libgbm-imx-dev" | 72 | IMX_PACKAGES_GBM:mx8 = "libgbm-imx libgbm-imx-dev" |
73 | PACKAGES =+ "libclc-imx libclc-imx-dev \ | 73 | PACKAGES =+ "libclc-imx libclc-imx-dev \ |
74 | libgl-imx libgl-imx-dev \ | 74 | libgl-imx libgl-imx-dev \ |
75 | libgles1-imx libgles1-imx-dev \ | 75 | libgles1-imx libgles1-imx-dev \ |
@@ -104,7 +104,7 @@ USE_WL = "${@bb.utils.contains("DISTRO_FEATURES", "wayland", "yes", "no", d)}" | |||
104 | # Inhibit warnings about files being stripped. | 104 | # Inhibit warnings about files being stripped. |
105 | INHIBIT_PACKAGE_STRIP = "1" | 105 | INHIBIT_PACKAGE_STRIP = "1" |
106 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | 106 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" |
107 | INSANE_SKIP_${BPN} += "already-stripped" | 107 | INSANE_SKIP:${BPN} += "already-stripped" |
108 | 108 | ||
109 | # FIXME: The provided binary doesn't provide soname. If in future BSP | 109 | # FIXME: The provided binary doesn't provide soname. If in future BSP |
110 | # release the libraries are fixed, we can drop this hack. | 110 | # release the libraries are fixed, we can drop this hack. |
@@ -116,7 +116,7 @@ python __anonymous() { | |||
116 | # the source we cannot fix it. Disable the insane check for now. | 116 | # the source we cannot fix it. Disable the insane check for now. |
117 | packages = d.getVar('PACKAGES').split() | 117 | packages = d.getVar('PACKAGES').split() |
118 | for p in packages: | 118 | for p in packages: |
119 | d.appendVar("INSANE_SKIP_%s" % p, " ldflags") | 119 | d.appendVar("INSANE_SKIP:%s" % p, " ldflags") |
120 | 120 | ||
121 | # For the packages that make up the OpenGL interfaces, inject variables so that | 121 | # For the packages that make up the OpenGL interfaces, inject variables so that |
122 | # they don't get Debian-renamed (which would remove the -imx suffix). | 122 | # they don't get Debian-renamed (which would remove the -imx suffix). |
@@ -125,36 +125,36 @@ python __anonymous() { | |||
125 | ("libgles3",), ("libgbm",)): | 125 | ("libgles3",), ("libgbm",)): |
126 | fullp = p[0] + "-imx" | 126 | fullp = p[0] + "-imx" |
127 | pkgs = "".join(' %s' % i for i in p) | 127 | pkgs = "".join(' %s' % i for i in p) |
128 | d.setVar("DEBIAN_NOAUTONAME_" + fullp, "1") | 128 | d.setVar("DEBIAN_NOAUTONAME:" + fullp, "1") |
129 | d.appendVar("RREPLACES_" + fullp, pkgs) | 129 | d.appendVar("RREPLACES:" + fullp, pkgs) |
130 | d.appendVar("RPROVIDES_" + fullp, pkgs) | 130 | d.appendVar("RPROVIDES:" + fullp, pkgs) |
131 | d.appendVar("RCONFLICTS_" + fullp, pkgs) | 131 | d.appendVar("RCONFLICTS:" + fullp, pkgs) |
132 | 132 | ||
133 | # For -dev, the first element is both the Debian and original name | 133 | # For -dev, the first element is both the Debian and original name |
134 | fullp += "-dev" | 134 | fullp += "-dev" |
135 | pkgs = p[0] + "-dev" | 135 | pkgs = p[0] + "-dev" |
136 | d.setVar("DEBIAN_NOAUTONAME_" + fullp, "1") | 136 | d.setVar("DEBIAN_NOAUTONAME:" + fullp, "1") |
137 | d.appendVar("RREPLACES_" + fullp, pkgs) | 137 | d.appendVar("RREPLACES:" + fullp, pkgs) |
138 | d.appendVar("RPROVIDES_" + fullp, pkgs) | 138 | d.appendVar("RPROVIDES:" + fullp, pkgs) |
139 | d.appendVar("RCONFLICTS_" + fullp, pkgs) | 139 | d.appendVar("RCONFLICTS:" + fullp, pkgs) |
140 | } | 140 | } |
141 | 141 | ||
142 | IS_MX6SL = "0" | 142 | IS_MX6SL = "0" |
143 | IS_MX6SL_mx6sl = "1" | 143 | IS_MX6SL:mx6sl = "1" |
144 | 144 | ||
145 | IS_MX8 = "0" | 145 | IS_MX8 = "0" |
146 | IS_MX8_mx8 = "1" | 146 | IS_MX8:mx8 = "1" |
147 | 147 | ||
148 | PACKAGE_FP_TYPE = "hardfp" | 148 | PACKAGE_FP_TYPE = "hardfp" |
149 | 149 | ||
150 | HAS_GBM = "false" | 150 | HAS_GBM = "false" |
151 | HAS_GBM_mx8 = "true" | 151 | HAS_GBM:mx8 = "true" |
152 | 152 | ||
153 | GLES3_HEADER_REMOVALS = "gl31.h gl32.h" | 153 | GLES3_HEADER_REMOVALS = "gl31.h gl32.h" |
154 | GLES3_HEADER_REMOVALS_mx8m = "gl32.h" | 154 | GLES3_HEADER_REMOVALS:mx8m = "gl32.h" |
155 | GLES3_HEADER_REMOVALS_mx8mm = "gl31.h gl32.h" | 155 | GLES3_HEADER_REMOVALS:mx8mm = "gl31.h gl32.h" |
156 | GLES3_HEADER_REMOVALS_mx8qxp = "" | 156 | GLES3_HEADER_REMOVALS:mx8qxp = "" |
157 | GLES3_HEADER_REMOVALS_mx8qm = "" | 157 | GLES3_HEADER_REMOVALS:mx8qm = "" |
158 | 158 | ||
159 | do_install () { | 159 | do_install () { |
160 | install -d ${D}${libdir} | 160 | install -d ${D}${libdir} |
@@ -272,98 +272,98 @@ do_install () { | |||
272 | chown -R root:root "${D}" | 272 | chown -R root:root "${D}" |
273 | } | 273 | } |
274 | 274 | ||
275 | ALLOW_EMPTY_${PN} = "1" | 275 | ALLOW_EMPTY:${PN} = "1" |
276 | 276 | ||
277 | FILES_libclc-imx = "${libdir}/libCLC${SOLIBS}" | 277 | FILES:libclc-imx = "${libdir}/libCLC${SOLIBS}" |
278 | FILES_libclc-imx-dev = "${includedir}/CL ${libdir}/libCLC${SOLIBSDEV}" | 278 | FILES:libclc-imx-dev = "${includedir}/CL ${libdir}/libCLC${SOLIBSDEV}" |
279 | 279 | ||
280 | # libEGL.so is used by some demo apps from Freescale | 280 | # libEGL.so is used by some demo apps from Freescale |
281 | INSANE_SKIP_libegl-imx += "dev-so" | 281 | INSANE_SKIP:libegl-imx += "dev-so" |
282 | FILES_libegl-imx = "${libdir}/libEGL${REALSOLIBS} ${libdir}/libEGL${SOLIBSDEV} " | 282 | FILES:libegl-imx = "${libdir}/libEGL${REALSOLIBS} ${libdir}/libEGL${SOLIBSDEV} " |
283 | FILES_libegl-imx-dev = "${includedir}/EGL ${includedir}/KHR ${libdir}/pkgconfig/egl.pc" | 283 | FILES:libegl-imx-dev = "${includedir}/EGL ${includedir}/KHR ${libdir}/pkgconfig/egl.pc" |
284 | 284 | ||
285 | FILES_libgal-imx = "${libdir}/libGAL${SOLIBS} ${libdir}/libGAL_egl${SOLIBS}" | 285 | FILES:libgal-imx = "${libdir}/libGAL${SOLIBS} ${libdir}/libGAL_egl${SOLIBS}" |
286 | FILES_libgal-imx-dev = "${libdir}/libGAL${SOLIBSDEV} ${includedir}/HAL" | 286 | FILES:libgal-imx-dev = "${libdir}/libGAL${SOLIBSDEV} ${includedir}/HAL" |
287 | RDEPENDS_libgal-imx += "${@bb.utils.contains('PACKAGECONFIG', 'valgrind', 'valgrind', '', d)}" | 287 | RDEPENDS:libgal-imx += "${@bb.utils.contains('PACKAGECONFIG', 'valgrind', 'valgrind', '', d)}" |
288 | RPROVIDES_libgal-imx += "libgal-imx" | 288 | RPROVIDES:libgal-imx += "libgal-imx" |
289 | RRECOMMENDS_libgal-imx += "kernel-module-imx-gpu-viv" | 289 | RRECOMMENDS:libgal-imx += "kernel-module-imx-gpu-viv" |
290 | INSANE_SKIP_libgal-imx += "build-deps" | 290 | INSANE_SKIP:libgal-imx += "build-deps" |
291 | 291 | ||
292 | FILES_libvsc-imx = "${libdir}/libVSC${SOLIBS}" | 292 | FILES:libvsc-imx = "${libdir}/libVSC${SOLIBS}" |
293 | 293 | ||
294 | FILES_libgbm-imx_mx8 = "${libdir}/libgbm*${REALSOLIBS} ${libdir}/libgbm${SOLIBSDEV} ${libdir}/libgbm_viv${SOLIBSDEV}" | 294 | FILES:libgbm-imx:mx8 = "${libdir}/libgbm*${REALSOLIBS} ${libdir}/libgbm${SOLIBSDEV} ${libdir}/libgbm_viv${SOLIBSDEV}" |
295 | FILES_libgbm-imx-dev_mx8 = "${libdir}/pkgconfig/gbm.pc ${includedir}/gbm.h" | 295 | FILES:libgbm-imx-dev:mx8 = "${libdir}/pkgconfig/gbm.pc ${includedir}/gbm.h" |
296 | RDEPENDS_libgbm-imx_append_mx8 = " libdrm" | 296 | RDEPENDS:libgbm-imx:append:mx8 = " libdrm" |
297 | INSANE_SKIP_libgbm-imx += "dev-so" | 297 | INSANE_SKIP:libgbm-imx += "dev-so" |
298 | 298 | ||
299 | FILES_libvulkan-imx = "${libdir}/libvulkan_VSI${REALSOLIBS} ${libdir}/libSPIRV_viv${SOLIBS}" | 299 | FILES:libvulkan-imx = "${libdir}/libvulkan_VSI${REALSOLIBS} ${libdir}/libSPIRV_viv${SOLIBS}" |
300 | FILES_libvulkan-imx-dev = "${includedir}/vulkan ${libdir}/libvulkan_VSI${SOLIBSDEV}" | 300 | FILES:libvulkan-imx-dev = "${includedir}/vulkan ${libdir}/libvulkan_VSI${SOLIBSDEV}" |
301 | 301 | ||
302 | FILES_libopenvx-imx = " \ | 302 | FILES:libopenvx-imx = " \ |
303 | ${libdir}/libOpenVX${REALSOLIBS} \ | 303 | ${libdir}/libOpenVX${REALSOLIBS} \ |
304 | ${libdir}/libOpenVXC${SOLIBS} \ | 304 | ${libdir}/libOpenVXC${SOLIBS} \ |
305 | ${libdir}/libOpenVXU${SOLIBS} \ | 305 | ${libdir}/libOpenVXU${SOLIBS} \ |
306 | ${libdir}/libOvx*${SOLIBS} \ | 306 | ${libdir}/libOvx*${SOLIBS} \ |
307 | ${libdir}/libArchModelSw${SOLIBS} \ | 307 | ${libdir}/libArchModelSw${SOLIBS} \ |
308 | " | 308 | " |
309 | FILES_libopenvx-imx-dev = "${includedir}/VX ${libdir}/libOpenVX${SOLIBSDEV}" | 309 | FILES:libopenvx-imx-dev = "${includedir}/VX ${libdir}/libOpenVX${SOLIBSDEV}" |
310 | RDEPENDS_libopenvx-imx = "libnn-imx" | 310 | RDEPENDS:libopenvx-imx = "libnn-imx" |
311 | 311 | ||
312 | FILES_libgl-imx = "${libdir}/libGL${REALSOLIBS}" | 312 | FILES:libgl-imx = "${libdir}/libGL${REALSOLIBS}" |
313 | FILES_libgl-imx-dev = "${libdir}/libGL${SOLIBSDEV} ${includedir}/GL" | 313 | FILES:libgl-imx-dev = "${libdir}/libGL${SOLIBSDEV} ${includedir}/GL" |
314 | 314 | ||
315 | # libEGL needs to open libGLESv1.so | 315 | # libEGL needs to open libGLESv1.so |
316 | INSANE_SKIP_libgles1-imx += "dev-so" | 316 | INSANE_SKIP:libgles1-imx += "dev-so" |
317 | FILES_libgles1-imx = "${libdir}/libGLESv1*${REALSOLIBS} ${libdir}/libGLESv1*${SOLIBS} ${libdir}/libGLES_*${REALSOLIBS} ${libdir}/libGLES_*${SOLIBS}" | 317 | FILES:libgles1-imx = "${libdir}/libGLESv1*${REALSOLIBS} ${libdir}/libGLESv1*${SOLIBS} ${libdir}/libGLES_*${REALSOLIBS} ${libdir}/libGLES_*${SOLIBS}" |
318 | FILES_libgles1-imx-dev = "${includedir}/GLES ${libdir}/libGLESv1*${SOLIBS} ${libdir}/libGLES_*${SOLIBSDEV} ${libdir}/pkgconfig/glesv1_cm.pc" | 318 | FILES:libgles1-imx-dev = "${includedir}/GLES ${libdir}/libGLESv1*${SOLIBS} ${libdir}/libGLES_*${SOLIBSDEV} ${libdir}/pkgconfig/glesv1_cm.pc" |
319 | RPROVIDES_libgles1-imx = "libgles-imx" | 319 | RPROVIDES:libgles1-imx = "libgles-imx" |
320 | RPROVIDES_libgles1-imx-dev = "libgles-imx-dev" | 320 | RPROVIDES:libgles1-imx-dev = "libgles-imx-dev" |
321 | 321 | ||
322 | # libEGL needs to open libGLESv2.so | 322 | # libEGL needs to open libGLESv2.so |
323 | INSANE_SKIP_libgles2-imx += "dev-so" | 323 | INSANE_SKIP:libgles2-imx += "dev-so" |
324 | FILES_libgles2-imx = "${libdir}/libGLESv2${REALSOLIBS} ${libdir}/libGLESv2${SOLIBS}" | 324 | FILES:libgles2-imx = "${libdir}/libGLESv2${REALSOLIBS} ${libdir}/libGLESv2${SOLIBS}" |
325 | FILES_libgles2-imx-dev = "${includedir}/GLES2 ${libdir}/libGLESv2${SOLIBSDEV} ${libdir}/pkgconfig/glesv2.pc" | 325 | FILES:libgles2-imx-dev = "${includedir}/GLES2 ${libdir}/libGLESv2${SOLIBSDEV} ${libdir}/pkgconfig/glesv2.pc" |
326 | RDEPENDS_libgles2-imx = "libglslc-imx" | 326 | RDEPENDS:libgles2-imx = "libglslc-imx" |
327 | 327 | ||
328 | FILES_libgles3-imx-dev = "${includedir}/GLES3" | 328 | FILES:libgles3-imx-dev = "${includedir}/GLES3" |
329 | # as long as there is no libgles3: ship libgles3-dev along with | 329 | # as long as there is no libgles3: ship libgles3-dev along with |
330 | # libgles2-dev - otherwise GLES3 headers have to be added manually | 330 | # libgles2-dev - otherwise GLES3 headers have to be added manually |
331 | RDEPENDS_libgles2-imx-dev += "libgles3-imx-dev" | 331 | RDEPENDS:libgles2-imx-dev += "libgles3-imx-dev" |
332 | 332 | ||
333 | FILES_libglslc-imx = "${libdir}/libGLSLC${SOLIBS}" | 333 | FILES:libglslc-imx = "${libdir}/libGLSLC${SOLIBS}" |
334 | FILES_libglslc-imx-dev = "${includedir}/CL ${libdir}/libGLSLC${SOLIBSDEV}" | 334 | FILES:libglslc-imx-dev = "${includedir}/CL ${libdir}/libGLSLC${SOLIBSDEV}" |
335 | 335 | ||
336 | FILES_libopencl-imx = "${libdir}/libOpenCL${REALSOLIBS} \ | 336 | FILES:libopencl-imx = "${libdir}/libOpenCL${REALSOLIBS} \ |
337 | ${libdir}/libVivanteOpenCL${SOLIBS} \ | 337 | ${libdir}/libVivanteOpenCL${SOLIBS} \ |
338 | ${libdir}/libLLVM_viv${SOLIBS} \ | 338 | ${libdir}/libLLVM_viv${SOLIBS} \ |
339 | ${sysconfdir}/OpenCL/vendors/Vivante.icd" | 339 | ${sysconfdir}/OpenCL/vendors/Vivante.icd" |
340 | FILES_libopencl-imx-dev = "${includedir}/CL ${libdir}/libOpenCL${SOLIBSDEV}" | 340 | FILES:libopencl-imx-dev = "${includedir}/CL ${libdir}/libOpenCL${SOLIBSDEV}" |
341 | RDEPENDS_libopencl-imx= "libclc-imx" | 341 | RDEPENDS:libopencl-imx= "libclc-imx" |
342 | 342 | ||
343 | FILES_libopenvg-imx = "${libdir}/libOpenVG*${REALSOLIBS}" | 343 | FILES:libopenvg-imx = "${libdir}/libOpenVG*${REALSOLIBS}" |
344 | FILES_libopenvg-imx-dev = "${includedir}/VG ${libdir}/libOpenVG*${SOLIBSDEV} ${libdir}/pkgconfig/vg.pc" | 344 | FILES:libopenvg-imx-dev = "${includedir}/VG ${libdir}/libOpenVG*${SOLIBSDEV} ${libdir}/pkgconfig/vg.pc" |
345 | 345 | ||
346 | FILES_libvdk-imx = "${libdir}/libVDK*${REALSOLIBS}" | 346 | FILES:libvdk-imx = "${libdir}/libVDK*${REALSOLIBS}" |
347 | FILES_libvdk-imx-dev = "${includedir}/*vdk*.h ${libdir}/libVDK${SOLIBSDEV}" | 347 | FILES:libvdk-imx-dev = "${includedir}/*vdk*.h ${libdir}/libVDK${SOLIBSDEV}" |
348 | 348 | ||
349 | FILES_libvivante-dri-imx = "${libdir}/dri/vivante_dri.so" | 349 | FILES:libvivante-dri-imx = "${libdir}/dri/vivante_dri.so" |
350 | RDEPENDS_libvivante-dri-imx = "libdrm" | 350 | RDEPENDS:libvivante-dri-imx = "libdrm" |
351 | 351 | ||
352 | INSANE_SKIP_libwayland-viv-imx += "dev-so" | 352 | INSANE_SKIP:libwayland-viv-imx += "dev-so" |
353 | FILES_libwayland-viv-imx = "${libdir}/libwayland-viv${REALSOLIBS} ${libdir}/libwayland-viv${SOLIBS}" | 353 | FILES:libwayland-viv-imx = "${libdir}/libwayland-viv${REALSOLIBS} ${libdir}/libwayland-viv${SOLIBS}" |
354 | FILES_libwayland-viv-imx-dev = "${includedir}/wayland-viv ${libdir})/libwayland-viv${SOLIBSDEV} ${libdir}/pkgconfig/wayland-viv.pc" | 354 | FILES:libwayland-viv-imx-dev = "${includedir}/wayland-viv ${libdir})/libwayland-viv${SOLIBSDEV} ${libdir}/pkgconfig/wayland-viv.pc" |
355 | RPROVIDES_libwayland-viv-imx += "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'xf86-video-imx-vivante', '', d)}" | 355 | RPROVIDES:libwayland-viv-imx += "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'xf86-video-imx-vivante', '', d)}" |
356 | 356 | ||
357 | INSANE_SKIP_libgc-wayland-protocol-imx += "dev-so" | 357 | INSANE_SKIP:libgc-wayland-protocol-imx += "dev-so" |
358 | FILES_libgc-wayland-protocol-imx = "${libdir}/libgc_wayland_protocol${REALSOLIBS} ${libdir}/libgc_wayland_protocol${SOLIBS}" | 358 | FILES:libgc-wayland-protocol-imx = "${libdir}/libgc_wayland_protocol${REALSOLIBS} ${libdir}/libgc_wayland_protocol${SOLIBS}" |
359 | FILES_libgc-wayland-protocol-imx-dev = "${libdir}/libgc_wayland_protocol${SOLIBSDEV} ${libdir}/pkgconfig/gc_wayland_protocol.pc" | 359 | FILES:libgc-wayland-protocol-imx-dev = "${libdir}/libgc_wayland_protocol${SOLIBSDEV} ${libdir}/pkgconfig/gc_wayland_protocol.pc" |
360 | 360 | ||
361 | FILES_imx-gpu-viv-tools = "${bindir}/gmem_info" | 361 | FILES:imx-gpu-viv-tools = "${bindir}/gmem_info" |
362 | 362 | ||
363 | FILES_imx-gpu-viv-demos = "/opt" | 363 | FILES:imx-gpu-viv-demos = "/opt" |
364 | INSANE_SKIP_imx-gpu-viv-demos += "rpaths dev-deps" | 364 | INSANE_SKIP:imx-gpu-viv-demos += "rpaths dev-deps" |
365 | 365 | ||
366 | FILES_libnn-imx = "${libdir}/libNN*${SOLIBS} ${libdir}/libnn*${SOLIBS} ${libdir}/libneuralnetworks${SOLIBS}" | 366 | FILES:libnn-imx = "${libdir}/libNN*${SOLIBS} ${libdir}/libnn*${SOLIBS} ${libdir}/libneuralnetworks${SOLIBS}" |
367 | FILES_libnn-imx-dev = "${includedir}/nnrt" | 367 | FILES:libnn-imx-dev = "${includedir}/nnrt" |
368 | 368 | ||
369 | # COMPATIBLE_MACHINE = "(mx6q|mx6dl|mx6sx|mx6sl|mx8)" | 369 | # COMPATIBLE_MACHINE = "(mx6q|mx6dl|mx6sx|mx6sl|mx8)" |
diff --git a/recipes-graphics/libepoxy/libepoxy_1.5.%.bbappend b/recipes-graphics/libepoxy/libepoxy_1.5.%.bbappend index 5b82b3f4..71baa53d 100644 --- a/recipes-graphics/libepoxy/libepoxy_1.5.%.bbappend +++ b/recipes-graphics/libepoxy/libepoxy_1.5.%.bbappend | |||
@@ -1,5 +1,5 @@ | |||
1 | # Append EGL_CFLAGS to CFLAGS | 1 | # Append EGL_CFLAGS to CFLAGS |
2 | CFLAGS_append_imxgpu = " \ | 2 | CFLAGS:append:imxgpu = " \ |
3 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', '-DEGL_API_FB', d)} \ | 3 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', '-DEGL_API_FB', d)} \ |
4 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '-DWL_EGL_PLATFORM', '', d)} \ | 4 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '-DWL_EGL_PLATFORM', '', d)} \ |
5 | " | 5 | " |
diff --git a/recipes-graphics/libsdl2/libsdl2_%.bbappend b/recipes-graphics/libsdl2/libsdl2_%.bbappend index 303ea63a..af9c97bb 100644 --- a/recipes-graphics/libsdl2/libsdl2_%.bbappend +++ b/recipes-graphics/libsdl2/libsdl2_%.bbappend | |||
@@ -1,8 +1,8 @@ | |||
1 | # what vivante driver does libsdl2 mean? Anyway it fails with missing functions as | 1 | # what vivante driver does libsdl2 mean? Anyway it fails with missing functions as |
2 | # VIVANTE_Create VIVANTE_GLES_GetProcAddress VIVANTE_GLES_UnloadLibrary ... | 2 | # VIVANTE_Create VIVANTE_GLES_GetProcAddress VIVANTE_GLES_UnloadLibrary ... |
3 | EXTRA_OECONF_append_imxgpu2d = " --disable-video-vivante" | 3 | EXTRA_OECONF:append:imxgpu2d = " --disable-video-vivante" |
4 | 4 | ||
5 | CFLAGS_append_imxgpu = " -DLINUX \ | 5 | CFLAGS:append:imxgpu = " -DLINUX \ |
6 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', '-DEGL_API_FB', d)} \ | 6 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', '-DEGL_API_FB', d)} \ |
7 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '-DWL_EGL_PLATFORM', '', d)} \ | 7 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '-DWL_EGL_PLATFORM', '', d)} \ |
8 | " | 8 | " |
diff --git a/recipes-graphics/mesa/mesa-demos_%.bbappend b/recipes-graphics/mesa/mesa-demos_%.bbappend index 301f1b59..4b518185 100644 --- a/recipes-graphics/mesa/mesa-demos_%.bbappend +++ b/recipes-graphics/mesa/mesa-demos_%.bbappend | |||
@@ -1,26 +1,26 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" |
2 | 2 | ||
3 | SRC_URI_append_imxgpu = " file://Replace-glWindowPos2iARB-calls-with-glWindowPos2i.patch \ | 3 | SRC_URI:append:imxgpu = " file://Replace-glWindowPos2iARB-calls-with-glWindowPos2i.patch \ |
4 | file://fix-clear-build-break.patch \ | 4 | file://fix-clear-build-break.patch \ |
5 | file://Add-OpenVG-demos-to-support-wayland.patch" | 5 | file://Add-OpenVG-demos-to-support-wayland.patch" |
6 | 6 | ||
7 | PACKAGECONFIG_REMOVE_IF_2D_ONLY = "" | 7 | PACKAGECONFIG_REMOVE_IF_2D_ONLY = "" |
8 | PACKAGECONFIG_REMOVE_IF_2D_ONLY_imxgpu2d = "gles1 gles2" | 8 | PACKAGECONFIG_REMOVE_IF_2D_ONLY:imxgpu2d = "gles1 gles2" |
9 | PACKAGECONFIG_REMOVE_IF_2D_ONLY_imxgpu3d = "" | 9 | PACKAGECONFIG_REMOVE_IF_2D_ONLY:imxgpu3d = "" |
10 | PACKAGECONFIG_REMOVE_IF_GPU = "" | 10 | PACKAGECONFIG_REMOVE_IF_GPU = "" |
11 | PACKAGECONFIG_REMOVE_IF_GPU_imxgpu = " \ | 11 | PACKAGECONFIG_REMOVE_IF_GPU:imxgpu = " \ |
12 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'glu x11', '', d)} \ | 12 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'glu x11', '', d)} \ |
13 | " | 13 | " |
14 | PACKAGECONFIG_remove = " \ | 14 | PACKAGECONFIG:remove = " \ |
15 | ${PACKAGECONFIG_REMOVE_IF_2D_ONLY} \ | 15 | ${PACKAGECONFIG_REMOVE_IF_2D_ONLY} \ |
16 | ${PACKAGECONFIG_REMOVE_IF_GPU} \ | 16 | ${PACKAGECONFIG_REMOVE_IF_GPU} \ |
17 | " | 17 | " |
18 | 18 | ||
19 | PACKAGECONFIG_APPEND_IF_GPU = "" | 19 | PACKAGECONFIG_APPEND_IF_GPU = "" |
20 | PACKAGECONFIG_APPEND_IF_GPU_imxgpu = " \ | 20 | PACKAGECONFIG_APPEND_IF_GPU:imxgpu = " \ |
21 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland vg', '', d)} \ | 21 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland vg', '', d)} \ |
22 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'glut', '', d)} \ | 22 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'glut', '', d)} \ |
23 | " | 23 | " |
24 | PACKAGECONFIG_append = " \ | 24 | PACKAGECONFIG:append = " \ |
25 | ${PACKAGECONFIG_APPEND_IF_GPU} \ | 25 | ${PACKAGECONFIG_APPEND_IF_GPU} \ |
26 | " | 26 | " |
diff --git a/recipes-graphics/mesa/mesa-etnaviv-env_0.1.bb b/recipes-graphics/mesa/mesa-etnaviv-env_0.1.bb index 2a32c448..87d05365 100644 --- a/recipes-graphics/mesa/mesa-etnaviv-env_0.1.bb +++ b/recipes-graphics/mesa/mesa-etnaviv-env_0.1.bb | |||
@@ -12,7 +12,7 @@ SRC_URI = "\ | |||
12 | do_configure[noexec] = "1" | 12 | do_configure[noexec] = "1" |
13 | do_compile[noexec] = "1" | 13 | do_compile[noexec] = "1" |
14 | 14 | ||
15 | do_install_use-mainline-bsp() { | 15 | do_install:use-mainline-bsp() { |
16 | # MESA global envirronment variables | 16 | # MESA global envirronment variables |
17 | 17 | ||
18 | # systemd | 18 | # systemd |
@@ -28,4 +28,4 @@ do_install_use-mainline-bsp() { | |||
28 | fi | 28 | fi |
29 | } | 29 | } |
30 | 30 | ||
31 | ALLOW_EMPTY_${PN} = "1" | 31 | ALLOW_EMPTY:${PN} = "1" |
diff --git a/recipes-graphics/mesa/mesa-gl_%.bbappend b/recipes-graphics/mesa/mesa-gl_%.bbappend index ca1c8f46..dafd27f0 100644 --- a/recipes-graphics/mesa/mesa-gl_%.bbappend +++ b/recipes-graphics/mesa/mesa-gl_%.bbappend | |||
@@ -1 +1 @@ | |||
COMPATIBLE_MACHINE_imxgpu = "(-)" | COMPATIBLE_MACHINE:imxgpu = "(-)" | ||
diff --git a/recipes-graphics/mesa/mesa_%.bbappend b/recipes-graphics/mesa/mesa_%.bbappend index 423ee63e..fedadab2 100644 --- a/recipes-graphics/mesa/mesa_%.bbappend +++ b/recipes-graphics/mesa/mesa_%.bbappend | |||
@@ -1,5 +1,5 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:" | 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}:" |
2 | SRC_URI_append_use-mainline-bsp = " \ | 2 | SRC_URI:append:use-mainline-bsp = " \ |
3 | file://0001-dri-add-createImageWithModifiers2-interface.patch \ | 3 | file://0001-dri-add-createImageWithModifiers2-interface.patch \ |
4 | file://0002-dri-add-loader_dri_create_image-helper.patch \ | 4 | file://0002-dri-add-loader_dri_create_image-helper.patch \ |
5 | file://0003-loader-dri3-convert-to-loader_dri_create_image.patch \ | 5 | file://0003-loader-dri3-convert-to-loader_dri_create_image.patch \ |
@@ -11,11 +11,11 @@ SRC_URI_append_use-mainline-bsp = " \ | |||
11 | file://0009-etnaviv-flush-used-render-buffers-on-context-flush-w.patch \ | 11 | file://0009-etnaviv-flush-used-render-buffers-on-context-flush-w.patch \ |
12 | " | 12 | " |
13 | 13 | ||
14 | PROVIDES_remove_imxgpu = "virtual/egl" | 14 | PROVIDES:remove:imxgpu = "virtual/egl" |
15 | PROVIDES_remove_imxgpu3d = "virtual/libgl virtual/libgles1 virtual/libgles2" | 15 | PROVIDES:remove:imxgpu3d = "virtual/libgl virtual/libgles1 virtual/libgles2" |
16 | 16 | ||
17 | PACKAGECONFIG_remove_imxgpu = "egl gbm" | 17 | PACKAGECONFIG:remove:imxgpu = "egl gbm" |
18 | PACKAGECONFIG_remove_imxgpu3d = "gles" | 18 | PACKAGECONFIG:remove:imxgpu3d = "gles" |
19 | 19 | ||
20 | # FIXME: mesa should support 'x11-no-tls' option | 20 | # FIXME: mesa should support 'x11-no-tls' option |
21 | python () { | 21 | python () { |
@@ -28,13 +28,13 @@ python () { | |||
28 | } | 28 | } |
29 | 29 | ||
30 | # Enable Etnaviv and Freedreno support | 30 | # Enable Etnaviv and Freedreno support |
31 | PACKAGECONFIG_append_use-mainline-bsp = " gallium etnaviv kmsro freedreno" | 31 | PACKAGECONFIG:append:use-mainline-bsp = " gallium etnaviv kmsro freedreno" |
32 | 32 | ||
33 | # For NXP BSP, GPU drivers don't support dri | 33 | # For NXP BSP, GPU drivers don't support dri |
34 | PACKAGECONFIG_remove_imxgpu_use-nxp-bsp = "dri" | 34 | PACKAGECONFIG:remove:imxgpu:use-nxp-bsp = "dri" |
35 | 35 | ||
36 | # mainline/etnaviv: | 36 | # mainline/etnaviv: |
37 | RRECOMMENDS_${PN}-megadriver_append_use-mainline-bsp = " libdrm-etnaviv mesa-etnaviv-env" | 37 | RRECOMMENDS:${PN}-megadriver:append:use-mainline-bsp = " libdrm-etnaviv mesa-etnaviv-env" |
38 | 38 | ||
39 | BACKEND = \ | 39 | BACKEND = \ |
40 | "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', \ | 40 | "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', \ |
@@ -42,7 +42,7 @@ BACKEND = \ | |||
42 | 'fb', d), d)}" | 42 | 'fb', d), d)}" |
43 | 43 | ||
44 | # FIXME: Dirty hack to allow use of Vivante GPU libGL binary | 44 | # FIXME: Dirty hack to allow use of Vivante GPU libGL binary |
45 | do_install_append_imxgpu3d () { | 45 | do_install:append:imxgpu3d () { |
46 | rm -f ${D}${libdir}/libGL.* \ | 46 | rm -f ${D}${libdir}/libGL.* \ |
47 | ${D}${includedir}/GL/gl.h \ | 47 | ${D}${includedir}/GL/gl.h \ |
48 | ${D}${includedir}/GL/glcorearb.h \ | 48 | ${D}${includedir}/GL/glcorearb.h \ |
@@ -54,6 +54,6 @@ do_install_append_imxgpu3d () { | |||
54 | fi | 54 | fi |
55 | } | 55 | } |
56 | 56 | ||
57 | do_install_append_imxgpu () { | 57 | do_install:append:imxgpu () { |
58 | rm -rf ${D}${includedir}/KHR | 58 | rm -rf ${D}${includedir}/KHR |
59 | } | 59 | } |
diff --git a/recipes-graphics/vulkan/vulkan-loader_%.bbappend b/recipes-graphics/vulkan/vulkan-loader_%.bbappend index 28e1dc32..90776168 100644 --- a/recipes-graphics/vulkan/vulkan-loader_%.bbappend +++ b/recipes-graphics/vulkan/vulkan-loader_%.bbappend | |||
@@ -1,3 +1,3 @@ | |||
1 | # The i.MX implementation is dynamically loaded, so it requires an | 1 | # The i.MX implementation is dynamically loaded, so it requires an |
2 | # explicit runtime dependency. | 2 | # explicit runtime dependency. |
3 | RRECOMMENDS_${PN}_append_imxgpu = " libvulkan-imx" | 3 | RRECOMMENDS:${PN}:append:imxgpu = " libvulkan-imx" |
diff --git a/recipes-graphics/waffle/waffle_%.bbappend b/recipes-graphics/waffle/waffle_%.bbappend index 9d090bcf..380273a8 100644 --- a/recipes-graphics/waffle/waffle_%.bbappend +++ b/recipes-graphics/waffle/waffle_%.bbappend | |||
@@ -1,4 +1,4 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" |
2 | 2 | ||
3 | SRC_URI += " \ | 3 | SRC_URI += " \ |
4 | file://0001-meson-Add-missing-wayland-dependency-on-EGL.patch \ | 4 | file://0001-meson-Add-missing-wayland-dependency-on-EGL.patch \ |
@@ -6,11 +6,11 @@ SRC_URI += " \ | |||
6 | " | 6 | " |
7 | 7 | ||
8 | PACKAGECONFIG_IMXGPU_X11 = "" | 8 | PACKAGECONFIG_IMXGPU_X11 = "" |
9 | PACKAGECONFIG_IMXGPU_X11_imxgpu3d = "x11-egl glx" | 9 | PACKAGECONFIG_IMXGPU_X11:imxgpu3d = "x11-egl glx" |
10 | PACKAGECONFIG_IMXGPU_GBM = "gbm" | 10 | PACKAGECONFIG_IMXGPU_GBM = "gbm" |
11 | PACKAGECONFIG_IMXGPU_GBM_mx6 = "" | 11 | PACKAGECONFIG_IMXGPU_GBM:mx6 = "" |
12 | PACKAGECONFIG_IMXGPU_GBM_mx7 = "" | 12 | PACKAGECONFIG_IMXGPU_GBM:mx7 = "" |
13 | PACKAGECONFIG_imxgpu = " \ | 13 | PACKAGECONFIG:imxgpu = " \ |
14 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', \ | 14 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', \ |
15 | bb.utils.contains('DISTRO_FEATURES', 'x11', '${PACKAGECONFIG_IMXGPU_X11}', \ | 15 | bb.utils.contains('DISTRO_FEATURES', 'x11', '${PACKAGECONFIG_IMXGPU_X11}', \ |
16 | '', d), d)} \ | 16 | '', d), d)} \ |
diff --git a/recipes-graphics/wayland/wayland-protocols_1.20.imx.bb b/recipes-graphics/wayland/wayland-protocols_1.20.imx.bb index 852b3160..0d1f4726 100644 --- a/recipes-graphics/wayland/wayland-protocols_1.20.imx.bb +++ b/recipes-graphics/wayland/wayland-protocols_1.20.imx.bb | |||
@@ -16,7 +16,7 @@ S = "${WORKDIR}/git" | |||
16 | inherit autotools pkgconfig | 16 | inherit autotools pkgconfig |
17 | 17 | ||
18 | PACKAGES = "${PN}" | 18 | PACKAGES = "${PN}" |
19 | FILES_${PN} += "${datadir}/pkgconfig/wayland-protocols.pc" | 19 | FILES:${PN} += "${datadir}/pkgconfig/wayland-protocols.pc" |
20 | 20 | ||
21 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" | 21 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" |
22 | COMPATIBLE_MACHINE = "(imxfbdev|imxgpu)" | 22 | COMPATIBLE_MACHINE = "(imxfbdev|imxgpu)" |
diff --git a/recipes-graphics/wayland/weston-init.bbappend b/recipes-graphics/wayland/weston-init.bbappend index ebd98268..e6baac0b 100644 --- a/recipes-graphics/wayland/weston-init.bbappend +++ b/recipes-graphics/wayland/weston-init.bbappend | |||
@@ -1,24 +1,24 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" |
2 | 2 | ||
3 | # OpenGL is not required for parts with GPU support for 2D but not 3D | 3 | # OpenGL is not required for parts with GPU support for 2D but not 3D |
4 | IMX_REQUIRED_DISTRO_FEATURES_REMOVE = "" | 4 | IMX_REQUIRED_DISTRO_FEATURES_REMOVE = "" |
5 | IMX_REQUIRED_DISTRO_FEATURES_REMOVE_imxgpu2d = "opengl" | 5 | IMX_REQUIRED_DISTRO_FEATURES_REMOVE:imxgpu2d = "opengl" |
6 | IMX_REQUIRED_DISTRO_FEATURES_REMOVE_imxgpu3d = "" | 6 | IMX_REQUIRED_DISTRO_FEATURES_REMOVE:imxgpu3d = "" |
7 | REQUIRED_DISTRO_FEATURES_remove = "${IMX_REQUIRED_DISTRO_FEATURES_REMOVE}" | 7 | REQUIRED_DISTRO_FEATURES:remove = "${IMX_REQUIRED_DISTRO_FEATURES_REMOVE}" |
8 | 8 | ||
9 | SRC_URI_append_mx6sl = " file://weston.config" | 9 | SRC_URI:append:mx6sl = " file://weston.config" |
10 | 10 | ||
11 | # To customize weston.ini, start by setting the desired assignment in weston.ini, | 11 | # To customize weston.ini, start by setting the desired assignment in weston.ini, |
12 | # commented out. For example: | 12 | # commented out. For example: |
13 | # #xwayland=true | 13 | # #xwayland=true |
14 | # Then add the assignment to INI_UNCOMMENT_ASSIGNMENTS. | 14 | # Then add the assignment to INI_UNCOMMENT_ASSIGNMENTS. |
15 | INI_UNCOMMENT_ASSIGNMENTS_append_imx = " \ | 15 | INI_UNCOMMENT_ASSIGNMENTS:append_imx = " \ |
16 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11 wayland', 'xwayland=true', '', d)} \ | 16 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11 wayland', 'xwayland=true', '', d)} \ |
17 | " | 17 | " |
18 | INI_UNCOMMENT_ASSIGNMENTS_append_mx8 = " \ | 18 | INI_UNCOMMENT_ASSIGNMENTS:append:mx8 = " \ |
19 | repaint-window=16 \ | 19 | repaint-window=16 \ |
20 | " | 20 | " |
21 | INI_UNCOMMENT_ASSIGNMENTS_append_mx8mq = " \ | 21 | INI_UNCOMMENT_ASSIGNMENTS:append:mx8mq = " \ |
22 | gbm-format=argb8888 \ | 22 | gbm-format=argb8888 \ |
23 | \\[shell\\] \ | 23 | \\[shell\\] \ |
24 | size=1920x1080 \ | 24 | size=1920x1080 \ |
@@ -27,10 +27,10 @@ INI_UNCOMMENT_ASSIGNMENTS_append_mx8mq = " \ | |||
27 | # FIXME: The 8QM and 8QXP SoCs have better performance without G2D so don't enable it | 27 | # FIXME: The 8QM and 8QXP SoCs have better performance without G2D so don't enable it |
28 | # Ideally, this should be seamless and Vivante ought to handle it internally and take the fastest | 28 | # Ideally, this should be seamless and Vivante ought to handle it internally and take the fastest |
29 | # rendering code. | 29 | # rendering code. |
30 | INI_UNCOMMENT_USE_G2D_imxgpu2d ?= "use-g2d=1" | 30 | INI_UNCOMMENT_USE_G2D:imxgpu2d ?= "use-g2d=1" |
31 | INI_UNCOMMENT_USE_G2D_mx8qm = "" | 31 | INI_UNCOMMENT_USE_G2D:mx8qm = "" |
32 | INI_UNCOMMENT_USE_G2D_mx8qxp = "" | 32 | INI_UNCOMMENT_USE_G2D:mx8qxp = "" |
33 | INI_UNCOMMENT_ASSIGNMENTS_append_imxgpu2d = " \ | 33 | INI_UNCOMMENT_ASSIGNMENTS:append:imxgpu2d = " \ |
34 | ${INI_UNCOMMENT_USE_G2D} \ | 34 | ${INI_UNCOMMENT_USE_G2D} \ |
35 | " | 35 | " |
36 | 36 | ||
@@ -41,7 +41,7 @@ uncomment() { | |||
41 | sed -i -e 's,^#'"$1"','"$1"',g' $2 | 41 | sed -i -e 's,^#'"$1"','"$1"',g' $2 |
42 | } | 42 | } |
43 | 43 | ||
44 | do_install_append() { | 44 | do_install:append() { |
45 | if [ -f "${WORKDIR}/weston.config" ]; then | 45 | if [ -f "${WORKDIR}/weston.config" ]; then |
46 | install -Dm0755 ${WORKDIR}/weston.config ${D}${sysconfdir}/default/weston | 46 | install -Dm0755 ${WORKDIR}/weston.config ${D}${sysconfdir}/default/weston |
47 | fi | 47 | fi |
diff --git a/recipes-graphics/wayland/weston_9.0.0.imx.bb b/recipes-graphics/wayland/weston_9.0.0.imx.bb index 026f27ce..76296c8e 100644 --- a/recipes-graphics/wayland/weston_9.0.0.imx.bb +++ b/recipes-graphics/wayland/weston_9.0.0.imx.bb | |||
@@ -20,7 +20,7 @@ SRC_URI = "https://wayland.freedesktop.org/releases/${BPN}-${PV}.tar.xz \ | |||
20 | file://0001-tests-include-fcntl.h-for-open-O_RDWR-O_CLOEXEC-and-.patch \ | 20 | file://0001-tests-include-fcntl.h-for-open-O_RDWR-O_CLOEXEC-and-.patch \ |
21 | " | 21 | " |
22 | 22 | ||
23 | SRC_URI_append_libc-musl = " file://dont-use-plane-add-prop.patch " | 23 | SRC_URI:append:libc-musl = " file://dont-use-plane-add-prop.patch " |
24 | 24 | ||
25 | SRC_URI[sha256sum] = "5cf5d6ce192e0eb15c1fc861a436bf21b5bb3b91dbdabbdebe83e1f83aa098fe" | 25 | SRC_URI[sha256sum] = "5cf5d6ce192e0eb15c1fc861a436bf21b5bb3b91dbdabbdebe83e1f83aa098fe" |
26 | 26 | ||
@@ -97,7 +97,7 @@ PACKAGECONFIG[shell-ivi] = "-Dshell-ivi=true,-Dshell-ivi=false" | |||
97 | # JPEG image loading support | 97 | # JPEG image loading support |
98 | PACKAGECONFIG[image-jpeg] = "-Dimage-jpeg=true,-Dimage-jpeg=false, jpeg" | 98 | PACKAGECONFIG[image-jpeg] = "-Dimage-jpeg=true,-Dimage-jpeg=false, jpeg" |
99 | 99 | ||
100 | do_install_append() { | 100 | do_install:append() { |
101 | # Weston doesn't need the .la files to load modules, so wipe them | 101 | # Weston doesn't need the .la files to load modules, so wipe them |
102 | rm -f ${D}/${libdir}/libweston-${WESTON_MAJOR_VERSION}/*.la | 102 | rm -f ${D}/${libdir}/libweston-${WESTON_MAJOR_VERSION}/*.la |
103 | 103 | ||
@@ -122,23 +122,23 @@ do_install_append() { | |||
122 | PACKAGES += "${@bb.utils.contains('PACKAGECONFIG', 'xwayland', '${PN}-xwayland', '', d)} \ | 122 | PACKAGES += "${@bb.utils.contains('PACKAGECONFIG', 'xwayland', '${PN}-xwayland', '', d)} \ |
123 | libweston-${WESTON_MAJOR_VERSION} ${PN}-examples" | 123 | libweston-${WESTON_MAJOR_VERSION} ${PN}-examples" |
124 | 124 | ||
125 | FILES_${PN}-dev += "${libdir}/${BPN}/libexec_weston.so" | 125 | FILES:${PN}-dev += "${libdir}/${BPN}/libexec_weston.so" |
126 | FILES_${PN} = "${bindir}/weston ${bindir}/weston-terminal ${bindir}/weston-info ${bindir}/weston-launch ${bindir}/wcap-decode ${libexecdir} ${libdir}/${BPN}/*.so* ${datadir}" | 126 | FILES:${PN} = "${bindir}/weston ${bindir}/weston-terminal ${bindir}/weston-info ${bindir}/weston-launch ${bindir}/wcap-decode ${libexecdir} ${libdir}/${BPN}/*.so* ${datadir}" |
127 | 127 | ||
128 | FILES_libweston-${WESTON_MAJOR_VERSION} = "${libdir}/lib*${SOLIBS} ${libdir}/libweston-${WESTON_MAJOR_VERSION}/*.so" | 128 | FILES:libweston-${WESTON_MAJOR_VERSION} = "${libdir}/lib*${SOLIBS} ${libdir}/libweston-${WESTON_MAJOR_VERSION}/*.so" |
129 | SUMMARY_libweston-${WESTON_MAJOR_VERSION} = "Helper library for implementing 'wayland window managers'." | 129 | SUMMARY:libweston-${WESTON_MAJOR_VERSION} = "Helper library for implementing 'wayland window managers'." |
130 | 130 | ||
131 | FILES_${PN}-examples = "${bindir}/*" | 131 | FILES:${PN}-examples = "${bindir}/*" |
132 | 132 | ||
133 | FILES_${PN}-xwayland = "${libdir}/libweston-${WESTON_MAJOR_VERSION}/xwayland.so" | 133 | FILES:${PN}-xwayland = "${libdir}/libweston-${WESTON_MAJOR_VERSION}/xwayland.so" |
134 | RDEPENDS_${PN}-xwayland += "xwayland" | 134 | RDEPENDS:${PN}-xwayland += "xwayland" |
135 | 135 | ||
136 | RDEPENDS_${PN} += "xkeyboard-config" | 136 | RDEPENDS:${PN} += "xkeyboard-config" |
137 | RRECOMMENDS_${PN} = "weston-init liberation-fonts" | 137 | RRECOMMENDS:${PN} = "weston-init liberation-fonts" |
138 | RRECOMMENDS_${PN}-dev += "wayland-protocols" | 138 | RRECOMMENDS:${PN}-dev += "wayland-protocols" |
139 | 139 | ||
140 | USERADD_PACKAGES = "${PN}" | 140 | USERADD_PACKAGES = "${PN}" |
141 | GROUPADD_PARAM_${PN} = "--system weston-launch" | 141 | GROUPADD_PARAM:${PN} = "--system weston-launch" |
142 | 142 | ||
143 | ########### End of OE-core copy ########### | 143 | ########### End of OE-core copy ########### |
144 | 144 | ||
@@ -160,23 +160,23 @@ S = "${WORKDIR}/git" | |||
160 | 160 | ||
161 | # Disable OpenGL for parts with GPU support for 2D but not 3D | 161 | # Disable OpenGL for parts with GPU support for 2D but not 3D |
162 | REQUIRED_DISTRO_FEATURES = "opengl" | 162 | REQUIRED_DISTRO_FEATURES = "opengl" |
163 | REQUIRED_DISTRO_FEATURES_imxgpu2d = "" | 163 | REQUIRED_DISTRO_FEATURES:imxgpu2d = "" |
164 | REQUIRED_DISTRO_FEATURES_imxgpu3d = "opengl" | 164 | REQUIRED_DISTRO_FEATURES:imxgpu3d = "opengl" |
165 | PACKAGECONFIG_OPENGL = "opengl" | 165 | PACKAGECONFIG_OPENGL = "opengl" |
166 | PACKAGECONFIG_OPENGL_imxgpu2d = "" | 166 | PACKAGECONFIG_OPENGL:imxgpu2d = "" |
167 | PACKAGECONFIG_OPENGL_imxgpu3d = "opengl" | 167 | PACKAGECONFIG_OPENGL:imxgpu3d = "opengl" |
168 | 168 | ||
169 | PACKAGECONFIG_remove = "wayland x11" | 169 | PACKAGECONFIG:remove = "wayland x11" |
170 | PACKAGECONFIG_append = " ${@bb.utils.filter('DISTRO_FEATURES', '${PACKAGECONFIG_OPENGL}', d)}" | 170 | PACKAGECONFIG:append = " ${@bb.utils.filter('DISTRO_FEATURES', '${PACKAGECONFIG_OPENGL}', d)}" |
171 | 171 | ||
172 | PACKAGECONFIG_remove_imxfbdev = "kms" | 172 | PACKAGECONFIG:remove:imxfbdev = "kms" |
173 | PACKAGECONFIG_append_imxfbdev = " fbdev clients" | 173 | PACKAGECONFIG:append:imxfbdev = " fbdev clients" |
174 | PACKAGECONFIG_append_imxgpu = " imxgpu" | 174 | PACKAGECONFIG:append:imxgpu = " imxgpu" |
175 | PACKAGECONFIG_append_imxgpu2d = " imxg2d" | 175 | PACKAGECONFIG:append:imxgpu2d = " imxg2d" |
176 | 176 | ||
177 | # Clients support | 177 | # Clients support |
178 | SIMPLE_CLIENTS = "all" | 178 | SIMPLE_CLIENTS = "all" |
179 | SIMPLE_CLIENTS_imxfbdev = "damage,im,egl,shm,touch,dmabuf-v4l" | 179 | SIMPLE_CLIENTS:imxfbdev = "damage,im,egl,shm,touch,dmabuf-v4l" |
180 | PACKAGECONFIG[xwayland] = "-Dxwayland=true,-Dxwayland=false,libxcursor" | 180 | PACKAGECONFIG[xwayland] = "-Dxwayland=true,-Dxwayland=false,libxcursor" |
181 | PACKAGECONFIG[clients] = "-Dsimple-clients=${SIMPLE_CLIENTS} -Ddemo-clients=true,-Dsimple-clients= -Ddemo-clients=false" | 181 | PACKAGECONFIG[clients] = "-Dsimple-clients=${SIMPLE_CLIENTS} -Ddemo-clients=true,-Dsimple-clients= -Ddemo-clients=false" |
182 | # Weston with i.MX GPU support | 182 | # Weston with i.MX GPU support |
diff --git a/recipes-graphics/xinput-calibrator/pointercal-xinput_%.bbappend b/recipes-graphics/xinput-calibrator/pointercal-xinput_%.bbappend index a9c60f3e..d112b274 100644 --- a/recipes-graphics/xinput-calibrator/pointercal-xinput_%.bbappend +++ b/recipes-graphics/xinput-calibrator/pointercal-xinput_%.bbappend | |||
@@ -1,2 +1,2 @@ | |||
1 | # Append path for freescale layer to include bsp pointercal.xinput | 1 | # Append path for freescale layer to include bsp pointercal.xinput |
2 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | 2 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" |
diff --git a/recipes-graphics/xorg-driver/xf86-video-imx-vivante_6.4.0.p0.0.bb b/recipes-graphics/xorg-driver/xf86-video-imx-vivante_6.4.0.p0.0.bb index 069008c0..6944184f 100644 --- a/recipes-graphics/xorg-driver/xf86-video-imx-vivante_6.4.0.p0.0.bb +++ b/recipes-graphics/xorg-driver/xf86-video-imx-vivante_6.4.0.p0.0.bb | |||
@@ -34,7 +34,7 @@ TARGET_CC_ARCH += "${LDFLAGS}" | |||
34 | 34 | ||
35 | PACKAGES =+ "xserver-xorg-extension-viv-autohdmi" | 35 | PACKAGES =+ "xserver-xorg-extension-viv-autohdmi" |
36 | 36 | ||
37 | do_install_append () { | 37 | do_install:append () { |
38 | install -d ${D}${includedir} | 38 | install -d ${D}${includedir} |
39 | cp -axr ${S}/EXA/src/vivante_gal/vivante_priv.h ${D}${includedir} | 39 | cp -axr ${S}/EXA/src/vivante_gal/vivante_priv.h ${D}${includedir} |
40 | cp -axr ${S}/EXA/src/vivante_gal/vivante_gal.h ${D}${includedir} | 40 | cp -axr ${S}/EXA/src/vivante_gal/vivante_gal.h ${D}${includedir} |
@@ -45,7 +45,7 @@ do_install_append () { | |||
45 | find ${D}${includedir} -type f -exec chmod 660 {} \; | 45 | find ${D}${includedir} -type f -exec chmod 660 {} \; |
46 | } | 46 | } |
47 | 47 | ||
48 | RDEPENDS_${PN} += "libvivante-dri-imx \ | 48 | RDEPENDS:${PN} += "libvivante-dri-imx \ |
49 | xserver-xorg-module-exa \ | 49 | xserver-xorg-module-exa \ |
50 | mesa-driver-swrast \ | 50 | mesa-driver-swrast \ |
51 | xserver-xorg-extension-dri \ | 51 | xserver-xorg-extension-dri \ |
@@ -55,11 +55,11 @@ RDEPENDS_${PN} += "libvivante-dri-imx \ | |||
55 | REALSOLIBS := "${SOLIBS}" | 55 | REALSOLIBS := "${SOLIBS}" |
56 | SOLIBS = "${SOLIBSDEV}" | 56 | SOLIBS = "${SOLIBSDEV}" |
57 | 57 | ||
58 | FILES_${PN} = "${libdir}/*/*/*/vivante_drv${SOLIBS}" | 58 | FILES:${PN} = "${libdir}/*/*/*/vivante_drv${SOLIBS}" |
59 | FILES_${PN}-dev = "${includedir} /usr/src ${libdir}/libfsl_x11_ext${SOLIBSDEV}" | 59 | FILES:${PN}-dev = "${includedir} /usr/src ${libdir}/libfsl_x11_ext${SOLIBSDEV}" |
60 | FILES_${PN}-dbg = "${libdir}/*/*/*/.debug ${libdir}/.debug/libfsl_x11_ext${SOLIBS} ${exec_prefix}/bin/.debug/autohdmi" | 60 | FILES:${PN}-dbg = "${libdir}/*/*/*/.debug ${libdir}/.debug/libfsl_x11_ext${SOLIBS} ${exec_prefix}/bin/.debug/autohdmi" |
61 | 61 | ||
62 | FILES_xserver-xorg-extension-viv-autohdmi = " ${libdir}/libfsl_x11_ext${SOLIBS} ${exec_prefix}/bin/autohdmi ${sysconfdir}/init.d/rc.autohdmi" | 62 | FILES:xserver-xorg-extension-viv-autohdmi = " ${libdir}/libfsl_x11_ext${SOLIBS} ${exec_prefix}/bin/autohdmi ${sysconfdir}/init.d/rc.autohdmi" |
63 | 63 | ||
64 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" | 64 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" |
65 | COMPATIBLE_MACHINE = "(mx6|mx7ulp)" | 65 | COMPATIBLE_MACHINE = "(mx6|mx7ulp)" |
diff --git a/recipes-graphics/xorg-xserver/xserver-xf86-config_%.bbappend b/recipes-graphics/xorg-xserver/xserver-xf86-config_%.bbappend index ceb438e3..3fe677b3 100644 --- a/recipes-graphics/xorg-xserver/xserver-xf86-config_%.bbappend +++ b/recipes-graphics/xorg-xserver/xserver-xf86-config_%.bbappend | |||
@@ -1,2 +1,2 @@ | |||
1 | # Append path for freescale layer to include bsp xorg.conf | 1 | # Append path for freescale layer to include bsp xorg.conf |
2 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | 2 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" |
diff --git a/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend b/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend index 22d950c7..c7b7e879 100644 --- a/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend +++ b/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend | |||
@@ -1,7 +1,7 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:" | 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}:" |
2 | 2 | ||
3 | SRC_URI_append_use-mainline-bsp = " file://0001-Allow-to-enable-atomic-in-modesetting-DDX.patch" | 3 | SRC_URI:append:use-mainline-bsp = " file://0001-Allow-to-enable-atomic-in-modesetting-DDX.patch" |
4 | SRC_URI_append_imxgpu = " \ | 4 | SRC_URI:append:imxgpu = " \ |
5 | file://0003-Remove-check-for-useSIGIO-option.patch \ | 5 | file://0003-Remove-check-for-useSIGIO-option.patch \ |
6 | file://0001-MGS-5186-Per-Specification-EGL_NATIVE_PIXMAP_KHR-req.patch \ | 6 | file://0001-MGS-5186-Per-Specification-EGL_NATIVE_PIXMAP_KHR-req.patch \ |
7 | file://0001-glamor-glamor_egl.c-EGL_NATIVE_PIXMAP_KHR-do-not-req.patch \ | 7 | file://0001-glamor-glamor_egl.c-EGL_NATIVE_PIXMAP_KHR-do-not-req.patch \ |
@@ -10,7 +10,7 @@ SRC_URI_append_imxgpu = " \ | |||
10 | " | 10 | " |
11 | 11 | ||
12 | IMX_OPENGL_PKGCONFIGS_REMOVE = "" | 12 | IMX_OPENGL_PKGCONFIGS_REMOVE = "" |
13 | IMX_OPENGL_PKGCONFIGS_REMOVE_imxgpu = "glamor" | 13 | IMX_OPENGL_PKGCONFIGS_REMOVE:imxgpu = "glamor" |
14 | OPENGL_PKGCONFIGS_remove_mx6 = "${IMX_OPENGL_PKGCONFIGS_REMOVE}" | 14 | OPENGL_PKGCONFIGS:remove:mx6 = "${IMX_OPENGL_PKGCONFIGS_REMOVE}" |
15 | OPENGL_PKGCONFIGS_remove_mx7 = "${IMX_OPENGL_PKGCONFIGS_REMOVE}" | 15 | OPENGL_PKGCONFIGS:remove:mx7 = "${IMX_OPENGL_PKGCONFIGS_REMOVE}" |
16 | OPENGL_PKGCONFIGS_remove_imxdrm = "dri glx" | 16 | OPENGL_PKGCONFIGS:remove_imxdrm = "dri glx" |
diff --git a/recipes-graphics/xwayland/xwayland_%.bbappend b/recipes-graphics/xwayland/xwayland_%.bbappend index c26bb20d..b3e79e09 100644 --- a/recipes-graphics/xwayland/xwayland_%.bbappend +++ b/recipes-graphics/xwayland/xwayland_%.bbappend | |||
@@ -1,4 +1,4 @@ | |||
1 | IMX_OPENGL_PKGCONFIGS_REMOVE = "" | 1 | IMX_OPENGL_PKGCONFIGS_REMOVE = "" |
2 | IMX_OPENGL_PKGCONFIGS_REMOVE_imxgpu = "glamor" | 2 | IMX_OPENGL_PKGCONFIGS_REMOVE:imxgpu = "glamor" |
3 | OPENGL_PKGCONFIGS_remove_mx6 = "${IMX_OPENGL_PKGCONFIGS_REMOVE}" | 3 | OPENGL_PKGCONFIGS:remove:mx6 = "${IMX_OPENGL_PKGCONFIGS_REMOVE}" |
4 | OPENGL_PKGCONFIGS_remove_mx7 = "${IMX_OPENGL_PKGCONFIGS_REMOVE}" | 4 | OPENGL_PKGCONFIGS:remove:mx7 = "${IMX_OPENGL_PKGCONFIGS_REMOVE}" |