diff options
58 files changed, 340 insertions, 26 deletions
diff --git a/classes/fsl-kernel-localversion.bbclass b/classes/fsl-kernel-localversion.bbclass index d4322e25..98fcfa05 100644 --- a/classes/fsl-kernel-localversion.bbclass +++ b/classes/fsl-kernel-localversion.bbclass | |||
@@ -20,7 +20,7 @@ do_kernel_localversion() { | |||
20 | 20 | ||
21 | # Fallback for recipes not able to use LINUX_VERSION_EXTENSION | 21 | # Fallback for recipes not able to use LINUX_VERSION_EXTENSION |
22 | if [ "${@bb.data.inherits_class('kernel-yocto', d)}" = "False" ]; then | 22 | if [ "${@bb.data.inherits_class('kernel-yocto', d)}" = "False" ]; then |
23 | echo "CONFIG_LOCALVERSION=${LOCALVERSION}" >> ${B}/.config | 23 | echo 'CONFIG_LOCALVERSION="${LOCALVERSION}"' >> ${B}/.config |
24 | fi | 24 | fi |
25 | 25 | ||
26 | if [ "${SCMVERSION}" = "y" ]; then | 26 | if [ "${SCMVERSION}" = "y" ]; then |
diff --git a/classes/mfgtool-initramfs-image.bbclass b/classes/mfgtool-initramfs-image.bbclass index 185863ce..f338bf82 100644 --- a/classes/mfgtool-initramfs-image.bbclass +++ b/classes/mfgtool-initramfs-image.bbclass | |||
@@ -16,6 +16,7 @@ ZSTD_COMPRESSION_LEVEL ?= "-10" | |||
16 | SOC_DEFAULT_IMAGE_FSTYPES = "cpio.zst.u-boot" | 16 | SOC_DEFAULT_IMAGE_FSTYPES = "cpio.zst.u-boot" |
17 | SOC_DEFAULT_IMAGE_FSTYPES:mxs-generic-bsp = "cpio.gz.u-boot" | 17 | SOC_DEFAULT_IMAGE_FSTYPES:mxs-generic-bsp = "cpio.gz.u-boot" |
18 | IMAGE_ROOTFS_SIZE ?= "8192" | 18 | IMAGE_ROOTFS_SIZE ?= "8192" |
19 | IMAGE_NAME_SUFFIX = "" | ||
19 | 20 | ||
20 | # Filesystems enabled by default | 21 | # Filesystems enabled by default |
21 | DEFAULT_FS_SUPPORT = " \ | 22 | DEFAULT_FS_SUPPORT = " \ |
diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc index 18fe65f6..990b965d 100644 --- a/conf/machine/include/imx-base.inc +++ b/conf/machine/include/imx-base.inc | |||
@@ -249,7 +249,7 @@ MACHINEOVERRIDES_EXTENDER:mx8dxl:use-mainline-bsp = "imx-generic-bsp:imx-mainlin | |||
249 | 249 | ||
250 | MACHINEOVERRIDES_EXTENDER:mx8ulp:use-mainline-bsp = "imx-generic-bsp:imx-mainline-bsp:mx8-generic-bsp:mx8-mainline-bsp:mx8ulp-generic-bsp:mx8ulp-mainline-bsp" | 250 | MACHINEOVERRIDES_EXTENDER:mx8ulp:use-mainline-bsp = "imx-generic-bsp:imx-mainline-bsp:mx8-generic-bsp:mx8-mainline-bsp:mx8ulp-generic-bsp:mx8ulp-mainline-bsp" |
251 | 251 | ||
252 | MACHINEOVERRIDES_EXTENDER:mx93:use-mainline-bsp = "imx-generic-bsp:imx-mainline-bsp:imxdrm:imxpxp:mx9-generic-bsp:mx9-mainline-bsp:mx93-generic-bsp:mx93-mainline-bsp" | 252 | MACHINEOVERRIDES_EXTENDER:mx93:use-mainline-bsp = "imx-generic-bsp:imx-mainline-bsp:mx9-generic-bsp:mx9-mainline-bsp:mx93-generic-bsp:mx93-mainline-bsp" |
253 | 253 | ||
254 | MACHINEOVERRIDES_EXTENDER_FILTER_OUT = " \ | 254 | MACHINEOVERRIDES_EXTENDER_FILTER_OUT = " \ |
255 | mx6 \ | 255 | mx6 \ |
@@ -329,6 +329,7 @@ MACHINE_SOCARCH_FILTER:append:imxvulkan = " \ | |||
329 | vulkan-headers \ | 329 | vulkan-headers \ |
330 | vulkan-loader \ | 330 | vulkan-loader \ |
331 | vulkan-tools \ | 331 | vulkan-tools \ |
332 | vulkan-validation-layers \ | ||
332 | " | 333 | " |
333 | MACHINE_SOCARCH_FILTER:append:imxgpu = " \ | 334 | MACHINE_SOCARCH_FILTER:append:imxgpu = " \ |
334 | virtual/egl \ | 335 | virtual/egl \ |
@@ -526,6 +527,9 @@ PREFERRED_VERSION_wayland-protocols:mx7-nxp-bsp ??= "1.31.imx" | |||
526 | PREFERRED_VERSION_wayland-protocols:mx8-nxp-bsp ??= "1.31.imx" | 527 | PREFERRED_VERSION_wayland-protocols:mx8-nxp-bsp ??= "1.31.imx" |
527 | PREFERRED_VERSION_wayland-protocols:mx9-nxp-bsp ??= "1.31.imx" | 528 | PREFERRED_VERSION_wayland-protocols:mx9-nxp-bsp ??= "1.31.imx" |
528 | 529 | ||
530 | PREFERRED_VERSION_wayland-native ??= "1.22.0.imx" | ||
531 | PREFERRED_VERSION_nativesdk-wayland ??= "1.22.0.imx" | ||
532 | PREFERRED_VERSION_wayland:imx-nxp-bsp ??= "1.22.0.imx" | ||
529 | PREFERRED_VERSION_xwayland:imx-nxp-bsp ??= "23.1.1.imx" | 533 | PREFERRED_VERSION_xwayland:imx-nxp-bsp ??= "23.1.1.imx" |
530 | 534 | ||
531 | # Use i.MX libdrm Version | 535 | # Use i.MX libdrm Version |
@@ -534,9 +538,10 @@ PREFERRED_VERSION_libdrm:mx7-nxp-bsp ??= "2.4.114.imx" | |||
534 | PREFERRED_VERSION_libdrm:mx8-nxp-bsp ??= "2.4.114.imx" | 538 | PREFERRED_VERSION_libdrm:mx8-nxp-bsp ??= "2.4.114.imx" |
535 | PREFERRED_VERSION_libdrm:mx9-nxp-bsp ??= "2.4.114.imx" | 539 | PREFERRED_VERSION_libdrm:mx9-nxp-bsp ??= "2.4.114.imx" |
536 | 540 | ||
537 | PREFERRED_VERSION_vulkan-headers:imxvulkan ??= "1.2.182.0" | 541 | PREFERRED_VERSION_vulkan-headers:imxvulkan ??= "1.2.182.0.imx" |
538 | PREFERRED_VERSION_vulkan-loader:imxvulkan ??= "1.2.182.0" | 542 | PREFERRED_VERSION_vulkan-loader:imxvulkan ??= "1.2.182.0.imx" |
539 | PREFERRED_VERSION_vulkan-tools:imxvulkan ??= "1.2.182.0" | 543 | PREFERRED_VERSION_vulkan-tools:imxvulkan ??= "1.2.182.0.imx" |
544 | PREFERRED_VERSION_vulkan-validation-layers:imxvulkan ??= "1.2.182.0.imx" | ||
540 | 545 | ||
541 | # Use i.MX optee Version | 546 | # Use i.MX optee Version |
542 | PREFERRED_VERSION_optee-os:mx8-nxp-bsp ??= "3.19.0.imx" | 547 | PREFERRED_VERSION_optee-os:mx8-nxp-bsp ??= "3.19.0.imx" |
diff --git a/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb b/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb index 0b5031d5..62a71772 100644 --- a/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb +++ b/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb | |||
@@ -1,13 +1,13 @@ | |||
1 | SUMMARY = "Frame Manager Configuration tool" | 1 | SUMMARY = "Frame Manager Configuration tool" |
2 | LICENSE = "MIT" | 2 | LICENSE = "MIT" |
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=a504ab5a8ff235e67c7301214749346c" | 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=a504ab5a8ff235e67c7301214749346c" |
4 | 4 | ||
5 | PR = "r2" | 5 | PR = "r2" |
6 | 6 | ||
7 | DEPENDS = "libxml2 fmlib tclap" | 7 | DEPENDS = "libxml2 fmlib tclap" |
8 | 8 | ||
9 | SRC_URI = "git://github.com/nxp-qoriq/fmc;protocol=https;nobranch=1" | 9 | SRC_URI = "git://github.com/nxp-qoriq/fmc;protocol=https;nobranch=1" |
10 | SRCREV = "c2ed7c269e86ac6a0aac361f5876c96e700443f4" | 10 | SRCREV = "63c8ac99899a9bcd723801579b4d786594670455" |
11 | 11 | ||
12 | S = "${WORKDIR}/git" | 12 | S = "${WORKDIR}/git" |
13 | 13 | ||
diff --git a/dynamic-layers/openembedded-layer/recipes-multimedia/mpv/mpv_%.bbappend b/dynamic-layers/openembedded-layer/recipes-multimedia/mpv/mpv_%.bbappend new file mode 100644 index 00000000..5cf6d411 --- /dev/null +++ b/dynamic-layers/openembedded-layer/recipes-multimedia/mpv/mpv_%.bbappend | |||
@@ -0,0 +1,2 @@ | |||
1 | # testbuild/../test.c:10: undefined reference to `glXCreateContext' | ||
2 | PACKAGECONFIG:remove:imxgpu = "x11" | ||
diff --git a/recipes-bsp/alsa-state/alsa-state.bbappend b/recipes-bsp/alsa-state/alsa-state.bbappend index 1b05b7bd..b6194d76 100644 --- a/recipes-bsp/alsa-state/alsa-state.bbappend +++ b/recipes-bsp/alsa-state/alsa-state.bbappend | |||
@@ -1,4 +1,4 @@ | |||
1 | # Prepend path to override files from upstream recipe | 1 | # Prepend path to override files from upstream recipe |
2 | FILESEXTRAPATHS:prepend:imx-generic-bsp := "${THISDIR}/${PN}/imx-generic-bsp:" | 2 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" |
3 | 3 | ||
4 | PACKAGE_ARCH:imx-generic-bsp = "${MACHINE_ARCH}" | 4 | PACKAGE_ARCH:imx-generic-bsp = "${MACHINE_ARCH}" |
diff --git a/recipes-bsp/atf/qoriq-atf/tf-a-tests-no-warn-rwx-segments.patch b/recipes-bsp/atf/qoriq-atf/tf-a-tests-no-warn-rwx-segments.patch index 8412499e..a8801082 100644 --- a/recipes-bsp/atf/qoriq-atf/tf-a-tests-no-warn-rwx-segments.patch +++ b/recipes-bsp/atf/qoriq-atf/tf-a-tests-no-warn-rwx-segments.patch | |||
@@ -11,6 +11,7 @@ There is a ticket filed upstream[2], so until that is resolved just disable the | |||
11 | [1] https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=ba951afb99912da01a6e8434126b8fac7aa75107 | 11 | [1] https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=ba951afb99912da01a6e8434126b8fac7aa75107 |
12 | [2] https://developer.trustedfirmware.org/T996 | 12 | [2] https://developer.trustedfirmware.org/T996 |
13 | 13 | ||
14 | Upstream-Status: Backport [https://review.trustedfirmware.org/c/TF-A/trusted-firmware-a/+/19401] | ||
14 | Signed-off-by: Jun Zhu <junzhu@nxp.com> | 15 | Signed-off-by: Jun Zhu <junzhu@nxp.com> |
15 | --- | 16 | --- |
16 | Makefile | 2 +- | 17 | Makefile | 2 +- |
diff --git a/recipes-bsp/boot-format/boot-format/flags.patch b/recipes-bsp/boot-format/boot-format/flags.patch index cddb34cd..0a64b86b 100644 --- a/recipes-bsp/boot-format/boot-format/flags.patch +++ b/recipes-bsp/boot-format/boot-format/flags.patch | |||
@@ -1,3 +1,10 @@ | |||
1 | Respect LDFLAGS from environment | ||
2 | |||
3 | This fixes cross build using OE | ||
4 | |||
5 | Upstream-Status: Pending | ||
6 | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> | ||
7 | |||
1 | Index: git/Makefile | 8 | Index: git/Makefile |
2 | =================================================================== | 9 | =================================================================== |
3 | --- git.orig/Makefile | 10 | --- git.orig/Makefile |
diff --git a/recipes-bsp/imx-atf/imx-atf_2.6.bb b/recipes-bsp/imx-atf/imx-atf_2.6.bb index ea83b9e8..40b13fff 100644 --- a/recipes-bsp/imx-atf/imx-atf_2.6.bb +++ b/recipes-bsp/imx-atf/imx-atf_2.6.bb | |||
@@ -48,7 +48,7 @@ def remove_options_tail (in_string): | |||
48 | from itertools import takewhile | 48 | from itertools import takewhile |
49 | return ' '.join(takewhile(lambda x: not x.startswith('-'), in_string.split(' '))) | 49 | return ' '.join(takewhile(lambda x: not x.startswith('-'), in_string.split(' '))) |
50 | 50 | ||
51 | EXTRA_OEMAKE += 'LD="${@remove_options_tail(d.getVar('LD'))}"' | 51 | EXTRA_OEMAKE += 'LD="${@remove_options_tail(d.getVar('LD'))}.bfd"' |
52 | 52 | ||
53 | EXTRA_OEMAKE += 'CC="${@remove_options_tail(d.getVar('CC'))}"' | 53 | EXTRA_OEMAKE += 'CC="${@remove_options_tail(d.getVar('CC'))}"' |
54 | 54 | ||
diff --git a/recipes-bsp/imx-kobs/imx-kobs/0001-Add-missing-includes-as-pointed-out-by-musl.patch b/recipes-bsp/imx-kobs/imx-kobs/0001-Add-missing-includes-as-pointed-out-by-musl.patch index 9c86f074..297e64e2 100644 --- a/recipes-bsp/imx-kobs/imx-kobs/0001-Add-missing-includes-as-pointed-out-by-musl.patch +++ b/recipes-bsp/imx-kobs/imx-kobs/0001-Add-missing-includes-as-pointed-out-by-musl.patch | |||
@@ -6,6 +6,7 @@ Subject: [PATCH] Add missing includes as pointed out by musl | |||
6 | These headers are indrectly included when building with | 6 | These headers are indrectly included when building with |
7 | glibc, this is exposed when compiling with musl systems | 7 | glibc, this is exposed when compiling with musl systems |
8 | 8 | ||
9 | Upstream-Status: Pending | ||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
10 | --- | 11 | --- |
11 | src/mtd.h | 3 +++ | 12 | src/mtd.h | 3 +++ |
diff --git a/recipes-bsp/imx-sc-firmware/imx-sc-firmware_1.15.0.bb b/recipes-bsp/imx-sc-firmware/imx-sc-firmware_1.15.0.bb index 7da55ddb..24236a16 100644 --- a/recipes-bsp/imx-sc-firmware/imx-sc-firmware_1.15.0.bb +++ b/recipes-bsp/imx-sc-firmware/imx-sc-firmware_1.15.0.bb | |||
@@ -38,4 +38,6 @@ INHIBIT_PACKAGE_STRIP = "1" | |||
38 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | 38 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" |
39 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 39 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
40 | 40 | ||
41 | LDFLAGS:remove = "-fuse-ld=lld" | ||
42 | |||
41 | COMPATIBLE_MACHINE = "(mx8qm-generic-bsp|mx8qxp-generic-bsp|mx8dxl-generic-bsp|mx8dx-generic-bsp)" | 43 | COMPATIBLE_MACHINE = "(mx8qm-generic-bsp|mx8qxp-generic-bsp|mx8dxl-generic-bsp|mx8dx-generic-bsp)" |
diff --git a/recipes-bsp/isp-imx/basler-camera_4.2.2.21.0.bb b/recipes-bsp/isp-imx/basler-camera_4.2.2.21.0.bb index 78a666c6..9eaa11b8 100644 --- a/recipes-bsp/isp-imx/basler-camera_4.2.2.21.0.bb +++ b/recipes-bsp/isp-imx/basler-camera_4.2.2.21.0.bb | |||
@@ -12,6 +12,10 @@ SRC_URI[md5sum] = "4e33adeb8a43f5bd06703368721085f5" | |||
12 | SRC_URI[sha256sum] = "c44fc890902d9d8ef22186d56af035c9cac182817525e64575e3b79015383790" | 12 | SRC_URI[sha256sum] = "c44fc890902d9d8ef22186d56af035c9cac182817525e64575e3b79015383790" |
13 | 13 | ||
14 | do_install() { | 14 | do_install() { |
15 | # provided by the isp-imx package, do not install them here additionally | ||
16 | rm -f ${S}/opt/imx8-isp/bin/dewarp_config/sensor_dwe_os08a20_1080P_config.json | ||
17 | rm -f ${S}/opt/imx8-isp/bin/dewarp_config/sensor_dwe_os08a20_4K_config.json | ||
18 | |||
15 | dest_dir=${D}/opt/imx8-isp/bin | 19 | dest_dir=${D}/opt/imx8-isp/bin |
16 | install -d ${D}/${libdir} | 20 | install -d ${D}/${libdir} |
17 | install -d $dest_dir | 21 | install -d $dest_dir |
diff --git a/recipes-bsp/mxsldr/mxsldr/0001-Do-not-ignore-OE-cflags-and-ldflags.patch b/recipes-bsp/mxsldr/mxsldr/0001-Do-not-ignore-OE-cflags-and-ldflags.patch index c8c8413a..e1be2318 100644 --- a/recipes-bsp/mxsldr/mxsldr/0001-Do-not-ignore-OE-cflags-and-ldflags.patch +++ b/recipes-bsp/mxsldr/mxsldr/0001-Do-not-ignore-OE-cflags-and-ldflags.patch | |||
@@ -3,6 +3,7 @@ From: Khem Raj <raj.khem@gmail.com> | |||
3 | Date: Tue, 25 Sep 2018 01:23:02 -0700 | 3 | Date: Tue, 25 Sep 2018 01:23:02 -0700 |
4 | Subject: [PATCH] Do not ignore OE cflags and ldflags | 4 | Subject: [PATCH] Do not ignore OE cflags and ldflags |
5 | 5 | ||
6 | Upstream-Status: Pending | ||
6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
7 | --- | 8 | --- |
8 | Makefile | 4 ++-- | 9 | Makefile | 4 ++-- |
diff --git a/recipes-downgrade/vulkan/vulkan-headers_1.2.182.0.bb b/recipes-downgrade/vulkan/vulkan-headers_1.2.182.0.imx.bb index 7c7d3e39..7c7d3e39 100644 --- a/recipes-downgrade/vulkan/vulkan-headers_1.2.182.0.bb +++ b/recipes-downgrade/vulkan/vulkan-headers_1.2.182.0.imx.bb | |||
diff --git a/recipes-downgrade/vulkan/vulkan-loader_1.2.182.0.bb b/recipes-downgrade/vulkan/vulkan-loader_1.2.182.0.imx.bb index e7b38222..e7b38222 100644 --- a/recipes-downgrade/vulkan/vulkan-loader_1.2.182.0.bb +++ b/recipes-downgrade/vulkan/vulkan-loader_1.2.182.0.imx.bb | |||
diff --git a/recipes-downgrade/vulkan/vulkan-tools_1.2.182.0.bb b/recipes-downgrade/vulkan/vulkan-tools_1.2.182.0.imx.bb index 242b8973..242b8973 100644 --- a/recipes-downgrade/vulkan/vulkan-tools_1.2.182.0.bb +++ b/recipes-downgrade/vulkan/vulkan-tools_1.2.182.0.imx.bb | |||
diff --git a/recipes-downgrade/vulkan/vulkan-validation-layers_1.2.182.0.imx.bb b/recipes-downgrade/vulkan/vulkan-validation-layers_1.2.182.0.imx.bb new file mode 100644 index 00000000..d72a22f5 --- /dev/null +++ b/recipes-downgrade/vulkan/vulkan-validation-layers_1.2.182.0.imx.bb | |||
@@ -0,0 +1,52 @@ | |||
1 | SUMMARY = "Vulkan Validation layers" | ||
2 | DESCRIPTION = "Khronos official Vulkan validation layers to assist developers \ | ||
3 | in verifying that their applications correctly use the Vulkan API" | ||
4 | HOMEPAGE = "https://www.khronos.org/vulkan/" | ||
5 | BUGTRACKER = "https://github.com/KhronosGroup/Vulkan-ValidationLayers" | ||
6 | SECTION = "libs" | ||
7 | |||
8 | LICENSE = "Apache-2.0" | ||
9 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=8df9e8826734226d08cb412babfa599c" | ||
10 | |||
11 | SRC_URI = "git://git@github.com/KhronosGroup/Vulkan-ValidationLayers.git;branch=sdk-1.2.182;protocol=https" | ||
12 | SRCREV = "91fcffa8eca1a9573c8d736a54a028035ed4e06c" | ||
13 | |||
14 | S = "${WORKDIR}/git" | ||
15 | |||
16 | REQUIRED_DISTRO_FEATURES = "vulkan" | ||
17 | |||
18 | DEPENDS = "vulkan-headers vulkan-loader spirv-headers spirv-tools glslang" | ||
19 | |||
20 | # BUILD_TESTS - Not required for OE builds | ||
21 | # BUILD_WERROR - There are too many compiler warnings/errors due to upgrades in version | ||
22 | # of clang. Requiring a number of patches from upstream. Disable compiler | ||
23 | # -Werror to bypass build issues. | ||
24 | # USE_ROBIN_HOOD_HASHING - Provides substantial performance improvements on all platforms. | ||
25 | # Yocto project doesn't contain a recipe for package so disabled it. | ||
26 | EXTRA_OECMAKE = "\ | ||
27 | -DBUILD_TESTS=OFF \ | ||
28 | -DBUILD_WERROR=OFF \ | ||
29 | -DUSE_ROBIN_HOOD_HASHING=OFF \ | ||
30 | -DGLSLANG_INSTALL_DIR=${STAGING_DATADIR} \ | ||
31 | -DVULKAN_HEADERS_INSTALL_DIR=${STAGING_EXECPREFIXDIR} \ | ||
32 | -DSPIRV_HEADERS_INSTALL_DIR=${STAGING_EXECPREFIXDIR} \ | ||
33 | " | ||
34 | |||
35 | PACKAGECONFIG[x11] = "-DBUILD_WSI_XLIB_SUPPORT=ON -DBUILD_WSI_XCB_SUPPORT=ON, -DBUILD_WSI_XLIB_SUPPORT=OFF -DBUILD_WSI_XCB_SUPPORT=OFF, libxcb libx11 libxrandr" | ||
36 | PACKAGECONFIG[wayland] = "-DBUILD_WSI_WAYLAND_SUPPORT=ON, -DBUILD_WSI_WAYLAND_SUPPORT=OFF, wayland" | ||
37 | |||
38 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11 wayland', d)}" | ||
39 | |||
40 | inherit cmake features_check pkgconfig | ||
41 | |||
42 | FILES:${PN} += "${datadir}/vulkan" | ||
43 | |||
44 | SOLIBS = ".so" | ||
45 | FILES_SOLIBSDEV = "" | ||
46 | |||
47 | # These recipes need to be updated in lockstep with each other: | ||
48 | # glslang, vulkan-headers, vulkan-loader, vulkan-tools, | ||
49 | # vulkan-validation-layers, spirv-headers, spirv-tools | ||
50 | # The tags versions should always be sdk-x.y.z, as this is what | ||
51 | # upstream considers a release. | ||
52 | UPSTREAM_CHECK_GITTAGREGEX = "sdk-(?P<pver>\d+(\.\d+)+)" | ||
diff --git a/recipes-dpaa/eth-config/eth-config_git.bb b/recipes-dpaa/eth-config/eth-config_git.bb index 06e4382f..aee2e234 100644 --- a/recipes-dpaa/eth-config/eth-config_git.bb +++ b/recipes-dpaa/eth-config/eth-config_git.bb | |||
@@ -1,12 +1,12 @@ | |||
1 | DESCRIPTION = "Ethernet Configuration Files" | 1 | DESCRIPTION = "Ethernet Configuration Files" |
2 | SECTION = "eth-config" | 2 | SECTION = "eth-config" |
3 | LICENSE = "BSD-3-Clause & GPL-2.0-or-later" | 3 | LICENSE = "BSD-3-Clause & GPL-2.0-or-later" |
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=47716bd5b656aa5e298a132a64d2d1e4" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=47716bd5b656aa5e298a132a64d2d1e4" |
5 | 5 | ||
6 | PR = "r2" | 6 | PR = "r2" |
7 | 7 | ||
8 | SRC_URI = "git://github.com/nxp-qoriq/eth-config;protocol=https;nobranch=1" | 8 | SRC_URI = "git://github.com/nxp-qoriq/eth-config;protocol=https;nobranch=1" |
9 | SRCREV = "6164664070e45810c793f112781ebcedc979e132" | 9 | SRCREV = "00fa9c6db5813735676b30b1516e30a460d61b28" |
10 | 10 | ||
11 | S = "${WORKDIR}/git" | 11 | S = "${WORKDIR}/git" |
12 | 12 | ||
diff --git a/recipes-dpaa/fm-ucode/fm-ucode_git.bb b/recipes-dpaa/fm-ucode/fm-ucode_git.bb index c7eb7319..22f04d01 100644 --- a/recipes-dpaa/fm-ucode/fm-ucode_git.bb +++ b/recipes-dpaa/fm-ucode/fm-ucode_git.bb | |||
@@ -1,14 +1,14 @@ | |||
1 | DESCRIPTION = "Fman microcode binary" | 1 | DESCRIPTION = "Fman microcode binary" |
2 | SECTION = "fm-ucode" | 2 | SECTION = "fm-ucode" |
3 | LICENSE = "NXP-Binary-EULA" | 3 | LICENSE = "NXP-Binary-EULA" |
4 | LIC_FILES_CHKSUM = "file://NXP-Binary-EULA.txt;md5=12e248d404ce1ea8bed0148fcf127e69" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=12e248d404ce1ea8bed0148fcf127e69" |
5 | 5 | ||
6 | PR = "r1" | 6 | PR = "r1" |
7 | 7 | ||
8 | inherit deploy | 8 | inherit deploy |
9 | 9 | ||
10 | SRC_URI = "git://github.com/NXP/qoriq-fm-ucode.git;nobranch=1;protocol=https" | 10 | SRC_URI = "git://github.com/NXP/qoriq-fm-ucode.git;nobranch=1;protocol=https" |
11 | SRCREV = "83e8467a356316265c7695bdc7741f23066795aa" | 11 | SRCREV = "41d603a1ad78e0bb61365500828d9f484bf9bf10" |
12 | 12 | ||
13 | S = "${WORKDIR}/git" | 13 | S = "${WORKDIR}/git" |
14 | 14 | ||
diff --git a/recipes-dpaa/fmlib/fmlib_git.bb b/recipes-dpaa/fmlib/fmlib_git.bb index 98f5c0d7..71ad3df1 100644 --- a/recipes-dpaa/fmlib/fmlib_git.bb +++ b/recipes-dpaa/fmlib/fmlib_git.bb | |||
@@ -1,15 +1,18 @@ | |||
1 | DESCRIPTION = "Frame Manager User Space Library" | 1 | DESCRIPTION = "Frame Manager User Space Library" |
2 | SECTION = "fman" | 2 | SECTION = "fman" |
3 | LICENSE = "BSD-3-Clause & GPL-2.0-only" | 3 | LICENSE = "BSD-3-Clause & GPL-2.0-only" |
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=9c7bd5e45d066db084bdb3543d55b1ac" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=9c7bd5e45d066db084bdb3543d55b1ac" |
5 | 5 | ||
6 | PR = "r1" | 6 | PR = "r1" |
7 | 7 | ||
8 | SRC_URI = "git://github.com/nxp-qoriq/fmlib;protocol=https;nobranch=1" | 8 | SRC_URI = "git://github.com/nxp-qoriq/fmlib;protocol=https;nobranch=1" |
9 | SRCREV = "69a70474cd8411d5a099c34f40760b6567d781d6" | 9 | SRCREV = "9fb916f255214013aa6003496c47bab0b5add2d9" |
10 | 10 | ||
11 | S = "${WORKDIR}/git" | 11 | S = "${WORKDIR}/git" |
12 | 12 | ||
13 | CFLAGS += "-fmacro-prefix-map=${STAGING_KERNEL_DIR}=/usr/src/debug/fmlib/git-r1 \ | ||
14 | -fdebug-prefix-map=${STAGING_KERNEL_DIR}=/usr/src/debug/fmlib/git-r1" | ||
15 | |||
13 | EXTRA_OEMAKE = "DESTDIR=${D} PREFIX=${prefix} LIB_DEST_DIR=${libdir} \ | 16 | EXTRA_OEMAKE = "DESTDIR=${D} PREFIX=${prefix} LIB_DEST_DIR=${libdir} \ |
14 | CROSS_COMPILE=${TARGET_PREFIX} KERNEL_SRC=${STAGING_KERNEL_DIR}" | 17 | CROSS_COMPILE=${TARGET_PREFIX} KERNEL_SRC=${STAGING_KERNEL_DIR}" |
15 | 18 | ||
diff --git a/recipes-dpaa2/gpp-aioptool/gpp-aioptool/0001-remove-libio.h.patch b/recipes-dpaa2/gpp-aioptool/gpp-aioptool/0001-remove-libio.h.patch index 92b75f76..d8bc30b4 100644 --- a/recipes-dpaa2/gpp-aioptool/gpp-aioptool/0001-remove-libio.h.patch +++ b/recipes-dpaa2/gpp-aioptool/gpp-aioptool/0001-remove-libio.h.patch | |||
@@ -5,6 +5,7 @@ Subject: [PATCH] remove libio.h | |||
5 | 5 | ||
6 | update for glibc libio.h removal in 2.28+ | 6 | update for glibc libio.h removal in 2.28+ |
7 | 7 | ||
8 | Upstream-Status: Pending | ||
8 | Signed-off-by: BJ DevOps Team <bjdevops@NXP1.onmicrosoft.com> | 9 | Signed-off-by: BJ DevOps Team <bjdevops@NXP1.onmicrosoft.com> |
9 | --- | 10 | --- |
10 | flib/mc/fsl_mc_sys.h | 1 - | 11 | flib/mc/fsl_mc_sys.h | 1 - |
diff --git a/recipes-dpaa2/restool/files/disable-manpage-generation.patch b/recipes-dpaa2/restool/files/disable-manpage-generation.patch index ec512830..34f2ae2d 100644 --- a/recipes-dpaa2/restool/files/disable-manpage-generation.patch +++ b/recipes-dpaa2/restool/files/disable-manpage-generation.patch | |||
@@ -3,6 +3,7 @@ From: Ting Liu <ting.liu@nxp.com> | |||
3 | Date: Fri, 15 Oct 2021 09:36:04 +0530 | 3 | Date: Fri, 15 Oct 2021 09:36:04 +0530 |
4 | Subject: [PATCH] disable manpage generation | 4 | Subject: [PATCH] disable manpage generation |
5 | 5 | ||
6 | Upstream-Status: Inappropriate [Cross-compile specific] | ||
6 | Signed-off-by: Ting Liu <ting.liu@nxp.com> | 7 | Signed-off-by: Ting Liu <ting.liu@nxp.com> |
7 | --- | 8 | --- |
8 | Makefile | 1 - | 9 | Makefile | 1 - |
diff --git a/recipes-extended/dpdk/dpdk-20.11/0001-drivers-net-enetfec-enet_uio.c-fix-multiple-definiti.patch b/recipes-extended/dpdk/dpdk-20.11/0001-drivers-net-enetfec-enet_uio.c-fix-multiple-definiti.patch index f19b2b32..f88b6484 100644 --- a/recipes-extended/dpdk/dpdk-20.11/0001-drivers-net-enetfec-enet_uio.c-fix-multiple-definiti.patch +++ b/recipes-extended/dpdk/dpdk-20.11/0001-drivers-net-enetfec-enet_uio.c-fix-multiple-definiti.patch | |||
@@ -7,6 +7,7 @@ Subject: [PATCH] drivers/net/enetfec/enet_uio.c: fix multiple definition | |||
7 | .../examples/flow_classify/flow_classify.c:170: first defined here | 7 | .../examples/flow_classify/flow_classify.c:170: first defined here |
8 | collect2: error: ld returned 1 exit status | 8 | collect2: error: ld returned 1 exit status |
9 | 9 | ||
10 | Upstream-Status: Pending | ||
10 | Signed-off-by: Ting Liu <ting.liu@nxp.com> | 11 | Signed-off-by: Ting Liu <ting.liu@nxp.com> |
11 | --- | 12 | --- |
12 | drivers/net/enetfec/enet_uio.c | 2 +- | 13 | drivers/net/enetfec/enet_uio.c | 2 +- |
diff --git a/recipes-extended/dpdk/dpdk/0001-Add-RTE_KERNELDIR_OUT.patch b/recipes-extended/dpdk/dpdk/0001-Add-RTE_KERNELDIR_OUT.patch index 5ee48a59..383b9085 100644 --- a/recipes-extended/dpdk/dpdk/0001-Add-RTE_KERNELDIR_OUT.patch +++ b/recipes-extended/dpdk/dpdk/0001-Add-RTE_KERNELDIR_OUT.patch | |||
@@ -3,6 +3,7 @@ From: Chunrong Guo <chunrong.guo@nxp.com> | |||
3 | Date: Wed, 3 Jul 2019 08:50:45 +0200 | 3 | Date: Wed, 3 Jul 2019 08:50:45 +0200 |
4 | Subject: [PATCH] Add RTE_KERNELDIR_OUT | 4 | Subject: [PATCH] Add RTE_KERNELDIR_OUT |
5 | 5 | ||
6 | Upstream-Status: Pending | ||
6 | Signed-off-by: C.r. Guo <nxa13725@lsv07004.swis.us-cdc01.nxp.com> | 7 | Signed-off-by: C.r. Guo <nxa13725@lsv07004.swis.us-cdc01.nxp.com> |
7 | --- | 8 | --- |
8 | kernel/linux/kni/Makefile | 2 +- | 9 | kernel/linux/kni/Makefile | 2 +- |
diff --git a/recipes-extended/dpdk/dpdk/0001-add-Wno-cast-function-type.patch b/recipes-extended/dpdk/dpdk/0001-add-Wno-cast-function-type.patch index fa0eda87..b4b8a548 100644 --- a/recipes-extended/dpdk/dpdk/0001-add-Wno-cast-function-type.patch +++ b/recipes-extended/dpdk/dpdk/0001-add-Wno-cast-function-type.patch | |||
@@ -4,6 +4,7 @@ Date: Wed, 27 Mar 2019 09:35:43 +0100 | |||
4 | Subject: [PATCH] add -Wno-cast-function-type | 4 | Subject: [PATCH] add -Wno-cast-function-type |
5 | 5 | ||
6 | Upstream-Status: Inappropriate [configuration] | 6 | Upstream-Status: Inappropriate [configuration] |
7 | Signed-off-by: "C.r. Guo" <nxa13725@lsv07005.swis.us-cdc01.nxp.com> | ||
7 | --- | 8 | --- |
8 | examples/cmdif/lib/Makefile | 2 +- | 9 | examples/cmdif/lib/Makefile | 2 +- |
9 | 1 file changed, 1 insertion(+), 1 deletion(-) | 10 | 1 file changed, 1 insertion(+), 1 deletion(-) |
diff --git a/recipes-extended/dpdk/dpdk/0005-use-python3-instead-of-python.patch b/recipes-extended/dpdk/dpdk/0005-use-python3-instead-of-python.patch index 81ca1244..b1bdf09b 100644 --- a/recipes-extended/dpdk/dpdk/0005-use-python3-instead-of-python.patch +++ b/recipes-extended/dpdk/dpdk/0005-use-python3-instead-of-python.patch | |||
@@ -1,3 +1,8 @@ | |||
1 | Explicitly use python3 | ||
2 | |||
3 | Upstream-Status: Pending | ||
4 | Signed-off-by: Ting Liu <ting.liu@nxp.com> | ||
5 | |||
1 | diff --git a/app/test-bbdev/test-bbdev.py b/app/test-bbdev/test-bbdev.py | 6 | diff --git a/app/test-bbdev/test-bbdev.py b/app/test-bbdev/test-bbdev.py |
2 | index 0194be046..86fe3a89d 100755 | 7 | index 0194be046..86fe3a89d 100755 |
3 | --- a/app/test-bbdev/test-bbdev.py | 8 | --- a/app/test-bbdev/test-bbdev.py |
diff --git a/recipes-extended/ipc-ust/ipc-ust/Makefile-use-LDFLAGS-if-set.patch b/recipes-extended/ipc-ust/ipc-ust/Makefile-use-LDFLAGS-if-set.patch index e991f70a..6a0d82a6 100644 --- a/recipes-extended/ipc-ust/ipc-ust/Makefile-use-LDFLAGS-if-set.patch +++ b/recipes-extended/ipc-ust/ipc-ust/Makefile-use-LDFLAGS-if-set.patch | |||
@@ -3,6 +3,7 @@ From: Ting Liu <ting.liu@nxp.com> | |||
3 | Date: Fri, 12 Aug 2016 10:41:51 +0800 | 3 | Date: Fri, 12 Aug 2016 10:41:51 +0800 |
4 | Subject: [PATCH] Makefile: use LDFLAGS if set | 4 | Subject: [PATCH] Makefile: use LDFLAGS if set |
5 | 5 | ||
6 | Upstream-Status: Pending | ||
6 | Signed-off-by: Ting Liu <ting.liu@nxp.com> | 7 | Signed-off-by: Ting Liu <ting.liu@nxp.com> |
7 | --- | 8 | --- |
8 | dsp_boot/Makefile | 6 +++--- | 9 | dsp_boot/Makefile | 6 +++--- |
diff --git a/recipes-extended/odp/odp/0001-Fix-this-build-error.patch b/recipes-extended/odp/odp/0001-Fix-this-build-error.patch index fd276437..cebd7da1 100644 --- a/recipes-extended/odp/odp/0001-Fix-this-build-error.patch +++ b/recipes-extended/odp/odp/0001-Fix-this-build-error.patch | |||
@@ -6,6 +6,7 @@ Subject: [PATCH] Fix this build error | |||
6 | fix the below error: | 6 | fix the below error: |
7 | |error: 'SIGEV_THREAD' undeclared (first use in this function); did you mean 'CLONE_THREAD'? | 7 | |error: 'SIGEV_THREAD' undeclared (first use in this function); did you mean 'CLONE_THREAD'? |
8 | 8 | ||
9 | Upstream-Status: Pending | ||
9 | Signed-off-by: Chunrong Guo <B40290@freescale.com> | 10 | Signed-off-by: Chunrong Guo <B40290@freescale.com> |
10 | --- | 11 | --- |
11 | example/lpm-ipfwd/app/odp_lpmfwd.c | 1 + | 12 | example/lpm-ipfwd/app/odp_lpmfwd.c | 1 + |
diff --git a/recipes-extended/pktgen-dpdk/files/fix-gcc11-mismatched-dealloc-error.patch b/recipes-extended/pktgen-dpdk/files/fix-gcc11-mismatched-dealloc-error.patch index a2befbd6..e535487f 100644 --- a/recipes-extended/pktgen-dpdk/files/fix-gcc11-mismatched-dealloc-error.patch +++ b/recipes-extended/pktgen-dpdk/files/fix-gcc11-mismatched-dealloc-error.patch | |||
@@ -26,6 +26,7 @@ Fix build error with gcc 11: | |||
26 | | | ^~~~~~~~~~~~~~~~~~~~~ | 26 | | | ^~~~~~~~~~~~~~~~~~~~~ |
27 | | cc1: all warnings being treated as errors | 27 | | cc1: all warnings being treated as errors |
28 | 28 | ||
29 | Upstream-Status: Pending | ||
29 | Signed-off-by: Ting Liu <ting.liu@nxp.com> | 30 | Signed-off-by: Ting Liu <ting.liu@nxp.com> |
30 | --- | 31 | --- |
31 | app/pktgen.h | 2 +- | 32 | app/pktgen.h | 2 +- |
diff --git a/recipes-extended/skmm-ep/skmm-ep/add-two-missing-header-files.patch b/recipes-extended/skmm-ep/skmm-ep/add-two-missing-header-files.patch index 2a7bb9f2..dca8b72e 100644 --- a/recipes-extended/skmm-ep/skmm-ep/add-two-missing-header-files.patch +++ b/recipes-extended/skmm-ep/skmm-ep/add-two-missing-header-files.patch | |||
@@ -1,7 +1,8 @@ | |||
1 | add two missing header files | 1 | add two missing header files |
2 | 2 | ||
3 | Upstream-status: Pending | 3 | Upstream-Status: Pending |
4 | 4 | ||
5 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
5 | --- | 6 | --- |
6 | include/linux/fsl_pci_ep_vfio.h | 79 ++++++ | 7 | include/linux/fsl_pci_ep_vfio.h | 79 ++++++ |
7 | include/linux/vfio.h | 555 ++++++++++++++++++++++++++++++++++++++++ | 8 | include/linux/vfio.h | 555 ++++++++++++++++++++++++++++++++++++++++ |
diff --git a/recipes-extended/testfloat/files/SoftFloat-powerpc-1.patch b/recipes-extended/testfloat/files/SoftFloat-powerpc-1.patch index b6db2de2..51a0da19 100644 --- a/recipes-extended/testfloat/files/SoftFloat-powerpc-1.patch +++ b/recipes-extended/testfloat/files/SoftFloat-powerpc-1.patch | |||
@@ -1,5 +1,6 @@ | |||
1 | This patch adds PowerPC support in SoftFloat. | 1 | This patch adds PowerPC support in SoftFloat. |
2 | 2 | ||
3 | Upstream-Status: Pending | ||
3 | Signed-off-by: Ebony Zhu <ebony.zhu@freescale.com> | 4 | Signed-off-by: Ebony Zhu <ebony.zhu@freescale.com> |
4 | Signed-off-by: Liu Yu <Yu.Liu@freescale.com> | 5 | Signed-off-by: Liu Yu <Yu.Liu@freescale.com> |
5 | --- | 6 | --- |
diff --git a/recipes-extended/testfloat/files/TestFloat-powerpc-E500v2-SPE-1.patch b/recipes-extended/testfloat/files/TestFloat-powerpc-E500v2-SPE-1.patch index c34421cf..2e904174 100644 --- a/recipes-extended/testfloat/files/TestFloat-powerpc-E500v2-SPE-1.patch +++ b/recipes-extended/testfloat/files/TestFloat-powerpc-E500v2-SPE-1.patch | |||
@@ -1,6 +1,7 @@ | |||
1 | This patch adds PowerPC E500v2 SPE support in TestFloat. | 1 | This patch adds PowerPC E500v2 SPE support in TestFloat. |
2 | And it disables the testing for hardware that can not trigger SPE interrupt. | 2 | And it disables the testing for hardware that can not trigger SPE interrupt. |
3 | 3 | ||
4 | Upstream-Status: Pending | ||
4 | Signed-off-by: Ebony Zhu <ebony.zhu@freescale.com> | 5 | Signed-off-by: Ebony Zhu <ebony.zhu@freescale.com> |
5 | Signed-off-by: Liu Yu <Yu.Liu@freescale.com> | 6 | Signed-off-by: Liu Yu <Yu.Liu@freescale.com> |
6 | --- | 7 | --- |
diff --git a/recipes-extended/testfloat/files/Yocto-replace-COMPILE_PREFIX-gcc.patch b/recipes-extended/testfloat/files/Yocto-replace-COMPILE_PREFIX-gcc.patch index f2ff1c00..c6cfaf41 100644 --- a/recipes-extended/testfloat/files/Yocto-replace-COMPILE_PREFIX-gcc.patch +++ b/recipes-extended/testfloat/files/Yocto-replace-COMPILE_PREFIX-gcc.patch | |||
@@ -3,6 +3,7 @@ From: Ting Liu <b28495@freescale.com> | |||
3 | Date: Wed, 9 May 2012 02:42:57 -0500 | 3 | Date: Wed, 9 May 2012 02:42:57 -0500 |
4 | Subject: [PATCH] Yocto: replace $(COMPILE_PREFIX)gcc with $(CC) and remove -te500v2 flags | 4 | Subject: [PATCH] Yocto: replace $(COMPILE_PREFIX)gcc with $(CC) and remove -te500v2 flags |
5 | 5 | ||
6 | Upstream-Status: Pending | ||
6 | Signed-off-by: Ting Liu <b28495@freescale.com> | 7 | Signed-off-by: Ting Liu <b28495@freescale.com> |
7 | --- | 8 | --- |
8 | SoftFloat-2b/softfloat/bits32/powerpc-GCC/Makefile | 4 ++-- | 9 | SoftFloat-2b/softfloat/bits32/powerpc-GCC/Makefile | 4 ++-- |
diff --git a/recipes-extended/tsntool/tsntool/0001-tsntool-remove-redundant-parameters-from-BIN_LDFLAGS.patch b/recipes-extended/tsntool/tsntool/0001-tsntool-remove-redundant-parameters-from-BIN_LDFLAGS.patch new file mode 100644 index 00000000..3a9bc31f --- /dev/null +++ b/recipes-extended/tsntool/tsntool/0001-tsntool-remove-redundant-parameters-from-BIN_LDFLAGS.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | From 2cf9a3f919317784e7cecdff6b632cdb2665c580 Mon Sep 17 00:00:00 2001 | ||
2 | From: Meng Li <Meng.Li@windriver.com> | ||
3 | Date: Mon, 12 Jun 2023 15:17:21 +0800 | ||
4 | Subject: [PATCH] tsntool: remove redundant parameters from BIN_LDFLAGS | ||
5 | |||
6 | The recipe file has pass the same parameter(-Wl,-rpath-link,<lib path>) | ||
7 | to Makefile, so remove redundant parameters from BIN_LDFLAGS. | ||
8 | |||
9 | Upstream-Status: Pending | ||
10 | Signed-off-by: Meng Li <Meng.Li@windriver.com> | ||
11 | --- | ||
12 | Makefile | 1 - | ||
13 | 1 file changed, 1 deletion(-) | ||
14 | |||
15 | diff --git a/Makefile b/Makefile | ||
16 | index 0ba88b4..39a98c0 100644 | ||
17 | --- a/Makefile | ||
18 | +++ b/Makefile | ||
19 | @@ -16,7 +16,6 @@ BIN_CFLAGS += -Wall -Wextra -Wno-error=unused-parameter -Wno-error=sign-compare | ||
20 | BIN_CFLAGS += $(shell $(PKG_CONFIG) --cflags libnl-3.0 libnl-genl-3.0 libcjson) -Iinclude | ||
21 | BIN_LDFLAGS += -ltsn $(shell $(PKG_CONFIG) --libs libnl-3.0 libnl-genl-3.0 libcjson) -lpthread -lm -lrt | ||
22 | BIN_LDFLAGS += -lreadline -ltermcap -L. | ||
23 | -BIN_LDFLAGS += -Wl,-rpath,$(shell pwd) # Compiled lib at local folder | ||
24 | |||
25 | BIN_SRC = | ||
26 | LIB_SRC = | ||
27 | -- | ||
28 | 2.40.1 | ||
29 | |||
diff --git a/recipes-extended/tsntool/tsntool_git.bb b/recipes-extended/tsntool/tsntool_git.bb index 6d1eb69c..2ad4a0c4 100644 --- a/recipes-extended/tsntool/tsntool_git.bb +++ b/recipes-extended/tsntool/tsntool_git.bb | |||
@@ -7,9 +7,15 @@ DEPENDS = "cjson libnl readline" | |||
7 | 7 | ||
8 | inherit pkgconfig | 8 | inherit pkgconfig |
9 | 9 | ||
10 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" | ||
11 | |||
10 | SRC_URI = "git://github.com/nxp-qoriq/tsntool;protocol=https;nobranch=1" | 12 | SRC_URI = "git://github.com/nxp-qoriq/tsntool;protocol=https;nobranch=1" |
11 | SRCREV = "a0769e23304957a22f0cbeee6d1f547b20c3c21e" | 13 | SRCREV = "a0769e23304957a22f0cbeee6d1f547b20c3c21e" |
12 | 14 | ||
15 | SRC_URI:append = " \ | ||
16 | file://0001-tsntool-remove-redundant-parameters-from-BIN_LDFLAGS.patch \ | ||
17 | " | ||
18 | |||
13 | S = "${WORKDIR}/git" | 19 | S = "${WORKDIR}/git" |
14 | 20 | ||
15 | do_configure[depends] += "virtual/kernel:do_shared_workdir" | 21 | do_configure[depends] += "virtual/kernel:do_shared_workdir" |
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 94d70564..affdf1c6 100644 --- a/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc +++ b/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc | |||
@@ -76,6 +76,7 @@ inherit fsl-eula-unpack | |||
76 | 76 | ||
77 | SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}.bin;fsl-eula=true \ | 77 | SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}.bin;fsl-eula=true \ |
78 | file://imx_icd.json" | 78 | file://imx_icd.json" |
79 | FILESEXTRAPATHS:append := "${THISDIR}/imx-gpu-viv:" | ||
79 | 80 | ||
80 | PACKAGECONFIG ?= "" | 81 | PACKAGECONFIG ?= "" |
81 | 82 | ||
@@ -188,10 +189,6 @@ IMX_SOC:mx8ulp-nxp-bsp = "mx8ulp" | |||
188 | 189 | ||
189 | LIBVULKAN_API_VERSION = "1.2.182" | 190 | LIBVULKAN_API_VERSION = "1.2.182" |
190 | 191 | ||
191 | SUPPORTS_OPENCL_VX_INTRINSIC_EXTENSION = "false" | ||
192 | SUPPORTS_OPENCL_VX_INTRINSIC_EXTENSION:mx8qm-nxp-bsp = "true" | ||
193 | SUPPORTS_OPENCL_VX_INTRINSIC_EXTENSION:mx8mp-nxp-bsp = "true" | ||
194 | |||
195 | do_install () { | 192 | do_install () { |
196 | install -d ${D}${libdir} | 193 | install -d ${D}${libdir} |
197 | install -d ${D}${includedir} | 194 | install -d ${D}${includedir} |
@@ -262,7 +259,7 @@ do_install () { | |||
262 | install -d ${D}${sysconfdir}/OpenCL/vendors/ | 259 | install -d ${D}${sysconfdir}/OpenCL/vendors/ |
263 | install -m 0644 ${S}/gpu-core/etc/Vivante.icd ${D}${sysconfdir}/OpenCL/vendors/Vivante.icd | 260 | install -m 0644 ${S}/gpu-core/etc/Vivante.icd ${D}${sysconfdir}/OpenCL/vendors/Vivante.icd |
264 | 261 | ||
265 | if ! ${SUPPORTS_OPENCL_VX_INTRINSIC_EXTENSION}; then | 262 | if [ "${OPENCL_VX_INTRINSIC_EXTENSION_PACKAGES}" = "" ]; then |
266 | rm -f ${D}${includedir}/CL/cl_viv_vx_ext.h | 263 | rm -f ${D}${includedir}/CL/cl_viv_vx_ext.h |
267 | fi | 264 | fi |
268 | fi | 265 | fi |
@@ -373,7 +370,11 @@ FILES:libopenvx-imx = " \ | |||
373 | ${libdir}/libArchModelSw${SOLIBS} \ | 370 | ${libdir}/libArchModelSw${SOLIBS} \ |
374 | " | 371 | " |
375 | FILES:libopenvx-imx-dev = "${includedir}/VX ${libdir}/libOpenVX${SOLIBSDEV}" | 372 | FILES:libopenvx-imx-dev = "${includedir}/VX ${libdir}/libOpenVX${SOLIBSDEV}" |
376 | RDEPENDS:libopenvx-imx = "libnn-imx" | 373 | RDEPENDS:libopenvx-imx = "libnn-imx ${OPENCL_VX_INTRINSIC_EXTENSION_PACKAGES}" |
374 | OPENCL_VX_INTRINSIC_EXTENSION_PACKAGES = "" | ||
375 | OPENCL_VX_INTRINSIC_EXTENSION_PACKAGES:mx8qm-nxp-bsp = "libclc-imx libopencl-imx-dev" | ||
376 | OPENCL_VX_INTRINSIC_EXTENSION_PACKAGES:mx8mp-nxp-bsp = "libclc-imx libopencl-imx-dev" | ||
377 | INSANE_SKIP:libopenvx-imx += "dev-deps" | ||
377 | 378 | ||
378 | # libGL is only targeting X11 backend, and in case if Wayland-only is used - | 379 | # libGL is only targeting X11 backend, and in case if Wayland-only is used - |
379 | # package QA complains on missing RDEPENDS, which are only available for X11. | 380 | # package QA complains on missing RDEPENDS, which are only available for X11. |
diff --git a/recipes-graphics/imx-gpu-viv/imx-gpu-viv/imx_icd.json b/recipes-graphics/imx-gpu-viv/imx-gpu-viv/imx_icd.json index 1194a0fb..21d83f94 100644 --- a/recipes-graphics/imx-gpu-viv/imx-gpu-viv/imx_icd.json +++ b/recipes-graphics/imx-gpu-viv/imx-gpu-viv/imx_icd.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "file_format_version": "1.0.0", | 2 | "file_format_version": "1.0.0", |
3 | "ICD": { | 3 | "ICD": { |
4 | "library_path": "%libdir%/libvulkan_VSI.so", | 4 | "library_path": "%libdir%/libvulkan_VSI.so.1", |
5 | "api_version": "%api_version%" | 5 | "api_version": "%api_version%" |
6 | } | 6 | } |
7 | } | 7 | } |
diff --git a/recipes-graphics/mesa/mesa-demos/Replace-glWindowPos2iARB-calls-with-glWindowPos2i.patch b/recipes-graphics/mesa/mesa-demos/Replace-glWindowPos2iARB-calls-with-glWindowPos2i.patch index d899540f..8401793c 100644 --- a/recipes-graphics/mesa/mesa-demos/Replace-glWindowPos2iARB-calls-with-glWindowPos2i.patch +++ b/recipes-graphics/mesa/mesa-demos/Replace-glWindowPos2iARB-calls-with-glWindowPos2i.patch | |||
@@ -6,7 +6,7 @@ Subject: [PATCH] Replace glWindowPos2iARB calls with glWindowPos2i | |||
6 | Vivante libGL does not provide the glWindowPos2iARB symbol, but | 6 | Vivante libGL does not provide the glWindowPos2iARB symbol, but |
7 | glWindowPos2i. Use this instead. | 7 | glWindowPos2i. Use this instead. |
8 | 8 | ||
9 | Upstream-Status: Inapropriate [embedded specific] | 9 | Upstream-Status: Inappropriate [embedded specific] |
10 | 10 | ||
11 | Reported-by: Jeremy Stashluk <jstashluk@dekaresearch.com> | 11 | Reported-by: Jeremy Stashluk <jstashluk@dekaresearch.com> |
12 | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> | 12 | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> |
diff --git a/recipes-graphics/mesa/mesa-demos/fix-clear-build-break.patch b/recipes-graphics/mesa/mesa-demos/fix-clear-build-break.patch index 30fa16d0..459a6ebd 100644 --- a/recipes-graphics/mesa/mesa-demos/fix-clear-build-break.patch +++ b/recipes-graphics/mesa/mesa-demos/fix-clear-build-break.patch | |||
@@ -2,6 +2,7 @@ mesa-demos: Add extension header to fix build break now that gl1 is removed | |||
2 | 2 | ||
3 | Upstream-Status: Pending | 3 | Upstream-Status: Pending |
4 | 4 | ||
5 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
5 | diff --git a/src/egl/opengles1/clear.c b/src/egl/opengles1/clear.c | 6 | diff --git a/src/egl/opengles1/clear.c b/src/egl/opengles1/clear.c |
6 | index 9fe1b5291e1905fd6fe572063ed707d59ce45a81..ca9954a21b5f475709dbdef07f90b900962fcbc7 100644 | 7 | index 9fe1b5291e1905fd6fe572063ed707d59ce45a81..ca9954a21b5f475709dbdef07f90b900962fcbc7 100644 |
7 | --- a/src/egl/opengles1/clear.c | 8 | --- a/src/egl/opengles1/clear.c |
diff --git a/recipes-graphics/vulkan/vulkan-loader_1.2.182.0.bbappend b/recipes-graphics/vulkan/vulkan-loader_1.2.182.0.imx.bbappend index 05f566a8..05f566a8 100644 --- a/recipes-graphics/vulkan/vulkan-loader_1.2.182.0.bbappend +++ b/recipes-graphics/vulkan/vulkan-loader_1.2.182.0.imx.bbappend | |||
diff --git a/recipes-graphics/wayland/wayland/0001-build-Fix-strndup-detection-on-MinGW.patch b/recipes-graphics/wayland/wayland/0001-build-Fix-strndup-detection-on-MinGW.patch new file mode 100644 index 00000000..bc753de1 --- /dev/null +++ b/recipes-graphics/wayland/wayland/0001-build-Fix-strndup-detection-on-MinGW.patch | |||
@@ -0,0 +1,41 @@ | |||
1 | From b4c64b6f07743e3fb63ce52359bc664ab7d60df0 Mon Sep 17 00:00:00 2001 | ||
2 | From: Joshua Watt <JPEWhacker@gmail.com> | ||
3 | Date: Thu, 20 Feb 2020 15:20:45 -0600 | ||
4 | Subject: [PATCH] build: Fix strndup detection on MinGW | ||
5 | |||
6 | GCC and meson conspire together to incorrectly detect that strndup() | ||
7 | exists on MinGW as __builtin_strndup, when no such function exists. As a | ||
8 | work around, meson will skip looking for __builtin functions if an | ||
9 | '#include' is in the prefix, so add '#include <string.h>' when looking | ||
10 | for strndup(). | ||
11 | |||
12 | See: https://github.com/mesonbuild/meson/issues/3672 | ||
13 | |||
14 | Upstream-Status: Submitted [https://gitlab.freedesktop.org/wayland/wayland/merge_requests/63] | ||
15 | |||
16 | Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> | ||
17 | Signed-off-by: Denys Dmytriyenko <denis@denix.org> | ||
18 | --- | ||
19 | meson.build | 2 +- | ||
20 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
21 | |||
22 | diff --git a/meson.build b/meson.build | ||
23 | index 3bc25c9..adde7b9 100644 | ||
24 | --- a/meson.build | ||
25 | +++ b/meson.build | ||
26 | @@ -38,11 +38,11 @@ have_funcs = [ | ||
27 | 'prctl', | ||
28 | 'memfd_create', | ||
29 | 'mremap', | ||
30 | - 'strndup', | ||
31 | ] | ||
32 | foreach f: have_funcs | ||
33 | config_h.set('HAVE_' + f.underscorify().to_upper(), cc.has_function(f)) | ||
34 | endforeach | ||
35 | +config_h.set('HAVE_STRNDUP', cc.has_function('strndup') and cc.has_header_symbol('string.h', 'strndup')) | ||
36 | config_h.set10('HAVE_XUCRED_CR_PID', cc.has_member('struct xucred', 'cr_pid', prefix : '#include <sys/ucred.h>')) | ||
37 | have_broken_msg_cmsg_cloexec = false | ||
38 | if host_machine.system() == 'freebsd' | ||
39 | -- | ||
40 | 2.7.4 | ||
41 | |||
diff --git a/recipes-graphics/wayland/wayland/run-ptest b/recipes-graphics/wayland/wayland/run-ptest new file mode 100644 index 00000000..7e8d9de0 --- /dev/null +++ b/recipes-graphics/wayland/wayland/run-ptest | |||
@@ -0,0 +1,17 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | export WAYLAND_SCANNER=wayland-scanner | ||
4 | export TEST_DATA_DIR=tests/data | ||
5 | export TEST_OUTPUT_DIR=tests/output | ||
6 | export SED=sed | ||
7 | export WAYLAND_EGL_LIB=/usr/lib/libwayland-egl.so.1 | ||
8 | export NM=nm | ||
9 | |||
10 | for i in `ls tests/*-test tests/wayland-egl-symbols-check tests/scanner-test.sh`; do | ||
11 | $i | ||
12 | if [ $? -eq 0 ]; then | ||
13 | echo "PASS: $i" | ||
14 | else | ||
15 | echo "FAIL: $i" | ||
16 | fi | ||
17 | done | ||
diff --git a/recipes-graphics/wayland/wayland_1.22.0.imx.bb b/recipes-graphics/wayland/wayland_1.22.0.imx.bb new file mode 100644 index 00000000..eb1066c8 --- /dev/null +++ b/recipes-graphics/wayland/wayland_1.22.0.imx.bb | |||
@@ -0,0 +1,67 @@ | |||
1 | SUMMARY = "Wayland, a protocol between a compositor and clients" | ||
2 | DESCRIPTION = "Wayland is a protocol for a compositor to talk to its clients \ | ||
3 | as well as a C library implementation of that protocol. The compositor can be \ | ||
4 | a standalone display server running on Linux kernel modesetting and evdev \ | ||
5 | input devices, an X application, or a wayland client itself. The clients can \ | ||
6 | be traditional applications, X servers (rootless or fullscreen) or other \ | ||
7 | display servers." | ||
8 | HOMEPAGE = "http://wayland.freedesktop.org" | ||
9 | LICENSE = "MIT" | ||
10 | LIC_FILES_CHKSUM = "file://COPYING;md5=b31d8f53b6aaf2b4985d7dd7810a70d1 \ | ||
11 | file://src/wayland-server.c;endline=24;md5=b8e046164a766bb1ede8ba38e9dcd7ce" | ||
12 | |||
13 | DEPENDS = "expat libffi wayland-native" | ||
14 | |||
15 | SRC_URI = "https://gitlab.freedesktop.org/wayland/wayland/-/releases/1.22.0/downloads/${BP_ORIGINAL}.tar.xz \ | ||
16 | file://run-ptest \ | ||
17 | file://0001-build-Fix-strndup-detection-on-MinGW.patch \ | ||
18 | " | ||
19 | SRC_URI[sha256sum] = "1540af1ea698a471c2d8e9d288332c7e0fd360c8f1d12936ebb7e7cbc2425842" | ||
20 | BP_ORIGINAL = "${BPN}-1.22.0" | ||
21 | S = "${WORKDIR}/${BP_ORIGINAL}" | ||
22 | |||
23 | UPSTREAM_CHECK_URI = "https://wayland.freedesktop.org/releases.html" | ||
24 | UPSTREAM_CHECK_REGEX = "wayland-(?P<pver>\d+\.\d+\.(?!9\d+)\d+)" | ||
25 | |||
26 | inherit meson pkgconfig ptest | ||
27 | |||
28 | PACKAGECONFIG ??= "dtd-validation" | ||
29 | PACKAGECONFIG[dtd-validation] = "-Ddtd_validation=true,-Ddtd_validation=false,libxml2,," | ||
30 | |||
31 | EXTRA_OEMESON = "-Ddocumentation=false" | ||
32 | EXTRA_OEMESON:class-native = "-Ddocumentation=false" | ||
33 | |||
34 | # Wayland installs a M4 macro for other projects to use, which uses the target | ||
35 | # pkg-config to find files. Replace pkg-config with pkg-config-native. | ||
36 | do_install:append:class-native() { | ||
37 | sed -e 's,PKG_CHECK_MODULES(.*),,g' \ | ||
38 | -e 's,$PKG_CONFIG,pkg-config-native,g' \ | ||
39 | -i ${D}/${datadir}/aclocal/wayland-scanner.m4 | ||
40 | } | ||
41 | |||
42 | do_install_ptest() { | ||
43 | mkdir -p ${D}${PTEST_PATH}/tests/data | ||
44 | cp -rf ${B}/tests/*-test ${B}/tests/*-checker ${D}${PTEST_PATH}/tests | ||
45 | cp -rf ${B}/tests/*-checker ${D}${PTEST_PATH} | ||
46 | cp -rf ${S}/tests/scanner-test.sh ${D}${PTEST_PATH}/tests | ||
47 | cp -rf ${S}/tests/data/* ${D}${PTEST_PATH}/tests/data/ | ||
48 | cp -rf ${S}/egl/wayland-egl-symbols-check ${D}${PTEST_PATH}/tests/ | ||
49 | } | ||
50 | |||
51 | sysroot_stage_all:append:class-target () { | ||
52 | rm ${SYSROOT_DESTDIR}/${datadir}/aclocal/wayland-scanner.m4 | ||
53 | cp ${STAGING_DATADIR_NATIVE}/aclocal/wayland-scanner.m4 ${SYSROOT_DESTDIR}/${datadir}/aclocal/ | ||
54 | } | ||
55 | |||
56 | PACKAGES =+ "${PN}-tools" | ||
57 | |||
58 | FILES:${PN}-tools = "${bindir}/wayland-scanner" | ||
59 | FILES:${PN}-dev += "${datadir}/${BPN}/wayland-scanner.mk" | ||
60 | |||
61 | BBCLASSEXTEND = "native nativesdk" | ||
62 | |||
63 | RDEPENDS:${PN}-ptest += "binutils sed ${PN}-tools" | ||
64 | |||
65 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" | ||
66 | |||
67 | DEFAULT_PREFERENCE = "-1" | ||
diff --git a/recipes-graphics/wayland/weston-10.0.3.imx/0001-Revert-protocol-no-found-wayland-scanner-with-Yocto-.patch b/recipes-graphics/wayland/weston-10.0.3.imx/0001-Revert-protocol-no-found-wayland-scanner-with-Yocto-.patch index 676d0338..59f2a4b6 100644 --- a/recipes-graphics/wayland/weston-10.0.3.imx/0001-Revert-protocol-no-found-wayland-scanner-with-Yocto-.patch +++ b/recipes-graphics/wayland/weston-10.0.3.imx/0001-Revert-protocol-no-found-wayland-scanner-with-Yocto-.patch | |||
@@ -20,6 +20,7 @@ Thus the build fails with: | |||
20 | Dropping weston 9.0.0-imx commit 7859a762 (protocol: no found | 20 | Dropping weston 9.0.0-imx commit 7859a762 (protocol: no found |
21 | wayland-scanner with Yocto toolchain") fixes the issue. | 21 | wayland-scanner with Yocto toolchain") fixes the issue. |
22 | 22 | ||
23 | Upstream-Status: Inappropriate [Cross-compile Specific] | ||
23 | Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> | 24 | Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> |
24 | --- | 25 | --- |
25 | protocol/meson.build | 2 +- | 26 | protocol/meson.build | 2 +- |
diff --git a/recipes-graphics/wayland/weston-init.bbappend b/recipes-graphics/wayland/weston-init.bbappend index 69a807a3..595633b0 100644 --- a/recipes-graphics/wayland/weston-init.bbappend +++ b/recipes-graphics/wayland/weston-init.bbappend | |||
@@ -10,12 +10,16 @@ SRC_URI:append:mx6sl-nxp-bsp = " file://weston.config" | |||
10 | 10 | ||
11 | PACKAGECONFIG ??= " \ | 11 | PACKAGECONFIG ??= " \ |
12 | no-idle-timeout \ | 12 | no-idle-timeout \ |
13 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xwayland', '', d)} \ | ||
13 | ${PACKAGECONFIG_GBM_FORMAT} \ | 14 | ${PACKAGECONFIG_GBM_FORMAT} \ |
14 | ${PACKAGECONFIG_REPAINT_WINDOW} \ | 15 | ${PACKAGECONFIG_REPAINT_WINDOW} \ |
15 | ${PACKAGECONFIG_SIZE} \ | 16 | ${PACKAGECONFIG_SIZE} \ |
16 | ${PACKAGECONFIG_USE_G2D} \ | 17 | ${PACKAGECONFIG_USE_G2D} \ |
17 | " | 18 | " |
18 | 19 | ||
20 | # Mainline BSPs dont support xwayland | ||
21 | PACKAGECONFIG:remove:use-mainline-bsp = "xwayland" | ||
22 | |||
19 | PACKAGECONFIG_GBM_FORMAT ?= "" | 23 | PACKAGECONFIG_GBM_FORMAT ?= "" |
20 | PACKAGECONFIG_GBM_FORMAT:mx8mq-nxp-bsp ?= "gbm-format" | 24 | PACKAGECONFIG_GBM_FORMAT:mx8mq-nxp-bsp ?= "gbm-format" |
21 | 25 | ||
@@ -46,6 +50,7 @@ PACKAGECONFIG[rdp] = ",," | |||
46 | PACKAGECONFIG[repaint-window] = ",," | 50 | PACKAGECONFIG[repaint-window] = ",," |
47 | PACKAGECONFIG[size] = ",," | 51 | PACKAGECONFIG[size] = ",," |
48 | PACKAGECONFIG[use-g2d] = ",," | 52 | PACKAGECONFIG[use-g2d] = ",," |
53 | PACKAGECONFIG[xwayland] = ",," | ||
49 | 54 | ||
50 | do_install:append() { | 55 | do_install:append() { |
51 | if [ -f "${WORKDIR}/weston.config" ]; then | 56 | if [ -f "${WORKDIR}/weston.config" ]; then |
@@ -75,5 +80,9 @@ do_install:append() { | |||
75 | sed -i -e "/^\[core\]/a #use-g2d=${USE_G2D_VALUE}" ${D}${sysconfdir}/xdg/weston/weston.ini | 80 | sed -i -e "/^\[core\]/a #use-g2d=${USE_G2D_VALUE}" ${D}${sysconfdir}/xdg/weston/weston.ini |
76 | fi | 81 | fi |
77 | 82 | ||
83 | if [ "${@bb.utils.contains('PACKAGECONFIG', 'xwayland', 'yes', 'no', d)}" = "no" ]; then | ||
84 | sed -i -e "s/^xwayland=true/#xwayland=true/g" ${D}${sysconfdir}/xdg/weston/weston.ini | ||
85 | fi | ||
86 | |||
78 | sed -i -e 's,@bindir@,${bindir},g' ${D}${sysconfdir}/xdg/weston/weston.ini | 87 | sed -i -e 's,@bindir@,${bindir},g' ${D}${sysconfdir}/xdg/weston/weston.ini |
79 | } | 88 | } |
diff --git a/recipes-graphics/wayland/weston/0001-Revert-protocol-no-found-wayland-scanner-with-Yocto-.patch b/recipes-graphics/wayland/weston/0001-Revert-protocol-no-found-wayland-scanner-with-Yocto-.patch index 39439ce1..25a4770f 100644 --- a/recipes-graphics/wayland/weston/0001-Revert-protocol-no-found-wayland-scanner-with-Yocto-.patch +++ b/recipes-graphics/wayland/weston/0001-Revert-protocol-no-found-wayland-scanner-with-Yocto-.patch | |||
@@ -20,6 +20,7 @@ Thus the build fails with: | |||
20 | Dropping weston 9.0.0-imx commit 7859a762 (protocol: no found | 20 | Dropping weston 9.0.0-imx commit 7859a762 (protocol: no found |
21 | wayland-scanner with Yocto toolchain") fixes the issue. | 21 | wayland-scanner with Yocto toolchain") fixes the issue. |
22 | 22 | ||
23 | Upstream-Status: Inappropriate [Cross-compile specific] | ||
23 | Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> | 24 | Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> |
24 | --- | 25 | --- |
25 | protocol/meson.build | 2 +- | 26 | protocol/meson.build | 2 +- |
diff --git a/recipes-graphics/xorg-xserver/xserver-xorg/0001-Allow-to-enable-atomic-in-modesetting-DDX.patch b/recipes-graphics/xorg-xserver/xserver-xorg/0001-Allow-to-enable-atomic-in-modesetting-DDX.patch index 24f08f98..71e045b2 100644 --- a/recipes-graphics/xorg-xserver/xserver-xorg/0001-Allow-to-enable-atomic-in-modesetting-DDX.patch +++ b/recipes-graphics/xorg-xserver/xserver-xorg/0001-Allow-to-enable-atomic-in-modesetting-DDX.patch | |||
@@ -11,6 +11,7 @@ anymore. | |||
11 | This change doesn't enable atomic by default, but it allows a user to | 11 | This change doesn't enable atomic by default, but it allows a user to |
12 | enabled it again. | 12 | enabled it again. |
13 | 13 | ||
14 | Upstream-Status: Pending | ||
14 | Signed-off-by: Daniel Abrecht <public@danielabrecht.ch> | 15 | Signed-off-by: Daniel Abrecht <public@danielabrecht.ch> |
15 | 16 | ||
16 | --- | 17 | --- |
diff --git a/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv/Add-makefile.patch b/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv/Add-makefile.patch index 63f408c5..efe6cec6 100644 --- a/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv/Add-makefile.patch +++ b/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv/Add-makefile.patch | |||
@@ -1,3 +1,7 @@ | |||
1 | Add makefile to kernel-module-imx-gpu-viv | ||
2 | |||
3 | Upstream-Status: Pending | ||
4 | Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> | ||
1 | Index: git/Makefile | 5 | Index: git/Makefile |
2 | =================================================================== | 6 | =================================================================== |
3 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | 7 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 |
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-v4l2-Include-gst-allocators-gstdmabuf.h-for-gst_is_d.patch b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-v4l2-Include-gst-allocators-gstdmabuf.h-for-gst_is_d.patch new file mode 100644 index 00000000..1345dd4f --- /dev/null +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-v4l2-Include-gst-allocators-gstdmabuf.h-for-gst_is_d.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | From dc5d752ec3fbec10402aa60fa8245e384e0c7206 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Wed, 7 Jun 2023 22:53:47 -0700 | ||
4 | Subject: [PATCH] v4l2: Include gst/allocators/gstdmabuf.h for | ||
5 | gst_is_dmabuf_memory() | ||
6 | |||
7 | This is flagged by clang-16 | ||
8 | ../git/sys/v4l2/gstv4l2videoenc.c:756:9: error: call to undeclared function 'gst_is_dmabuf_memory'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] | ||
9 | if (gst_is_dmabuf_memory (gst_buffer_peek_memory (frame->input_buffer, 0)) | ||
10 | ^ | ||
11 | |||
12 | Upstream-Status: Submitted [https://github.com/nxp-imx/gst-plugins-good/pull/2] | ||
13 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
14 | --- | ||
15 | sys/v4l2/gstv4l2videoenc.c | 1 + | ||
16 | 1 file changed, 1 insertion(+) | ||
17 | |||
18 | diff --git a/sys/v4l2/gstv4l2videoenc.c b/sys/v4l2/gstv4l2videoenc.c | ||
19 | index a505a228f..f24d5a795 100644 | ||
20 | --- a/sys/v4l2/gstv4l2videoenc.c | ||
21 | +++ b/sys/v4l2/gstv4l2videoenc.c | ||
22 | @@ -36,6 +36,7 @@ | ||
23 | |||
24 | #include <string.h> | ||
25 | #include <gst/gst-i18n-plugin.h> | ||
26 | +#include <gst/allocators/gstdmabuf.h> | ||
27 | |||
28 | GST_DEBUG_CATEGORY_STATIC (gst_v4l2_video_enc_debug); | ||
29 | #define GST_CAT_DEFAULT gst_v4l2_video_enc_debug | ||
30 | -- | ||
31 | 2.41.0 | ||
32 | |||
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.20.3.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.20.3.imx.bb index 95c8657e..95e33d5b 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.20.3.imx.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.20.3.imx.bb | |||
@@ -13,6 +13,7 @@ BUGTRACKER = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/issues | |||
13 | 13 | ||
14 | SRC_URI = "https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-${PV}.tar.xz \ | 14 | SRC_URI = "https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-${PV}.tar.xz \ |
15 | file://0001-qt-include-ext-qt-gstqtgl.h-instead-of-gst-gl-gstglf.patch \ | 15 | file://0001-qt-include-ext-qt-gstqtgl.h-instead-of-gst-gl-gstglf.patch \ |
16 | file://0001-v4l2-Include-gst-allocators-gstdmabuf.h-for-gst_is_d.patch \ | ||
16 | " | 17 | " |
17 | 18 | ||
18 | SRC_URI[sha256sum] = "f8f3c206bf5cdabc00953920b47b3575af0ef15e9f871c0b6966f6d0aa5868b7" | 19 | SRC_URI[sha256sum] = "f8f3c206bf5cdabc00953920b47b3575af0ef15e9f871c0b6966f6d0aa5868b7" |
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-python_1.20.3.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-python_1.20.3.imx.bb index d3c29ff7..4da992ee 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-python_1.20.3.imx.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-python_1.20.3.imx.bb | |||
@@ -28,3 +28,5 @@ def get_gst_ver(v): | |||
28 | return oe.utils.trim_version(v, 3) | 28 | return oe.utils.trim_version(v, 3) |
29 | 29 | ||
30 | inherit meson pkgconfig setuptools3-base upstream-version-is-even | 30 | inherit meson pkgconfig setuptools3-base upstream-version-is-even |
31 | |||
32 | FILES:${PN} += "${libdir}/gstreamer-1.0" | ||
diff --git a/recipes-multimedia/libimxvpuapi/libimxvpuapi2_2.2.2.bb b/recipes-multimedia/libimxvpuapi/libimxvpuapi2_2.2.2.bb index 5ebf9150..b7f43a61 100644 --- a/recipes-multimedia/libimxvpuapi/libimxvpuapi2_2.2.2.bb +++ b/recipes-multimedia/libimxvpuapi/libimxvpuapi2_2.2.2.bb | |||
@@ -18,7 +18,7 @@ inherit waf pkgconfig use-imx-headers | |||
18 | IMX_PLATFORM:mx6-nxp-bsp = "imx6" | 18 | IMX_PLATFORM:mx6-nxp-bsp = "imx6" |
19 | IMX_PLATFORM:mx8mq-nxp-bsp = "imx8m" | 19 | IMX_PLATFORM:mx8mq-nxp-bsp = "imx8m" |
20 | IMX_PLATFORM:mx8mm-nxp-bsp = "imx8mm" | 20 | IMX_PLATFORM:mx8mm-nxp-bsp = "imx8mm" |
21 | IMX_PLATFORM:mx8mp-nxp-bsp = "imx8mm" | 21 | IMX_PLATFORM:mx8mp-nxp-bsp = "imx8m" |
22 | 22 | ||
23 | EXTRA_OECONF = "--imx-platform=${IMX_PLATFORM} --libdir=${libdir} --imx-headers=${STAGING_INCDIR_IMX} --sysroot-path=${RECIPE_SYSROOT}" | 23 | EXTRA_OECONF = "--imx-platform=${IMX_PLATFORM} --libdir=${libdir} --imx-headers=${STAGING_INCDIR_IMX} --sysroot-path=${RECIPE_SYSROOT}" |
24 | 24 | ||
diff --git a/recipes-multimedia/pulseaudio/pulseaudio/imx-nxp-bsp/0001-Fix-pulseaudio-mutex-issue-when-do-pause-in-gstreame.patch b/recipes-multimedia/pulseaudio/pulseaudio/imx-nxp-bsp/0001-Fix-pulseaudio-mutex-issue-when-do-pause-in-gstreame.patch index 12a04cb7..10d5a010 100644 --- a/recipes-multimedia/pulseaudio/pulseaudio/imx-nxp-bsp/0001-Fix-pulseaudio-mutex-issue-when-do-pause-in-gstreame.patch +++ b/recipes-multimedia/pulseaudio/pulseaudio/imx-nxp-bsp/0001-Fix-pulseaudio-mutex-issue-when-do-pause-in-gstreame.patch | |||
@@ -9,7 +9,7 @@ failed at pulsecore/mutex-posix.c:106, function pa_mutex_unlock(). Aborting" | |||
9 | This fix is a workaround base on the solution from this link " | 9 | This fix is a workaround base on the solution from this link " |
10 | https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/932096" | 10 | https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/932096" |
11 | 11 | ||
12 | Upstream status: Inappropriate [i.MX specific] | 12 | Upstream-Status: Inappropriate [i.MX specific] |
13 | Signed-off-by: shengjiu.wang <b02247@freescale.com> | 13 | Signed-off-by: shengjiu.wang <b02247@freescale.com> |
14 | --- | 14 | --- |
15 | src/pulsecore/mutex-posix.c | 1 + | 15 | src/pulsecore/mutex-posix.c | 1 + |
diff --git a/recipes-multimedia/tinycompress/tinycompress/0001-tinycompress-Add-id3-decoding.patch b/recipes-multimedia/tinycompress/tinycompress/0001-tinycompress-Add-id3-decoding.patch index f578148a..78ff6989 100755 --- a/recipes-multimedia/tinycompress/tinycompress/0001-tinycompress-Add-id3-decoding.patch +++ b/recipes-multimedia/tinycompress/tinycompress/0001-tinycompress-Add-id3-decoding.patch | |||
@@ -3,6 +3,7 @@ From: Shengjiu Wang <shengjiu.wang@nxp.com> | |||
3 | Date: Fri, 13 Jul 2018 18:13:24 +0800 | 3 | Date: Fri, 13 Jul 2018 18:13:24 +0800 |
4 | Subject: [PATCH] tinycompress: Add id3 decoding | 4 | Subject: [PATCH] tinycompress: Add id3 decoding |
5 | 5 | ||
6 | Upstream-Status: Pending | ||
6 | Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com> | 7 | Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com> |
7 | --- | 8 | --- |
8 | include/tinycompress/id3_tag_decode.h | 198 +++++++++++ | 9 | include/tinycompress/id3_tag_decode.h | 198 +++++++++++ |
diff --git a/recipes-support/opencv/opencv/0001-3rdparty-ippicv-Use-pre-downloaded-ipp.patch b/recipes-support/opencv/opencv/0001-3rdparty-ippicv-Use-pre-downloaded-ipp.patch index 9e6a6137..b1b00623 100644 --- a/recipes-support/opencv/opencv/0001-3rdparty-ippicv-Use-pre-downloaded-ipp.patch +++ b/recipes-support/opencv/opencv/0001-3rdparty-ippicv-Use-pre-downloaded-ipp.patch | |||
@@ -3,6 +3,7 @@ From: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> | |||
3 | Date: Thu, 31 Mar 2016 00:20:15 +0200 | 3 | Date: Thu, 31 Mar 2016 00:20:15 +0200 |
4 | Subject: [PATCH] 3rdparty/ippicv: Use pre-downloaded ipp | 4 | Subject: [PATCH] 3rdparty/ippicv: Use pre-downloaded ipp |
5 | 5 | ||
6 | Upstream-Status: Pending | ||
6 | Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> | 7 | Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> |
7 | Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com> | 8 | Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com> |
8 | 9 | ||
diff --git a/recipes-support/opencv/opencv/0001-Add-smaller-version-of-download_models.py.patch b/recipes-support/opencv/opencv/0001-Add-smaller-version-of-download_models.py.patch index 0aabee29..46232ec5 100644 --- a/recipes-support/opencv/opencv/0001-Add-smaller-version-of-download_models.py.patch +++ b/recipes-support/opencv/opencv/0001-Add-smaller-version-of-download_models.py.patch | |||
@@ -3,6 +3,7 @@ From: Tom Hochstein <tom.hochstein@nxp.com> | |||
3 | Date: Tue, 1 Sep 2020 14:57:07 -0500 | 3 | Date: Tue, 1 Sep 2020 14:57:07 -0500 |
4 | Subject: [PATCH] Add smaller version of download_models.py | 4 | Subject: [PATCH] Add smaller version of download_models.py |
5 | 5 | ||
6 | Upstream-Status: Pending | ||
6 | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> | 7 | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> |
7 | --- | 8 | --- |
8 | testdata/dnn/download_models_basic.py | 159 ++++++++++++++++++++++++++ | 9 | testdata/dnn/download_models_basic.py | 159 ++++++++++++++++++++++++++ |
diff --git a/recipes-support/opencv/opencv/0001-Temporarliy-work-around-deprecated-ffmpeg-RAW-functi.patch b/recipes-support/opencv/opencv/0001-Temporarliy-work-around-deprecated-ffmpeg-RAW-functi.patch index 1e47f8b1..aa7d335e 100644 --- a/recipes-support/opencv/opencv/0001-Temporarliy-work-around-deprecated-ffmpeg-RAW-functi.patch +++ b/recipes-support/opencv/opencv/0001-Temporarliy-work-around-deprecated-ffmpeg-RAW-functi.patch | |||
@@ -4,6 +4,7 @@ Date: Wed, 9 May 2018 13:33:59 -0700 | |||
4 | Subject: [PATCH] Temporarliy work around deprecated ffmpeg RAW function | 4 | Subject: [PATCH] Temporarliy work around deprecated ffmpeg RAW function |
5 | compile failure until next uprev | 5 | compile failure until next uprev |
6 | 6 | ||
7 | Upstream-Status: Inappropriate [platform specific] | ||
7 | Signed-off-by: Jason Wessel <jason.wessel@windriver.com> | 8 | Signed-off-by: Jason Wessel <jason.wessel@windriver.com> |
8 | 9 | ||
9 | --- | 10 | --- |
diff --git a/recipes-support/opencv/opencv/0003-To-fix-errors-as-following.patch b/recipes-support/opencv/opencv/0003-To-fix-errors-as-following.patch index bb47ef2b..d39c0582 100644 --- a/recipes-support/opencv/opencv/0003-To-fix-errors-as-following.patch +++ b/recipes-support/opencv/opencv/0003-To-fix-errors-as-following.patch | |||
@@ -7,6 +7,7 @@ Subject: [PATCH] To fix errors as following: | |||
7 | "perf_abs.cpp:13: undefined reference to `cvtest::param_seed'" | 7 | "perf_abs.cpp:13: undefined reference to `cvtest::param_seed'" |
8 | "test_superres.cpp:270: undefined reference to `checkIppStatus()'" | 8 | "test_superres.cpp:270: undefined reference to `checkIppStatus()'" |
9 | 9 | ||
10 | Upstream-Status: Pending | ||
10 | Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> | 11 | Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> |
11 | 12 | ||
12 | Also add the visibility changes for certain OpenCL-related functions in | 13 | Also add the visibility changes for certain OpenCL-related functions in |