diff options
Diffstat (limited to 'recipes-graphics/imx-g2d/imx-g2d-samples_git.bb')
-rw-r--r-- | recipes-graphics/imx-g2d/imx-g2d-samples_git.bb | 34 |
1 files changed, 30 insertions, 4 deletions
diff --git a/recipes-graphics/imx-g2d/imx-g2d-samples_git.bb b/recipes-graphics/imx-g2d/imx-g2d-samples_git.bb index 8368aefc..46bd3a55 100644 --- a/recipes-graphics/imx-g2d/imx-g2d-samples_git.bb +++ b/recipes-graphics/imx-g2d/imx-g2d-samples_git.bb | |||
@@ -10,15 +10,39 @@ PV = "2.1+git${SRCPV}" | |||
10 | SRC_URI = "${GPU_G2D_SAMPLES_SRC};branch=${SRCBRANCH}" | 10 | SRC_URI = "${GPU_G2D_SAMPLES_SRC};branch=${SRCBRANCH}" |
11 | GPU_G2D_SAMPLES_SRC ?= "git://github.com/nxpmicro/g2d-samples.git;protocol=https" | 11 | GPU_G2D_SAMPLES_SRC ?= "git://github.com/nxpmicro/g2d-samples.git;protocol=https" |
12 | SRCBRANCH ?= "imx_2.1" | 12 | SRCBRANCH ?= "imx_2.1" |
13 | SRCREV = "3268f291a15b2d8d5f650f627764a52eb0a8fc15" | 13 | SRCREV = "5a38513b97ff83b46777cf73da3cbe37b4976498" |
14 | 14 | ||
15 | S = "${WORKDIR}/git" | 15 | S = "${WORKDIR}/git" |
16 | 16 | ||
17 | inherit pkgconfig | 17 | inherit pkgconfig |
18 | 18 | ||
19 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)}" | 19 | PACKAGECONFIG ??= "${PACKAGECONFIG_IMPLEMENTATION}" |
20 | 20 | PACKAGECONFIG_IMPLEMENTATION = "" | |
21 | PACKAGECONFIG[wayland] = "USE_WAYLAND=true,USE_WAYLAND=false,wayland-native wayland-protocols" | 21 | PACKAGECONFIG_IMPLEMENTATION:imxgpu2d:imxdpu = "dpu" |
22 | PACKAGECONFIG_IMPLEMENTATION:imxgpu2d = "gpu-drm" | ||
23 | PACKAGECONFIG_IMPLEMENTATION:imxgpu2d:imxfbdev = "gpu-fbdev" | ||
24 | |||
25 | PACKAGECONFIG[dpu] = " \ | ||
26 | BUILD_IMPLEMENTATION=dpu, \ | ||
27 | , \ | ||
28 | imx-dpu-g2d wayland-native wayland-protocols, \ | ||
29 | , \ | ||
30 | , \ | ||
31 | gpu-drm gpu-fbdev" | ||
32 | PACKAGECONFIG[gpu-drm] = " \ | ||
33 | BUILD_IMPLEMENTATION=gpu-drm, \ | ||
34 | , \ | ||
35 | imx-gpu-g2d wayland-native wayland-protocols, \ | ||
36 | , \ | ||
37 | , \ | ||
38 | dpu gpu-fbdev" | ||
39 | PACKAGECONFIG[gpu-fbdev] = " \ | ||
40 | BUILD_IMPLEMENTATION=gpu-fbdev, \ | ||
41 | , \ | ||
42 | imx-gpu-g2d, \ | ||
43 | , \ | ||
44 | , \ | ||
45 | dpu gpu-drm" | ||
22 | 46 | ||
23 | EXTRA_OEMAKE += " \ | 47 | EXTRA_OEMAKE += " \ |
24 | SDKTARGETSYSROOT=${STAGING_DIR_HOST} \ | 48 | SDKTARGETSYSROOT=${STAGING_DIR_HOST} \ |
@@ -31,4 +55,6 @@ do_install() { | |||
31 | 55 | ||
32 | FILES:${PN} += "/opt" | 56 | FILES:${PN} += "/opt" |
33 | 57 | ||
58 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" | ||
59 | |||
34 | COMPATIBLE_MACHINE = "(imxgpu2d)" | 60 | COMPATIBLE_MACHINE = "(imxgpu2d)" |