diff options
37 files changed, 391 insertions, 71 deletions
diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc index 8c468fea..b94be957 100644 --- a/conf/machine/include/imx-base.inc +++ b/conf/machine/include/imx-base.inc | |||
@@ -412,14 +412,14 @@ MACHINE_FIRMWARE:append:mx6sl-generic-bsp = " firmware-imx-epdc" | |||
412 | MACHINE_FIRMWARE:append:mx6sll-generic-bsp = " firmware-imx-epdc" | 412 | MACHINE_FIRMWARE:append:mx6sll-generic-bsp = " firmware-imx-epdc" |
413 | MACHINE_FIRMWARE:append:mx6ull-generic-bsp = " firmware-imx-epdc" | 413 | MACHINE_FIRMWARE:append:mx6ull-generic-bsp = " firmware-imx-epdc" |
414 | MACHINE_FIRMWARE:append:mx7d-generic-bsp = " linux-firmware-imx-sdma-imx7d firmware-imx-epdc" | 414 | MACHINE_FIRMWARE:append:mx7d-generic-bsp = " linux-firmware-imx-sdma-imx7d firmware-imx-epdc" |
415 | MACHINE_FIRMWARE:append:mx8qm-generic-bsp = " linux-firmware-imx-sdma-imx7d firmware-imx-vpu-imx8" | 415 | MACHINE_FIRMWARE:append:mx8qm-generic-bsp = " linux-firmware-imx-sdma-imx7d firmware-imx-vpu-amphion" |
416 | MACHINE_FIRMWARE:append:mx8mm-generic-bsp = " linux-firmware-imx-sdma-imx7d" | 416 | MACHINE_FIRMWARE:append:mx8mm-generic-bsp = " linux-firmware-imx-sdma-imx7d" |
417 | MACHINE_FIRMWARE:append:mx8mn-generic-bsp = " linux-firmware-imx-sdma-imx7d firmware-imx-easrc-imx8mn" | 417 | MACHINE_FIRMWARE:append:mx8mn-generic-bsp = " linux-firmware-imx-sdma-imx7d firmware-imx-easrc-imx8mn" |
418 | MACHINE_FIRMWARE:append:mx8mnul-generic-bsp = " linux-firmware-imx-sdma-imx7d firmware-imx-easrc-imx8mn" | 418 | MACHINE_FIRMWARE:append:mx8mnul-generic-bsp = " linux-firmware-imx-sdma-imx7d firmware-imx-easrc-imx8mn" |
419 | MACHINE_FIRMWARE:append:mx8mp-generic-bsp = " linux-firmware-imx-sdma-imx7d firmware-imx-easrc-imx8mn firmware-imx-xcvr-imx8mp firmware-sof-imx" | 419 | MACHINE_FIRMWARE:append:mx8mp-generic-bsp = " linux-firmware-imx-sdma-imx7d firmware-imx-easrc-imx8mn firmware-imx-xcvr-imx8mp firmware-sof-imx" |
420 | MACHINE_FIRMWARE:append:mx8mq-generic-bsp = " linux-firmware-imx-sdma-imx7d" | 420 | MACHINE_FIRMWARE:append:mx8mq-generic-bsp = " linux-firmware-imx-sdma-imx7d" |
421 | MACHINE_FIRMWARE:append:mx8qxp-generic-bsp = " linux-firmware-imx-sdma-imx7d firmware-imx-vpu-imx8" | 421 | MACHINE_FIRMWARE:append:mx8qxp-generic-bsp = " linux-firmware-imx-sdma-imx7d firmware-imx-vpu-amphion" |
422 | MACHINE_FIRMWARE:append:mx8dx-generic-bsp = " linux-firmware-imx-sdma-imx7d firmware-imx-vpu-imx8" | 422 | MACHINE_FIRMWARE:append:mx8dx-generic-bsp = " linux-firmware-imx-sdma-imx7d firmware-imx-vpu-amphion" |
423 | MACHINE_FIRMWARE:append:imx-mainline-bsp = " linux-firmware-imx-sdma-imx6q linux-firmware-imx-sdma-imx7d firmware-imx-vpu-imx6q firmware-imx-vpu-imx6d" | 423 | MACHINE_FIRMWARE:append:imx-mainline-bsp = " linux-firmware-imx-sdma-imx6q linux-firmware-imx-sdma-imx7d firmware-imx-vpu-imx6q firmware-imx-vpu-imx6d" |
424 | 424 | ||
425 | MACHINE_EXTRA_RRECOMMENDS += "${MACHINE_FIRMWARE}" | 425 | MACHINE_EXTRA_RRECOMMENDS += "${MACHINE_FIRMWARE}" |
@@ -519,6 +519,20 @@ PREFERRED_VERSION_gstreamer1.0-plugins-bad:mx9-nxp-bsp ??= "1.22.5.imx" | |||
519 | PREFERRED_VERSION_gstreamer1.0-plugins-base:mx9-nxp-bsp ??= "1.22.5.imx" | 519 | PREFERRED_VERSION_gstreamer1.0-plugins-base:mx9-nxp-bsp ??= "1.22.5.imx" |
520 | PREFERRED_VERSION_gstreamer1.0-plugins-good:mx9-nxp-bsp ??= "1.22.5.imx" | 520 | PREFERRED_VERSION_gstreamer1.0-plugins-good:mx9-nxp-bsp ??= "1.22.5.imx" |
521 | 521 | ||
522 | # GStreamer copied recipes | ||
523 | PREFERRED_VERSION_gst-devtools:mx8-nxp-bsp ??= "1.22.5.imx" | ||
524 | PREFERRED_VERSION_gstreamer1.0-libav:mx8-nxp-bsp ??= "1.22.5.imx" | ||
525 | PREFERRED_VERSION_gstreamer1.0-plugins-ugly:mx8-nxp-bsp ??= "1.22.5.imx" | ||
526 | PREFERRED_VERSION_gstreamer1.0-python:mx8-nxp-bsp ??= "1.22.5.imx" | ||
527 | PREFERRED_VERSION_gstreamer1.0-rtsp-server:mx8-nxp-bsp ??= "1.22.5.imx" | ||
528 | PREFERRED_VERSION_gstreamer1.0-vaapi:mx8-nxp-bsp ??= "1.22.5.imx" | ||
529 | PREFERRED_VERSION_gst-devtools:mx9-nxp-bsp ??= "1.22.5.imx" | ||
530 | PREFERRED_VERSION_gstreamer1.0-libav:mx9-nxp-bsp ??= "1.22.5.imx" | ||
531 | PREFERRED_VERSION_gstreamer1.0-plugins-ugly:mx9-nxp-bsp ??= "1.22.5.imx" | ||
532 | PREFERRED_VERSION_gstreamer1.0-python:mx9-nxp-bsp ??= "1.22.5.imx" | ||
533 | PREFERRED_VERSION_gstreamer1.0-rtsp-server:mx9-nxp-bsp ??= "1.22.5.imx" | ||
534 | PREFERRED_VERSION_gstreamer1.0-vaapi:mx9-nxp-bsp ??= "1.22.5.imx" | ||
535 | |||
522 | # GStreamer downgrade ffmpeg | 536 | # GStreamer downgrade ffmpeg |
523 | PREFERRED_VERSION_ffmpeg:mx8-nxp-bsp ??= "4.4.1" | 537 | PREFERRED_VERSION_ffmpeg:mx8-nxp-bsp ??= "4.4.1" |
524 | PREFERRED_VERSION_ffmpeg:mx9-nxp-bsp ??= "4.4.1" | 538 | PREFERRED_VERSION_ffmpeg:mx9-nxp-bsp ??= "4.4.1" |
diff --git a/dynamic-layers/virtualization-layer/recipes-extended/libvirt/libvirt_%.bbappend b/dynamic-layers/virtualization-layer/recipes-extended/libvirt/libvirt_%.bbappend index f64637bd..7cb6c07a 100644 --- a/dynamic-layers/virtualization-layer/recipes-extended/libvirt/libvirt_%.bbappend +++ b/dynamic-layers/virtualization-layer/recipes-extended/libvirt/libvirt_%.bbappend | |||
@@ -4,6 +4,6 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}:" | |||
4 | SRC_URI:append:qoriq-ppc = " file://qemu.conf" | 4 | SRC_URI:append:qoriq-ppc = " file://qemu.conf" |
5 | 5 | ||
6 | do_install:append:qoriq-ppc() { | 6 | do_install:append:qoriq-ppc() { |
7 | install -m 0644 ${WORKDIR}/qemu.conf ${D}${sysconfdir}/libvirt/qemu.conf | 7 | install -m 0644 ${UNPACKDIR}/qemu.conf ${D}${sysconfdir}/libvirt/qemu.conf |
8 | } | 8 | } |
9 | 9 | ||
diff --git a/recipes-bsp/firmware-imx/firmware-imx_8.23.bb b/recipes-bsp/firmware-imx/firmware-imx_8.23.bb index a9e36b5e..0c935b92 100644 --- a/recipes-bsp/firmware-imx/firmware-imx_8.23.bb +++ b/recipes-bsp/firmware-imx/firmware-imx_8.23.bb | |||
@@ -1,5 +1,5 @@ | |||
1 | # Copyright (C) 2012-2016 Freescale Semiconductor | 1 | # Copyright (C) 2012-2016 Freescale Semiconductor |
2 | # Copyright 2017-2021 NXP | 2 | # Copyright 2017-2021,2023 NXP |
3 | # Copyright (C) 2018 O.S. Systems Software LTDA. | 3 | # Copyright (C) 2018 O.S. Systems Software LTDA. |
4 | SUMMARY = "Freescale i.MX firmware" | 4 | SUMMARY = "Freescale i.MX firmware" |
5 | DESCRIPTION = "Freescale i.MX firmware such as for the VPU" | 5 | DESCRIPTION = "Freescale i.MX firmware such as for the VPU" |
@@ -10,14 +10,21 @@ PE = "1" | |||
10 | 10 | ||
11 | inherit allarch | 11 | inherit allarch |
12 | 12 | ||
13 | IMX_USE_LINUX_FIRMWARE_SDMA ?= "1" | ||
14 | |||
13 | do_install() { | 15 | do_install() { |
14 | install -d ${D}${nonarch_base_libdir}/firmware/imx | 16 | install -d ${D}${nonarch_base_libdir}/firmware/imx |
15 | 17 | ||
16 | # SDMA Firmware section | 18 | # SDMA Firmware section |
17 | install -d ${D}${nonarch_base_libdir}/firmware/imx/sdma | 19 | install -d ${D}${nonarch_base_libdir}/firmware/imx/sdma |
18 | install -m 0644 ${S}/firmware/sdma/* ${D}${nonarch_base_libdir}/firmware/imx/sdma | 20 | install -m 0644 ${S}/firmware/sdma/* ${D}${nonarch_base_libdir}/firmware/imx/sdma |
19 | rm -f ${D}${nonarch_base_libdir}/firmware/imx/sdma/sdma-imx6q.bin | 21 | # Define IMX_USE_LINUX_FIRMWARE_SDMA = "0" in layer.conf, machine.conf, local.conf |
20 | rm -f ${D}${nonarch_base_libdir}/firmware/imx/sdma/sdma-imx7d.bin | 22 | # or in .bbappend to use sdma-imx6q/7d.bin from here and not linux-firmware |
23 | if [ ${IMX_USE_LINUX_FIRMWARE_SDMA} -gt 0 ] | ||
24 | then | ||
25 | rm -f ${D}${nonarch_base_libdir}/firmware/imx/sdma/sdma-imx6q.bin | ||
26 | rm -f ${D}${nonarch_base_libdir}/firmware/imx/sdma/sdma-imx7d.bin | ||
27 | fi | ||
21 | 28 | ||
22 | # EASRC Firmware section | 29 | # EASRC Firmware section |
23 | install -d ${D}${nonarch_base_libdir}/firmware/imx/easrc | 30 | install -d ${D}${nonarch_base_libdir}/firmware/imx/easrc |
@@ -53,6 +60,11 @@ do_install() { | |||
53 | # as some of other files are provided by packages from other recipes. | 60 | # as some of other files are provided by packages from other recipes. |
54 | install -d ${D}${nonarch_base_libdir}/firmware/vpu | 61 | install -d ${D}${nonarch_base_libdir}/firmware/vpu |
55 | install -m 0644 ${S}/firmware/vpu/vpu_fw_imx*.bin ${D}${nonarch_base_libdir}/firmware/vpu | 62 | install -m 0644 ${S}/firmware/vpu/vpu_fw_imx*.bin ${D}${nonarch_base_libdir}/firmware/vpu |
63 | # Update i.MX8 vpu firmware path to align with kernel6.5+ | ||
64 | install -d ${D}${nonarch_base_libdir}/firmware/amphion/vpu/ | ||
65 | mv ${D}${nonarch_base_libdir}/firmware/vpu/vpu_fw_imx8* ${D}${nonarch_base_libdir}/firmware/amphion/vpu/ | ||
66 | # Install i.MX 95 VPU firmware | ||
67 | install -m 0644 ${S}/firmware/vpu/wave633c_codec_fw.bin ${D}${nonarch_base_libdir}/firmware | ||
56 | } | 68 | } |
57 | 69 | ||
58 | # | 70 | # |
@@ -88,6 +100,7 @@ python populate_packages:prepend() { | |||
88 | 100 | ||
89 | os.chdir(cwd) | 101 | os.chdir(cwd) |
90 | 102 | ||
103 | |||
91 | easrcdir = bb.data.expand('${nonarch_base_libdir}/firmware/imx/easrc', d) | 104 | easrcdir = bb.data.expand('${nonarch_base_libdir}/firmware/imx/easrc', d) |
92 | do_split_packages(d, easrcdir, '^easrc-([^_]*).*\.bin', | 105 | do_split_packages(d, easrcdir, '^easrc-([^_]*).*\.bin', |
93 | output_pattern='firmware-imx-easrc-%s', | 106 | output_pattern='firmware-imx-easrc-%s', |
@@ -144,7 +157,7 @@ PACKAGES_DYNAMIC = "${PN}-vpu-* ${PN}-sdma-* ${PN}-easrc-* ${PN}-xcvr-* ${PN}-xu | |||
144 | # is empty. | 157 | # is empty. |
145 | # Therefore, we opt-out from producing -dev package here, since also for firmware | 158 | # Therefore, we opt-out from producing -dev package here, since also for firmware |
146 | # files it makes no sense. | 159 | # files it makes no sense. |
147 | PACKAGES = "${PN} ${PN}-epdc ${PN}-hdmi" | 160 | PACKAGES = "${PN} ${PN}-epdc ${PN}-hdmi ${PN}-vpu-amphion ${PN}-vpu-wave" |
148 | 161 | ||
149 | FILES:${PN}-epdc = "${nonarch_base_libdir}/firmware/imx/epdc/" | 162 | FILES:${PN}-epdc = "${nonarch_base_libdir}/firmware/imx/epdc/" |
150 | FILES:${PN}-hdmi = " \ | 163 | FILES:${PN}-hdmi = " \ |
@@ -152,5 +165,7 @@ FILES:${PN}-hdmi = " \ | |||
152 | ${nonarch_base_libdir}/firmware/hdmirxfw.bin \ | 165 | ${nonarch_base_libdir}/firmware/hdmirxfw.bin \ |
153 | ${nonarch_base_libdir}/firmware/dpfw.bin \ | 166 | ${nonarch_base_libdir}/firmware/dpfw.bin \ |
154 | " | 167 | " |
168 | FILES:${PN}-vpu-amphion = "${nonarch_base_libdir}/firmware/amphion/vpu/*" | ||
169 | FILES:${PN}-vpu-wave = "${nonarch_base_libdir}/firmware/wave633c_codec_fw.bin" | ||
155 | 170 | ||
156 | COMPATIBLE_MACHINE = "(imx-generic-bsp)" | 171 | COMPATIBLE_MACHINE = "(imx-generic-bsp)" |
diff --git a/recipes-bsp/imx-lib/imx-lib_git.bb b/recipes-bsp/imx-lib/imx-lib_git.bb index 74b7bddf..d06ccfa1 100644 --- a/recipes-bsp/imx-lib/imx-lib_git.bb +++ b/recipes-bsp/imx-lib/imx-lib_git.bb | |||
@@ -13,7 +13,7 @@ PE = "1" | |||
13 | PV = "5.9+${SRCPV}" | 13 | PV = "5.9+${SRCPV}" |
14 | 14 | ||
15 | SRC_URI = "git://github.com/nxp-imx/imx-lib.git;protocol=https;branch=${SRCBRANCH}" | 15 | SRC_URI = "git://github.com/nxp-imx/imx-lib.git;protocol=https;branch=${SRCBRANCH}" |
16 | SRCBRANCH = "lf-6.1.55_2.2.0" | 16 | SRCBRANCH = "lf-6.6.3_1.0.0" |
17 | SRCREV = "8f124c3914d82019849fb697baeb730e4cb1b547" | 17 | SRCREV = "8f124c3914d82019849fb697baeb730e4cb1b547" |
18 | 18 | ||
19 | S = "${WORKDIR}/git" | 19 | S = "${WORKDIR}/git" |
diff --git a/recipes-bsp/imx-test/imx-test_git.bb b/recipes-bsp/imx-test/imx-test_git.bb index 930cdf94..ae3dc469 100644 --- a/recipes-bsp/imx-test/imx-test_git.bb +++ b/recipes-bsp/imx-test/imx-test_git.bb | |||
@@ -73,11 +73,11 @@ do_install() { | |||
73 | PLATFORM=${PLATFORM} \ | 73 | PLATFORM=${PLATFORM} \ |
74 | install | 74 | install |
75 | 75 | ||
76 | if [ -e ${WORKDIR}/clocks.sh ]; then | 76 | if [ -e ${UNPACKDIR}/clocks.sh ]; then |
77 | install -m 755 ${WORKDIR}/clocks.sh ${D}/unit_tests/clocks.sh | 77 | install -m 755 ${UNPACKDIR}/clocks.sh ${D}/unit_tests/clocks.sh |
78 | fi | 78 | fi |
79 | install -d -m 0755 ${D}${ROOT_HOME}/ | 79 | install -d -m 0755 ${D}${ROOT_HOME}/ |
80 | install -m 0644 ${WORKDIR}/memtool_profile ${D}${ROOT_HOME}/.profile | 80 | install -m 0644 ${UNPACKDIR}/memtool_profile ${D}${ROOT_HOME}/.profile |
81 | } | 81 | } |
82 | 82 | ||
83 | FILES:${PN} += "/unit_tests ${ROOT_HOME}/.profile" | 83 | FILES:${PN} += "/unit_tests ${ROOT_HOME}/.profile" |
diff --git a/recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.1.3.bb b/recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.1.3.bb index b160c31d..4723146e 100644 --- a/recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.1.3.bb +++ b/recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.1.3.bb | |||
@@ -82,7 +82,7 @@ PACKAGECONFIG[dma-heap-uncached] = "--with-dma-heap-allocator=yes ${UNCACHED_DMA | |||
82 | # Using do_install_ptest_base instead of do_install_ptest, since | 82 | # Using do_install_ptest_base instead of do_install_ptest, since |
83 | # the default do_install_ptest_base is hardcoded to expect Makefiles. | 83 | # the default do_install_ptest_base is hardcoded to expect Makefiles. |
84 | do_install_ptest_base() { | 84 | do_install_ptest_base() { |
85 | install -D ${WORKDIR}/run-ptest ${D}${PTEST_PATH}/run-ptest | 85 | install -D ${UNPACKDIR}/run-ptest ${D}${PTEST_PATH}/run-ptest |
86 | install -m 0755 ${B}/test-alloc ${D}${PTEST_PATH} | 86 | install -m 0755 ${B}/test-alloc ${D}${PTEST_PATH} |
87 | } | 87 | } |
88 | 88 | ||
diff --git a/recipes-bsp/ppfe-firmware/ppfe-firmware_git.bb b/recipes-bsp/ppfe-firmware/ppfe-firmware_git.bb index c01bfd4c..bb542e8c 100644 --- a/recipes-bsp/ppfe-firmware/ppfe-firmware_git.bb +++ b/recipes-bsp/ppfe-firmware/ppfe-firmware_git.bb | |||
@@ -13,10 +13,10 @@ SRCREV = "f55ee9f72090309bbb7ab71f48a498fc02909234" | |||
13 | S = "${WORKDIR}/git" | 13 | S = "${WORKDIR}/git" |
14 | 14 | ||
15 | do_install () { | 15 | do_install () { |
16 | install -d ${D}/lib/firmware | 16 | install -d ${D}${nonarch_base_libdir}/firmware |
17 | install -d ${D}/boot/engine-pfe-bin | 17 | install -d ${D}/boot/engine-pfe-bin |
18 | install -m 644 ${S}/NXP-Binary-EULA.txt ${D}/lib/firmware | 18 | install -m 644 ${S}/NXP-Binary-EULA.txt ${D}${nonarch_base_libdir}/firmware |
19 | install -m 755 ${S}/ls1012a/slow_path/*.elf ${D}/lib/firmware | 19 | install -m 755 ${S}/ls1012a/slow_path/*.elf ${D}${nonarch_base_libdir}/firmware |
20 | install -m 755 ${S}/ls1012a/u-boot/* ${D}/boot/engine-pfe-bin | 20 | install -m 755 ${S}/ls1012a/u-boot/* ${D}/boot/engine-pfe-bin |
21 | } | 21 | } |
22 | 22 | ||
@@ -27,7 +27,7 @@ do_deploy () { | |||
27 | 27 | ||
28 | addtask deploy after do_install | 28 | addtask deploy after do_install |
29 | 29 | ||
30 | FILES:${PN} += "/lib/firmware /boot/" | 30 | FILES:${PN} += "${nonarch_base_libdir}/firmware /boot/" |
31 | INSANE_SKIP:${PN} += "arch already-stripped" | 31 | INSANE_SKIP:${PN} += "arch already-stripped" |
32 | INHIBIT_PACKAGE_STRIP = "1" | 32 | INHIBIT_PACKAGE_STRIP = "1" |
33 | INHIBIT_SYSROOT_STRIP = "1" | 33 | INHIBIT_SYSROOT_STRIP = "1" |
diff --git a/recipes-core/udev/udev-rules-imx.bb b/recipes-core/udev/udev-rules-imx.bb index 163f2835..8ade3ebf 100644 --- a/recipes-core/udev/udev-rules-imx.bb +++ b/recipes-core/udev/udev-rules-imx.bb | |||
@@ -4,9 +4,7 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda | |||
4 | 4 | ||
5 | SRC_URI = " file://10-imx.rules" | 5 | SRC_URI = " file://10-imx.rules" |
6 | 6 | ||
7 | S = "${WORKDIR}" | ||
8 | |||
9 | do_install () { | 7 | do_install () { |
10 | install -d ${D}${sysconfdir}/udev/rules.d | 8 | install -d ${D}${sysconfdir}/udev/rules.d |
11 | install -m 0644 ${WORKDIR}/10-imx.rules ${D}${sysconfdir}/udev/rules.d/ | 9 | install -m 0644 ${UNPACKDIR}/10-imx.rules ${D}${sysconfdir}/udev/rules.d/ |
12 | } | 10 | } |
diff --git a/recipes-core/udev/udev-rules-qoriq.bb b/recipes-core/udev/udev-rules-qoriq.bb index 1200527c..792c3234 100644 --- a/recipes-core/udev/udev-rules-qoriq.bb +++ b/recipes-core/udev/udev-rules-qoriq.bb | |||
@@ -9,7 +9,6 @@ SRC_URI = "\ | |||
9 | file://74-ls1046a-xfi2-networking.rules \ | 9 | file://74-ls1046a-xfi2-networking.rules \ |
10 | file://73-fsl-enetc-networking.rules \ | 10 | file://73-fsl-enetc-networking.rules \ |
11 | " | 11 | " |
12 | S = "${WORKDIR}" | ||
13 | 12 | ||
14 | RULE = "71-fsl-dpaa-persistent-networking.rules" | 13 | RULE = "71-fsl-dpaa-persistent-networking.rules" |
15 | RULE:e6500 = "72-fsl-dpaa-persistent-networking.rules" | 14 | RULE:e6500 = "72-fsl-dpaa-persistent-networking.rules" |
@@ -26,7 +25,7 @@ RULE:ls1012a = "" | |||
26 | do_install () { | 25 | do_install () { |
27 | install -d ${D}${sysconfdir}/udev/rules.d/ | 26 | install -d ${D}${sysconfdir}/udev/rules.d/ |
28 | for r in ${RULE};do | 27 | for r in ${RULE};do |
29 | install -m 0644 ${WORKDIR}/${r} ${D}${sysconfdir}/udev/rules.d/ | 28 | install -m 0644 ${UNPACKDIR}/${r} ${D}${sysconfdir}/udev/rules.d/ |
30 | done | 29 | done |
31 | } | 30 | } |
32 | 31 | ||
diff --git a/recipes-devtools/uuu/uuu-bin_1.5.165.bb b/recipes-devtools/uuu/uuu-bin_1.5.165.bb index 2b5feda1..61c3927c 100644 --- a/recipes-devtools/uuu/uuu-bin_1.5.165.bb +++ b/recipes-devtools/uuu/uuu-bin_1.5.165.bb | |||
@@ -19,14 +19,12 @@ SRC_URI[Linux.sha256sum] = "f863bba022202361d19e5026be0af408d307f78d2dbf2c139fb7 | |||
19 | SRC_URI[Mac.sha256sum] = "62da0bd7e333931fba100823aa50133621c7e6047be0546bc12e29c0ea78a4d8" | 19 | SRC_URI[Mac.sha256sum] = "62da0bd7e333931fba100823aa50133621c7e6047be0546bc12e29c0ea78a4d8" |
20 | SRC_URI[Windows.sha256sum] = "013ed8bb45e21b971b6b3a5802c5f154733913714bece0b020cb770a809cd206" | 20 | SRC_URI[Windows.sha256sum] = "013ed8bb45e21b971b6b3a5802c5f154733913714bece0b020cb770a809cd206" |
21 | 21 | ||
22 | S = "${WORKDIR}" | ||
23 | |||
24 | inherit allarch | 22 | inherit allarch |
25 | 23 | ||
26 | do_install() { | 24 | do_install() { |
27 | install -D -m 0755 ${WORKDIR}/uuu-${PV} ${D}${libdir}/uuu/uuu | 25 | install -D -m 0755 ${UNPACKDIR}/uuu-${PV} ${D}${libdir}/uuu/uuu |
28 | install -D -m 0755 ${WORKDIR}/uuu-${PV}_mac ${D}${libdir}/uuu/uuu_mac | 26 | install -D -m 0755 ${UNPACKDIR}/uuu-${PV}_mac ${D}${libdir}/uuu/uuu_mac |
29 | install -D -m 0644 ${WORKDIR}/uuu-${PV}.exe ${D}${libdir}/uuu/uuu.exe | 27 | install -D -m 0644 ${UNPACKDIR}/uuu-${PV}.exe ${D}${libdir}/uuu/uuu.exe |
30 | } | 28 | } |
31 | 29 | ||
32 | # HACK! We are not aiming to run those binaries during the build but copy then for MFGTOOL bundle. | 30 | # HACK! We are not aiming to run those binaries during the build but copy then for MFGTOOL bundle. |
diff --git a/recipes-extended/merge-files/merge-files_1.0.bb b/recipes-extended/merge-files/merge-files_1.0.bb index 5b3ca7ed..bd788fdb 100644 --- a/recipes-extended/merge-files/merge-files_1.0.bb +++ b/recipes-extended/merge-files/merge-files_1.0.bb | |||
@@ -5,14 +5,13 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384 | |||
5 | inherit allarch | 5 | inherit allarch |
6 | 6 | ||
7 | SRC_URI = "file://merge" | 7 | SRC_URI = "file://merge" |
8 | S = "${WORKDIR}" | ||
9 | 8 | ||
10 | MERGED_DST ?= "${ROOT_HOME}" | 9 | MERGED_DST ?= "${ROOT_HOME}" |
11 | do_install () { | 10 | do_install () { |
12 | install -d ${D}/${MERGED_DST} | 11 | install -d ${D}/${MERGED_DST} |
13 | find ${WORKDIR}/merge/ -maxdepth 1 -mindepth 1 -not -name README \ | 12 | find ${UNPACKDIR}/merge/ -maxdepth 1 -mindepth 1 -not -name README \ |
14 | -exec cp -fr '{}' ${D}/${MERGED_DST}/ \; | 13 | -exec cp -fr '{}' ${D}/${MERGED_DST}/ \; |
15 | find ${WORKDIR}/merge/ -maxdepth 1 -mindepth 1 -exec rm -fr '{}' \; | 14 | find ${UNPACKDIR}/merge/ -maxdepth 1 -mindepth 1 -exec rm -fr '{}' \; |
16 | } | 15 | } |
17 | do_configure[noexec] = "1" | 16 | do_configure[noexec] = "1" |
18 | do_compile[noexec] = "1" | 17 | do_compile[noexec] = "1" |
diff --git a/recipes-extended/testfloat/testfloat_2a.bb b/recipes-extended/testfloat/testfloat_2a.bb index 4ed2ceb3..60e9b864 100644 --- a/recipes-extended/testfloat/testfloat_2a.bb +++ b/recipes-extended/testfloat/testfloat_2a.bb | |||
@@ -18,7 +18,7 @@ SRC_URI[SoftFloat.sha256sum] = "89d14b55113a2ba8cbda7011443ba1d298d381c89d939515 | |||
18 | S = "${WORKDIR}/TestFloat-2a" | 18 | S = "${WORKDIR}/TestFloat-2a" |
19 | 19 | ||
20 | do_unpack2(){ | 20 | do_unpack2(){ |
21 | mv ${WORKDIR}/SoftFloat-2b ${S}/SoftFloat-2b | 21 | mv ${UNPACKDIR}/SoftFloat-2b ${S}/SoftFloat-2b |
22 | cd ${S} | 22 | cd ${S} |
23 | if [ -n "$(which fromdos)" ];then | 23 | if [ -n "$(which fromdos)" ];then |
24 | find -type f -exec fromdos {} \; | 24 | find -type f -exec fromdos {} \; |
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 e33df444..2d02d7ab 100644 --- a/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc +++ b/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc | |||
@@ -274,7 +274,7 @@ do_install () { | |||
274 | rm -rf ${D}$f | 274 | rm -rf ${D}$f |
275 | done | 275 | done |
276 | else | 276 | else |
277 | install -Dm 0644 ${WORKDIR}/imx_icd.json ${D}${sysconfdir}/vulkan/icd.d/imx_icd.json | 277 | install -Dm 0644 ${UNPACKDIR}/imx_icd.json ${D}${sysconfdir}/vulkan/icd.d/imx_icd.json |
278 | sed -i "s,%libdir%,${libdir}," ${D}${sysconfdir}/vulkan/icd.d/imx_icd.json | 278 | sed -i "s,%libdir%,${libdir}," ${D}${sysconfdir}/vulkan/icd.d/imx_icd.json |
279 | sed -i "s,%api_version%,${LIBVULKAN_API_VERSION}," ${D}${sysconfdir}/vulkan/icd.d/imx_icd.json | 279 | sed -i "s,%api_version%,${LIBVULKAN_API_VERSION}," ${D}${sysconfdir}/vulkan/icd.d/imx_icd.json |
280 | fi | 280 | fi |
diff --git a/recipes-graphics/mesa/mesa-etnaviv-env_0.1.bb b/recipes-graphics/mesa/mesa-etnaviv-env_0.1.bb index 87d05365..658b28de 100644 --- a/recipes-graphics/mesa/mesa-etnaviv-env_0.1.bb +++ b/recipes-graphics/mesa/mesa-etnaviv-env_0.1.bb | |||
@@ -17,13 +17,13 @@ do_install:use-mainline-bsp() { | |||
17 | 17 | ||
18 | # systemd | 18 | # systemd |
19 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then | 19 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then |
20 | install -D -m 644 ${WORKDIR}/mesa-etnaviv.conf \ | 20 | install -D -m 644 ${UNPACKDIR}/mesa-etnaviv.conf \ |
21 | ${D}${sysconfdir}/systemd/system.conf.d/mesa-etnaviv.conf | 21 | ${D}${sysconfdir}/systemd/system.conf.d/mesa-etnaviv.conf |
22 | fi | 22 | fi |
23 | 23 | ||
24 | # sysvinit | 24 | # sysvinit |
25 | if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then | 25 | if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then |
26 | install -D -m 644 ${WORKDIR}/mesa-etnaviv.sh \ | 26 | install -D -m 644 ${UNPACKDIR}/mesa-etnaviv.sh \ |
27 | ${D}${sysconfdir}/profile.d/mesa-etnaviv.sh | 27 | ${D}${sysconfdir}/profile.d/mesa-etnaviv.sh |
28 | fi | 28 | fi |
29 | } | 29 | } |
diff --git a/recipes-graphics/wayland/weston-init.bbappend b/recipes-graphics/wayland/weston-init.bbappend index 9d04df23..07a4ea86 100644 --- a/recipes-graphics/wayland/weston-init.bbappend +++ b/recipes-graphics/wayland/weston-init.bbappend | |||
@@ -58,8 +58,8 @@ PACKAGECONFIG[use-g2d] = ",," | |||
58 | PACKAGECONFIG[xwayland] = ",," | 58 | PACKAGECONFIG[xwayland] = ",," |
59 | 59 | ||
60 | do_install:append() { | 60 | do_install:append() { |
61 | if [ -f "${WORKDIR}/weston.config" ]; then | 61 | if [ -f "${UNPACKDIR}/weston.config" ]; then |
62 | install -Dm0755 ${WORKDIR}/weston.config ${D}${sysconfdir}/default/weston | 62 | install -Dm0755 ${UNPACKDIR}/weston.config ${D}${sysconfdir}/default/weston |
63 | fi | 63 | fi |
64 | 64 | ||
65 | if [ "${@bb.utils.contains('PACKAGECONFIG', 'gbm-format', 'yes', 'no', d)}" = "yes" ]; then | 65 | if [ "${@bb.utils.contains('PACKAGECONFIG', 'gbm-format', 'yes', 'no', d)}" = "yes" ]; then |
diff --git a/recipes-graphics/wayland/weston_10.0.5.imx.bb b/recipes-graphics/wayland/weston_10.0.5.imx.bb index 99624887..df2898f0 100644 --- a/recipes-graphics/wayland/weston_10.0.5.imx.bb +++ b/recipes-graphics/wayland/weston_10.0.5.imx.bb | |||
@@ -109,18 +109,18 @@ do_install:append() { | |||
109 | # If X11, ship a desktop file to launch it | 109 | # If X11, ship a desktop file to launch it |
110 | if [ "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" ]; then | 110 | if [ "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" ]; then |
111 | install -d ${D}${datadir}/applications | 111 | install -d ${D}${datadir}/applications |
112 | install ${WORKDIR}/weston.desktop ${D}${datadir}/applications | 112 | install ${UNPACKDIR}/weston.desktop ${D}${datadir}/applications |
113 | 113 | ||
114 | install -d ${D}${datadir}/icons/hicolor/48x48/apps | 114 | install -d ${D}${datadir}/icons/hicolor/48x48/apps |
115 | install ${WORKDIR}/weston.png ${D}${datadir}/icons/hicolor/48x48/apps | 115 | install ${UNPACKDIR}/weston.png ${D}${datadir}/icons/hicolor/48x48/apps |
116 | fi | 116 | fi |
117 | 117 | ||
118 | if [ "${@bb.utils.contains('PACKAGECONFIG', 'xwayland', 'yes', 'no', d)}" = "yes" ]; then | 118 | if [ "${@bb.utils.contains('PACKAGECONFIG', 'xwayland', 'yes', 'no', d)}" = "yes" ]; then |
119 | install -Dm 644 ${WORKDIR}/xwayland.weston-start ${D}${datadir}/weston-start/xwayland | 119 | install -Dm 644 ${UNPACKDIR}/xwayland.weston-start ${D}${datadir}/weston-start/xwayland |
120 | fi | 120 | fi |
121 | 121 | ||
122 | if [ "${@bb.utils.contains('PACKAGECONFIG', 'systemd', 'yes', 'no', d)}" = "yes" ]; then | 122 | if [ "${@bb.utils.contains('PACKAGECONFIG', 'systemd', 'yes', 'no', d)}" = "yes" ]; then |
123 | install -Dm 644 ${WORKDIR}/systemd-notify.weston-start ${D}${datadir}/weston-start/systemd-notify | 123 | install -Dm 644 ${UNPACKDIR}/systemd-notify.weston-start ${D}${datadir}/weston-start/systemd-notify |
124 | fi | 124 | fi |
125 | 125 | ||
126 | if [ "${@bb.utils.contains('PACKAGECONFIG', 'launch', 'yes', 'no', d)}" = "yes" ]; then | 126 | if [ "${@bb.utils.contains('PACKAGECONFIG', 'launch', 'yes', 'no', d)}" = "yes" ]; then |
diff --git a/recipes-graphics/wayland/weston_12.0.3.imx.bb b/recipes-graphics/wayland/weston_12.0.3.imx.bb index 8114ddbb..14b79f18 100644 --- a/recipes-graphics/wayland/weston_12.0.3.imx.bb +++ b/recipes-graphics/wayland/weston_12.0.3.imx.bb | |||
@@ -116,18 +116,18 @@ do_install:append() { | |||
116 | # If X11, ship a desktop file to launch it | 116 | # If X11, ship a desktop file to launch it |
117 | if [ "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" ]; then | 117 | if [ "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" ]; then |
118 | install -d ${D}${datadir}/applications | 118 | install -d ${D}${datadir}/applications |
119 | install ${WORKDIR}/weston.desktop ${D}${datadir}/applications | 119 | install ${UNPACKDIR}/weston.desktop ${D}${datadir}/applications |
120 | 120 | ||
121 | install -d ${D}${datadir}/icons/hicolor/48x48/apps | 121 | install -d ${D}${datadir}/icons/hicolor/48x48/apps |
122 | install ${WORKDIR}/weston.png ${D}${datadir}/icons/hicolor/48x48/apps | 122 | install ${UNPACKDIR}/weston.png ${D}${datadir}/icons/hicolor/48x48/apps |
123 | fi | 123 | fi |
124 | 124 | ||
125 | if [ "${@bb.utils.contains('PACKAGECONFIG', 'xwayland', 'yes', 'no', d)}" = "yes" ]; then | 125 | if [ "${@bb.utils.contains('PACKAGECONFIG', 'xwayland', 'yes', 'no', d)}" = "yes" ]; then |
126 | install -Dm 644 ${WORKDIR}/xwayland.weston-start ${D}${datadir}/weston-start/xwayland | 126 | install -Dm 644 ${UNPACKDIR}/xwayland.weston-start ${D}${datadir}/weston-start/xwayland |
127 | fi | 127 | fi |
128 | 128 | ||
129 | if [ "${@bb.utils.contains('PACKAGECONFIG', 'systemd', 'yes', 'no', d)}" = "yes" ]; then | 129 | if [ "${@bb.utils.contains('PACKAGECONFIG', 'systemd', 'yes', 'no', d)}" = "yes" ]; then |
130 | install -Dm 644 ${WORKDIR}/systemd-notify.weston-start ${D}${datadir}/weston-start/systemd-notify | 130 | install -Dm 644 ${UNPACKDIR}/systemd-notify.weston-start ${D}${datadir}/weston-start/systemd-notify |
131 | fi | 131 | fi |
132 | 132 | ||
133 | if [ "${@bb.utils.contains('PACKAGECONFIG', 'launch', 'yes', 'no', d)}" = "yes" ]; then | 133 | if [ "${@bb.utils.contains('PACKAGECONFIG', 'launch', 'yes', 'no', d)}" = "yes" ]; then |
diff --git a/recipes-kernel/kernel-modules/kernel-module-isp-vvcam_4.2.2.24.0.bb b/recipes-kernel/kernel-modules/kernel-module-isp-vvcam_4.2.2.24.1.bb index d5804634..d2c63aa0 100644 --- a/recipes-kernel/kernel-modules/kernel-module-isp-vvcam_4.2.2.24.0.bb +++ b/recipes-kernel/kernel-modules/kernel-module-isp-vvcam_4.2.2.24.1.bb | |||
@@ -6,8 +6,8 @@ LIC_FILES_CHKSUM = "file://${S}/../LICENSE;md5=64381a6ea83b48c39fe524c85f65fb44" | |||
6 | 6 | ||
7 | SRC_URI = "${ISP_KERNEL_SRC};branch=${SRCBRANCH}" | 7 | SRC_URI = "${ISP_KERNEL_SRC};branch=${SRCBRANCH}" |
8 | ISP_KERNEL_SRC ?= "git://github.com/nxp-imx/isp-vvcam.git;protocol=https" | 8 | ISP_KERNEL_SRC ?= "git://github.com/nxp-imx/isp-vvcam.git;protocol=https" |
9 | SRCBRANCH = "lf-6.1.55_2.2.0" | 9 | SRCBRANCH = "lf-6.6.3_1.0.0" |
10 | SRCREV = "2c762259b979d7ec5a2e17df6ad823de49d43a28" | 10 | SRCREV = "2102360b58d9d1b36bc0c654c8301e4014b33951" |
11 | 11 | ||
12 | S = "${WORKDIR}/git/vvcam/v4l2" | 12 | S = "${WORKDIR}/git/vvcam/v4l2" |
13 | 13 | ||
diff --git a/recipes-kernel/kernel-modules/kernel-module-nxp-wlan_git.bb b/recipes-kernel/kernel-modules/kernel-module-nxp-wlan_git.bb index 0bf6154d..48e9cc3b 100644 --- a/recipes-kernel/kernel-modules/kernel-module-nxp-wlan_git.bb +++ b/recipes-kernel/kernel-modules/kernel-module-nxp-wlan_git.bb | |||
@@ -8,10 +8,10 @@ RREPLACES:${PN} = "kernel-module-nxp89xx" | |||
8 | RPROVIDES:${PN} = "kernel-module-nxp89xx" | 8 | RPROVIDES:${PN} = "kernel-module-nxp89xx" |
9 | RCONFLICTS:${PN} = "kernel-module-nxp89xx" | 9 | RCONFLICTS:${PN} = "kernel-module-nxp89xx" |
10 | 10 | ||
11 | SRCBRANCH = "lf-6.1.55_2.2.0" | 11 | SRCBRANCH = "lf-6.6.3_1.0.0" |
12 | MRVL_SRC ?= "git://github.com/nxp-imx/mwifiex.git;protocol=https" | 12 | MRVL_SRC ?= "git://github.com/nxp-imx/mwifiex.git;protocol=https" |
13 | SRC_URI = "${MRVL_SRC};branch=${SRCBRANCH}" | 13 | SRC_URI = "${MRVL_SRC};branch=${SRCBRANCH}" |
14 | SRCREV = "952d10f3349426f917636a4560974117eb6eef5b" | 14 | SRCREV = "a84df583155bad2a396a937056805550bdf655ab" |
15 | 15 | ||
16 | S = "${WORKDIR}/git/mxm_wifiex/wlan_src" | 16 | S = "${WORKDIR}/git/mxm_wifiex/wlan_src" |
17 | 17 | ||
diff --git a/recipes-kernel/linux/linux-fslc-imx_6.6.bb b/recipes-kernel/linux/linux-fslc-imx_6.6.bb index 6e31c1e2..93184600 100644 --- a/recipes-kernel/linux/linux-fslc-imx_6.6.bb +++ b/recipes-kernel/linux/linux-fslc-imx_6.6.bb | |||
@@ -12,8 +12,8 @@ Latest stable Kernel patchlevel is applied and maintained by Community." | |||
12 | ############################################################################### | 12 | ############################################################################### |
13 | # This recipe (and corresponding kernel repository and branch) receives updates | 13 | # This recipe (and corresponding kernel repository and branch) receives updates |
14 | # from 3 different sources: | 14 | # from 3 different sources: |
15 | # 1. Stable [linux-6.1.y] branch updates of korg; | 15 | # 1. Stable [linux-6.6.y] branch updates of korg; |
16 | # 2. NXP-specific updates via branch [lf-6.1.y] shared via GitHub NXP repo; | 16 | # 2. NXP-specific updates via branch [lf-6.6.y] shared via GitHub NXP repo; |
17 | # 3. Critical patches, which are not (yet) integrated into either of 2 above | 17 | # 3. Critical patches, which are not (yet) integrated into either of 2 above |
18 | # sources, but are required to be applied to the kernel tree. | 18 | # sources, but are required to be applied to the kernel tree. |
19 | # | 19 | # |
@@ -28,23 +28,20 @@ Latest stable Kernel patchlevel is applied and maintained by Community." | |||
28 | # ------------------------------------------------------------------------------ | 28 | # ------------------------------------------------------------------------------ |
29 | # 1. Stable (tag or SHA(s)) | 29 | # 1. Stable (tag or SHA(s)) |
30 | # ------------------------------------------------------------------------------ | 30 | # ------------------------------------------------------------------------------ |
31 | # tag: v6.1.70 | 31 | # tag: v6.6.28 |
32 | # | 32 | # |
33 | # ------------------------------------------------------------------------------ | 33 | # ------------------------------------------------------------------------------ |
34 | # 2. NXP-specific (tag or SHA(s)) | 34 | # 2. NXP-specific (tag or SHA(s)) |
35 | # ------------------------------------------------------------------------------ | 35 | # ------------------------------------------------------------------------------ |
36 | # tag: lf-6.1.55-2.2.0 | 36 | # tag: lf-6.6.3-1.0.00 |
37 | # | 37 | # |
38 | # ------------------------------------------------------------------------------ | 38 | # ------------------------------------------------------------------------------ |
39 | # 3. Critical patches (SHA(s)) | 39 | # 3. Critical patches (SHA(s)) |
40 | # ------------------------------------------------------------------------------ | 40 | # ------------------------------------------------------------------------------ |
41 | # - 77a660738af5 Revert "net: stmmac: fix FPE events losing" | 41 | # - f67cb9a5b4fb7 Revert "net: stmmac: fix FPE events losing" |
42 | # - d9e9cb8ce9bc hx280enc_vc8000e: fix misplaced #endif | 42 | # - 1918c2eb8b07f Revert "dmaengine: fsl-edma: fix DMA channel leak in eDMAv4" |
43 | # - 3f1f2ea72955 mxc: gpu-viv: change _QuerySignal() return type to gceSTATUS | 43 | # - 42289407ee38f Revert "dmaengine: fsl-edma: Add judgment on enabling round robin arbitration" |
44 | # - b73c6797ee42 ARM: imx_v7_defconfig: Remove KERNEL_LZO config | 44 | # - 952f79923f055 Revert "dmaengine: fsl-edma: Do not suspend and resume the masked dma channel when the system is sleeping" |
45 | # - ec33c7fc43be touchscreen: Kconfig: add I2C dependency for CT36X | ||
46 | # - 6c41233a2cfb pwm: pwm-adp5585: fix get_state callback prototype | ||
47 | # - 9c7540ecb891 pwm: pwm-rpmsg-imx: fix get_state callback prototype | ||
48 | # | 45 | # |
49 | # NOTE to upgraders: | 46 | # NOTE to upgraders: |
50 | # This recipe should NOT collect individual patches, they should be applied to | 47 | # This recipe should NOT collect individual patches, they should be applied to |
@@ -56,14 +53,14 @@ require linux-imx.inc | |||
56 | 53 | ||
57 | KBRANCH = "6.6-1.0.x-imx" | 54 | KBRANCH = "6.6-1.0.x-imx" |
58 | SRC_URI = "git://github.com/Freescale/linux-fslc.git;branch=${KBRANCH};protocol=https" | 55 | SRC_URI = "git://github.com/Freescale/linux-fslc.git;branch=${KBRANCH};protocol=https" |
59 | SRCREV = "ccf0a99701a701fb48a04e31ffe3f9d585a8374a" | 56 | SRCREV = "d8b0bac40433ce7ef0a7493948bad27a6e223c08" |
60 | 57 | ||
61 | # PV is defined in the base in linux-imx.inc file and uses the LINUX_VERSION definition | 58 | # PV is defined in the base in linux-imx.inc file and uses the LINUX_VERSION definition |
62 | # required by kernel-yocto.bbclass. | 59 | # required by kernel-yocto.bbclass. |
63 | # | 60 | # |
64 | # LINUX_VERSION define should match to the kernel version referenced by SRC_URI and | 61 | # LINUX_VERSION define should match to the kernel version referenced by SRC_URI and |
65 | # should be updated once patchlevel is merged. | 62 | # should be updated once patchlevel is merged. |
66 | LINUX_VERSION = "6.6.3" | 63 | LINUX_VERSION = "6.6.28" |
67 | 64 | ||
68 | KBUILD_DEFCONFIG:mx6-generic-bsp = "imx_v7_defconfig" | 65 | KBUILD_DEFCONFIG:mx6-generic-bsp = "imx_v7_defconfig" |
69 | KBUILD_DEFCONFIG:mx7-generic-bsp = "imx_v7_defconfig" | 66 | KBUILD_DEFCONFIG:mx7-generic-bsp = "imx_v7_defconfig" |
diff --git a/recipes-kernel/linux/linux-fslc_6.6.bb b/recipes-kernel/linux/linux-fslc_6.6.bb index e0e68c0b..7023e98e 100644 --- a/recipes-kernel/linux/linux-fslc_6.6.bb +++ b/recipes-kernel/linux/linux-fslc_6.6.bb | |||
@@ -19,10 +19,10 @@ SRC_URI = "git://github.com/Freescale/linux-fslc.git;branch=${KBRANCH};protocol= | |||
19 | # | 19 | # |
20 | # LINUX_VERSION define should match to the kernel version referenced by SRC_URI and | 20 | # LINUX_VERSION define should match to the kernel version referenced by SRC_URI and |
21 | # should be updated once patchlevel is merged. | 21 | # should be updated once patchlevel is merged. |
22 | LINUX_VERSION = "6.6.26" | 22 | LINUX_VERSION = "6.6.32" |
23 | 23 | ||
24 | KBRANCH = "6.6.x+fslc" | 24 | KBRANCH = "6.6.x+fslc" |
25 | SRCREV = "829705b49b55e0ea4dbb12ed23996a12d01898bf" | 25 | SRCREV = "8c0a83d1bb158cd9d90ab7378fd963e72b4a5a7f" |
26 | 26 | ||
27 | KBUILD_DEFCONFIG:mx5-generic-bsp = "imx_v6_v7_defconfig" | 27 | KBUILD_DEFCONFIG:mx5-generic-bsp = "imx_v6_v7_defconfig" |
28 | KBUILD_DEFCONFIG:mx5-generic-bsp = "imx_v6_v7_defconfig" | 28 | KBUILD_DEFCONFIG:mx5-generic-bsp = "imx_v6_v7_defconfig" |
diff --git a/recipes-multimedia/gstreamer/gst-devtools_1.22.5.imx.bb b/recipes-multimedia/gstreamer/gst-devtools_1.22.5.imx.bb new file mode 100644 index 00000000..9f7f890d --- /dev/null +++ b/recipes-multimedia/gstreamer/gst-devtools_1.22.5.imx.bb | |||
@@ -0,0 +1,52 @@ | |||
1 | SUMMARY = "Gstreamer validation tool" | ||
2 | DESCRIPTION = "A Tool to test GStreamer components" | ||
3 | HOMEPAGE = "https://gstreamer.freedesktop.org/documentation/gst-devtools/index.html" | ||
4 | SECTION = "multimedia" | ||
5 | |||
6 | LICENSE = "LGPL-2.1-or-later" | ||
7 | LIC_FILES_CHKSUM = "file://validate/COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343" | ||
8 | |||
9 | S = "${WORKDIR}/gst-devtools-1.22.5" | ||
10 | |||
11 | SRC_URI = "https://gstreamer.freedesktop.org/src/gst-devtools/gst-devtools-1.22.5.tar.xz \ | ||
12 | file://0001-connect-has-a-different-signature-on-musl.patch \ | ||
13 | " | ||
14 | |||
15 | SRC_URI[sha256sum] = "2add1519aa6eeb01d544cb94293688ee3bc2079f6bca6075bf5c23d00a0921be" | ||
16 | |||
17 | DEPENDS = "json-glib glib-2.0 glib-2.0-native gstreamer1.0 gstreamer1.0-plugins-base" | ||
18 | RRECOMMENDS:${PN} = "git" | ||
19 | |||
20 | FILES:${PN} += "${datadir}/gstreamer-1.0/* ${libdir}/gst-validate-launcher/* ${libdir}/gstreamer-1.0/*" | ||
21 | |||
22 | inherit meson pkgconfig gettext upstream-version-is-even gobject-introspection | ||
23 | |||
24 | # TODO: put this in a gettext.bbclass patch | ||
25 | def gettext_oemeson(d): | ||
26 | if d.getVar('USE_NLS') == 'no': | ||
27 | return '-Dnls=disabled' | ||
28 | # Remove the NLS bits if USE_NLS is no or INHIBIT_DEFAULT_DEPS is set | ||
29 | if d.getVar('INHIBIT_DEFAULT_DEPS') and not oe.utils.inherits(d, 'cross-canadian'): | ||
30 | return '-Dnls=disabled' | ||
31 | return '-Dnls=enabled' | ||
32 | |||
33 | # Build GstValidateVideo | ||
34 | PACKAGECONFIG[cairo] = "-Dcairo=enabled,-Dcairo=disabled,cairo" | ||
35 | |||
36 | EXTRA_OEMESON += " \ | ||
37 | -Ddoc=disabled \ | ||
38 | -Ddebug_viewer=disabled \ | ||
39 | -Dtests=disabled \ | ||
40 | -Dvalidate=enabled \ | ||
41 | ${@gettext_oemeson(d)} \ | ||
42 | " | ||
43 | |||
44 | do_install:append () { | ||
45 | for fn in ${bindir}/gst-validate-launcher \ | ||
46 | ${libdir}/gst-validate-launcher/python/launcher/config.py; do | ||
47 | sed -i -e 's,${B},/usr/src/debug/${PN},g' -e 's,${S},/usr/src/debug/${PN},g' ${D}$fn | ||
48 | done | ||
49 | } | ||
50 | |||
51 | GIR_MESON_ENABLE_FLAG = "enabled" | ||
52 | GIR_MESON_DISABLE_FLAG = "disabled" | ||
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.22.5.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.22.5.imx.bb new file mode 100644 index 00000000..cca80cc2 --- /dev/null +++ b/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.22.5.imx.bb | |||
@@ -0,0 +1,28 @@ | |||
1 | SUMMARY = "Libav-based GStreamer 1.x plugin" | ||
2 | DESCRIPTION = "Contains a GStreamer plugin for using the encoders, decoders, \ | ||
3 | muxers, and demuxers provided by FFmpeg." | ||
4 | HOMEPAGE = "http://gstreamer.freedesktop.org/" | ||
5 | SECTION = "multimedia" | ||
6 | |||
7 | # ffmpeg has comercial license flags so add it as we need ffmpeg as a dependency | ||
8 | LICENSE_FLAGS = "commercial" | ||
9 | LICENSE = "LGPL-2.1-or-later" | ||
10 | LIC_FILES_CHKSUM = "file://COPYING;md5=69333daa044cb77e486cc36129f7a770 \ | ||
11 | file://ext/libav/gstav.h;beginline=1;endline=18;md5=a752c35267d8276fd9ca3db6994fca9c \ | ||
12 | " | ||
13 | |||
14 | SRC_URI = "https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-1.22.5.tar.xz" | ||
15 | SRC_URI[sha256sum] = "8583f0c1f4fcb01eed11fa1e3c21126543a8bd739ed4fc1db31f756a5ab01d9a" | ||
16 | |||
17 | S = "${WORKDIR}/gst-libav-1.22.5" | ||
18 | |||
19 | DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base ffmpeg" | ||
20 | |||
21 | inherit meson pkgconfig upstream-version-is-even | ||
22 | |||
23 | EXTRA_OEMESON += " \ | ||
24 | -Dtests=disabled \ | ||
25 | " | ||
26 | |||
27 | FILES:${PN} += "${libdir}/gstreamer-1.0/*.so" | ||
28 | FILES:${PN}-staticdev += "${libdir}/gstreamer-1.0/*.a" | ||
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-omx_%.bbappend b/recipes-multimedia/gstreamer/gstreamer1.0-omx_%.bbappend deleted file mode 100644 index 18847603..00000000 --- a/recipes-multimedia/gstreamer/gstreamer1.0-omx_%.bbappend +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | EXTRA_OEMESON:append:imx-nxp-bsp = " -Dtests=disabled -Dexamples=disabled" | ||
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.22.5.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.22.5.imx.bb index 3366a627..39c1bfe1 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.22.5.imx.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.22.5.imx.bb | |||
@@ -211,6 +211,13 @@ PACKAGECONFIG_G2D:imxgpu2d ??= "g2d" | |||
211 | PACKAGECONFIG[g2d] = ",,virtual/libg2d" | 211 | PACKAGECONFIG[g2d] = ",,virtual/libg2d" |
212 | PACKAGECONFIG[tinycompress] = "-Dtinycompress=enabled,-Dtinycompress=disabled,tinycompress" | 212 | PACKAGECONFIG[tinycompress] = "-Dtinycompress=enabled,-Dtinycompress=disabled,tinycompress" |
213 | 213 | ||
214 | # GCC-14 otherwise errors out | ||
215 | CFLAGS += " \ | ||
216 | -Wno-error=implicit-function-declaration \ | ||
217 | -Wno-error=incompatible-pointer-types \ | ||
218 | -Wno-error=return-mismatch \ | ||
219 | -Wno-error=int-conversion \ | ||
220 | " | ||
214 | EXTRA_OEMESON += " \ | 221 | EXTRA_OEMESON += " \ |
215 | -Dc_args="${CFLAGS} -I${STAGING_INCDIR_IMX}" \ | 222 | -Dc_args="${CFLAGS} -I${STAGING_INCDIR_IMX}" \ |
216 | " | 223 | " |
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.22.5.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.22.5.imx.bb index dd7869a9..944cf8f5 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.22.5.imx.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.22.5.imx.bb | |||
@@ -135,6 +135,8 @@ PACKAGECONFIG_G2D:imxgpu2d ??= "g2d" | |||
135 | PACKAGECONFIG[g2d] = ",,virtual/libg2d" | 135 | PACKAGECONFIG[g2d] = ",,virtual/libg2d" |
136 | PACKAGECONFIG[viv-fb] = ",,virtual/libgles2" | 136 | PACKAGECONFIG[viv-fb] = ",,virtual/libgles2" |
137 | 137 | ||
138 | # GCC-14 otherwise errors out | ||
139 | CFLAGS += "-Wno-error=incompatible-pointer-types" | ||
138 | EXTRA_OEMESON += "-Dc_args="${CFLAGS} -I${STAGING_INCDIR_IMX}"" | 140 | EXTRA_OEMESON += "-Dc_args="${CFLAGS} -I${STAGING_INCDIR_IMX}"" |
139 | 141 | ||
140 | # links with imx-gpu libs which are pre-built for glibc | 142 | # links with imx-gpu libs which are pre-built for glibc |
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.22.5.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.22.5.imx.bb index 9e09ef93..1234f3ad 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.22.5.imx.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.22.5.imx.bb | |||
@@ -120,6 +120,11 @@ GLIBC_64BIT_TIME_FLAGS:mx7-nxp-bsp = "" | |||
120 | INSANE_SKIP:mx6-nxp-bsp:append = " 32bit-time" | 120 | INSANE_SKIP:mx6-nxp-bsp:append = " 32bit-time" |
121 | INSANE_SKIP:mx7-nxp-bsp:append = " 32bit-time" | 121 | INSANE_SKIP:mx7-nxp-bsp:append = " 32bit-time" |
122 | 122 | ||
123 | # GCC-14 otherwise errors out | ||
124 | CFLAGS += " \ | ||
125 | -Wno-error=implicit-function-declaration \ | ||
126 | -Wno-error=incompatible-pointer-types \ | ||
127 | " | ||
123 | S = "${WORKDIR}/git" | 128 | S = "${WORKDIR}/git" |
124 | 129 | ||
125 | COMPATIBLE_MACHINE = "(imx-nxp-bsp)" | 130 | COMPATIBLE_MACHINE = "(imx-nxp-bsp)" |
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.22.5.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.22.5.imx.bb new file mode 100644 index 00000000..bdc802c2 --- /dev/null +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.22.5.imx.bb | |||
@@ -0,0 +1,45 @@ | |||
1 | require gstreamer1.0-plugins-common.inc | ||
2 | require gstreamer1.0-plugins-license.inc | ||
3 | |||
4 | SUMMARY = "'Ugly GStreamer plugins" | ||
5 | HOMEPAGE = "https://gstreamer.freedesktop.org/" | ||
6 | BUGTRACKER = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/issues" | ||
7 | |||
8 | LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \ | ||
9 | " | ||
10 | |||
11 | LICENSE = "LGPL-2.1-or-later & GPL-2.0-or-later" | ||
12 | LICENSE_FLAGS = "commercial" | ||
13 | |||
14 | SRC_URI = " \ | ||
15 | https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-1.22.5.tar.xz \ | ||
16 | " | ||
17 | SRC_URI[sha256sum] = "2680473b218158f18467cac3e1c50291b7ff4e0710dd350a59eaacbc29c09a54" | ||
18 | |||
19 | S = "${WORKDIR}/gst-plugins-ugly-1.22.5" | ||
20 | |||
21 | DEPENDS += "gstreamer1.0-plugins-base" | ||
22 | |||
23 | GST_PLUGIN_SET_HAS_EXAMPLES = "0" | ||
24 | |||
25 | PACKAGECONFIG ??= " \ | ||
26 | ${GSTREAMER_ORC} \ | ||
27 | " | ||
28 | |||
29 | PACKAGECONFIG[amrnb] = "-Damrnb=enabled,-Damrnb=disabled,opencore-amr" | ||
30 | PACKAGECONFIG[amrwb] = "-Damrwbdec=enabled,-Damrwbdec=disabled,opencore-amr" | ||
31 | PACKAGECONFIG[a52dec] = "-Da52dec=enabled,-Da52dec=disabled,liba52" | ||
32 | PACKAGECONFIG[cdio] = "-Dcdio=enabled,-Dcdio=disabled,libcdio" | ||
33 | PACKAGECONFIG[dvdread] = "-Ddvdread=enabled,-Ddvdread=disabled,libdvdread" | ||
34 | PACKAGECONFIG[mpeg2dec] = "-Dmpeg2dec=enabled,-Dmpeg2dec=disabled,mpeg2dec" | ||
35 | PACKAGECONFIG[x264] = "-Dx264=enabled,-Dx264=disabled,x264" | ||
36 | |||
37 | GSTREAMER_GPL = "${@bb.utils.filter('PACKAGECONFIG', 'a52dec cdio dvdread mpeg2dec x264', d)}" | ||
38 | |||
39 | EXTRA_OEMESON += " \ | ||
40 | -Ddoc=disabled \ | ||
41 | -Dsidplay=disabled \ | ||
42 | " | ||
43 | |||
44 | FILES:${PN}-amrnb += "${datadir}/gstreamer-1.0/presets/GstAmrnbEnc.prs" | ||
45 | FILES:${PN}-x264 += "${datadir}/gstreamer-1.0/presets/GstX264Enc.prs" | ||
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-python_1.22.5.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-python_1.22.5.imx.bb new file mode 100644 index 00000000..ebad6b64 --- /dev/null +++ b/recipes-multimedia/gstreamer/gstreamer1.0-python_1.22.5.imx.bb | |||
@@ -0,0 +1,30 @@ | |||
1 | SUMMARY = "Python bindings for GStreamer 1.0" | ||
2 | DESCRIPTION = "GStreamer Python binding overrides (complementing the bindings \ | ||
3 | provided by python-gi) " | ||
4 | HOMEPAGE = "http://cgit.freedesktop.org/gstreamer/gst-python/" | ||
5 | SECTION = "multimedia" | ||
6 | |||
7 | LICENSE = "LGPL-2.1-or-later" | ||
8 | LIC_FILES_CHKSUM = "file://COPYING;md5=c34deae4e395ca07e725ab0076a5f740" | ||
9 | |||
10 | SRC_URI = "https://gstreamer.freedesktop.org/src/${PNREAL}/${PNREAL}-1.22.5.tar.xz" | ||
11 | SRC_URI[sha256sum] = "bf05232415cf6018142ae51dd3b897bb73432687b5ce1786bf46edc6298ce5b0" | ||
12 | |||
13 | DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base python3-pygobject" | ||
14 | RDEPENDS:${PN} += "gstreamer1.0 gstreamer1.0-plugins-base python3-pygobject" | ||
15 | |||
16 | PNREAL = "gst-python" | ||
17 | |||
18 | S = "${WORKDIR}/${PNREAL}-1.22.5" | ||
19 | |||
20 | EXTRA_OEMESON += "\ | ||
21 | -Dtests=disabled \ | ||
22 | -Dplugin=enabled \ | ||
23 | -Dlibpython-dir=${libdir} \ | ||
24 | " | ||
25 | |||
26 | inherit meson pkgconfig setuptools3-base upstream-version-is-even features_check | ||
27 | |||
28 | FILES:${PN} += "${libdir}/gstreamer-1.0" | ||
29 | |||
30 | REQUIRED_DISTRO_FEATURES = "gobject-introspection-data" | ||
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.22.5.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.22.5.imx.bb new file mode 100644 index 00000000..5dae5ebb --- /dev/null +++ b/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.22.5.imx.bb | |||
@@ -0,0 +1,31 @@ | |||
1 | SUMMARY = "A library on top of GStreamer for building an RTSP server" | ||
2 | HOMEPAGE = "http://cgit.freedesktop.org/gstreamer/gst-rtsp-server/" | ||
3 | SECTION = "multimedia" | ||
4 | LICENSE = "LGPL-2.1-or-later" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=69333daa044cb77e486cc36129f7a770" | ||
6 | |||
7 | DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base" | ||
8 | |||
9 | PNREAL = "gst-rtsp-server" | ||
10 | |||
11 | SRC_URI = "https://gstreamer.freedesktop.org/src/${PNREAL}/${PNREAL}-1.22.5.tar.xz" | ||
12 | |||
13 | SRC_URI[sha256sum] = "f343eb54964ebd4d8c071be5eecad586f28feb0156e036e06b148d0e7febb1c0" | ||
14 | |||
15 | S = "${WORKDIR}/${PNREAL}-1.22.5" | ||
16 | |||
17 | inherit meson pkgconfig upstream-version-is-even gobject-introspection | ||
18 | |||
19 | EXTRA_OEMESON += " \ | ||
20 | -Ddoc=disabled \ | ||
21 | -Dexamples=disabled \ | ||
22 | -Dtests=disabled \ | ||
23 | " | ||
24 | |||
25 | GIR_MESON_ENABLE_FLAG = "enabled" | ||
26 | GIR_MESON_DISABLE_FLAG = "disabled" | ||
27 | |||
28 | # Starting with 1.8.0 gst-rtsp-server includes dependency-less plugins as well | ||
29 | require gstreamer1.0-plugins-packaging.inc | ||
30 | |||
31 | CVE_PRODUCT += "gst-rtsp-server" | ||
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.22.5.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.22.5.imx.bb new file mode 100644 index 00000000..d44b70a8 --- /dev/null +++ b/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.22.5.imx.bb | |||
@@ -0,0 +1,53 @@ | |||
1 | SUMMARY = "VA-API support to GStreamer" | ||
2 | HOMEPAGE = "https://gstreamer.freedesktop.org/" | ||
3 | DESCRIPTION = "gstreamer-vaapi consists of a collection of VA-API \ | ||
4 | based plugins for GStreamer and helper libraries: `vaapidecode', \ | ||
5 | `vaapiconvert', and `vaapisink'." | ||
6 | |||
7 | REALPN = "gstreamer-vaapi" | ||
8 | |||
9 | LICENSE = "LGPL-2.1-or-later" | ||
10 | LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c" | ||
11 | |||
12 | SRC_URI = "https://gstreamer.freedesktop.org/src/${REALPN}/${REALPN}-1.22.5.tar.xz" | ||
13 | |||
14 | SRC_URI[sha256sum] = "a9a550267c9584df0e8c70434d30476e8fd0018b733c1c1ee33deaf422bdb24b" | ||
15 | |||
16 | S = "${WORKDIR}/${REALPN}-1.22.5" | ||
17 | DEPENDS = "libva gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad" | ||
18 | |||
19 | inherit meson pkgconfig features_check upstream-version-is-even | ||
20 | |||
21 | REQUIRED_DISTRO_FEATURES ?= "opengl" | ||
22 | |||
23 | EXTRA_OEMESON += " \ | ||
24 | -Ddoc=disabled \ | ||
25 | -Dexamples=disabled \ | ||
26 | -Dtests=enabled \ | ||
27 | " | ||
28 | |||
29 | PACKAGES =+ "${PN}-tests" | ||
30 | |||
31 | # OpenGL packageconfig factored out to make it easy for distros | ||
32 | # and BSP layers to pick either glx, egl, or no GL. By default, | ||
33 | # try detecting X11 first, and if found (with OpenGL), use GLX, | ||
34 | # otherwise try to check if EGL can be used. | ||
35 | PACKAGECONFIG_GL ?= "${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'glx', \ | ||
36 | bb.utils.contains('DISTRO_FEATURES', 'opengl', 'egl', \ | ||
37 | '', d), d)}" | ||
38 | |||
39 | PACKAGECONFIG ??= "drm encoders \ | ||
40 | ${PACKAGECONFIG_GL} \ | ||
41 | ${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11', d)}" | ||
42 | |||
43 | PACKAGECONFIG[drm] = "-Ddrm=enabled,-Ddrm=disabled,udev libdrm" | ||
44 | PACKAGECONFIG[egl] = "-Degl=enabled,-Degl=disabled,virtual/egl" | ||
45 | PACKAGECONFIG[encoders] = "-Dencoders=enabled,-Dencoders=disabled" | ||
46 | PACKAGECONFIG[glx] = "-Dglx=enabled,-Dglx=disabled,virtual/libgl" | ||
47 | PACKAGECONFIG[wayland] = "-Dwayland=enabled,-Dwayland=disabled,wayland-native wayland wayland-protocols" | ||
48 | PACKAGECONFIG[x11] = "-Dx11=enabled,-Dx11=disabled,virtual/libx11 libxrandr libxrender" | ||
49 | |||
50 | FILES:${PN} += "${libdir}/gstreamer-*/*.so" | ||
51 | FILES:${PN}-dbg += "${libdir}/gstreamer-*/.debug" | ||
52 | FILES:${PN}-dev += "${libdir}/gstreamer-*/*.a" | ||
53 | FILES:${PN}-tests = "${bindir}/*" | ||
diff --git a/recipes-multimedia/gstreamer/imx-gst1.0-plugin_git.bb b/recipes-multimedia/gstreamer/imx-gst1.0-plugin_git.bb index a13cf30a..7a94b42f 100644 --- a/recipes-multimedia/gstreamer/imx-gst1.0-plugin_git.bb +++ b/recipes-multimedia/gstreamer/imx-gst1.0-plugin_git.bb | |||
@@ -67,6 +67,13 @@ PLATFORM:mx8-nxp-bsp = "MX8" | |||
67 | PLATFORM:mx9-nxp-bsp = "MX9" | 67 | PLATFORM:mx9-nxp-bsp = "MX9" |
68 | 68 | ||
69 | CFLAGS:append:toolchain-clang = " -Wno-implicit-int -Wno-int-conversion -Wno-incompatible-function-pointer-types" | 69 | CFLAGS:append:toolchain-clang = " -Wno-implicit-int -Wno-int-conversion -Wno-incompatible-function-pointer-types" |
70 | # GCC-14 otherwise errors out | ||
71 | CFLAGS += " \ | ||
72 | -Wno-error=int-conversion \ | ||
73 | -Wno-error=incompatible-pointer-types \ | ||
74 | -Wno-error=return-mismatch \ | ||
75 | -Wno-error=implicit-function-declaration \ | ||
76 | " | ||
70 | 77 | ||
71 | # Todo add a mechanism to map possible build targets | 78 | # Todo add a mechanism to map possible build targets |
72 | EXTRA_OEMESON = "-Dplatform=${PLATFORM} \ | 79 | EXTRA_OEMESON = "-Dplatform=${PLATFORM} \ |
diff --git a/recipes-multimedia/imx-opencl-converter/imx-opencl-converter/0001-src-ocl.c-fix-wrong-integer-type.patch b/recipes-multimedia/imx-opencl-converter/imx-opencl-converter/0001-src-ocl.c-fix-wrong-integer-type.patch new file mode 100644 index 00000000..deb81046 --- /dev/null +++ b/recipes-multimedia/imx-opencl-converter/imx-opencl-converter/0001-src-ocl.c-fix-wrong-integer-type.patch | |||
@@ -0,0 +1,38 @@ | |||
1 | From e78af6d0c9cd1a655f6bc17173f6c411b8b34d2f Mon Sep 17 00:00:00 2001 | ||
2 | From: Max Krummenacher <max.krummenacher@toradex.com> | ||
3 | Date: Sat, 1 Jun 2024 11:07:13 +0000 | ||
4 | Subject: [PATCH] src/ocl.c: fix wrong integer type | ||
5 | |||
6 | Fixes: | ||
7 | | .../ocl.c:258:22: error: passing argument 6 of 'clGetProgramBuildInfo' from incompatible pointer type [-Wincompatible-pointer-types] | ||
8 | 258 | 0, NULL, &log_size); | ||
9 | | ^~~~~~~~~ | ||
10 | | | | ||
11 | | int * | ||
12 | In file included from .../recipe-sysroot/usr/include/CL/cl_ext.h:27, | ||
13 | from .../ocl.c:21: | ||
14 | /recipe-sysroot/usr/include/CL/cl.h:1348:45: note: expected 'size_t *' {aka 'long unsigned int *'} but argument is of type 'int *' | ||
15 | 1348 | size_t * param_value_size_ret) CL_API_SUFFIX__VERSION_1_0; | ||
16 | | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ | ||
17 | |||
18 | Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> | ||
19 | --- | ||
20 | src/ocl.c | 2 +- | ||
21 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
22 | |||
23 | diff --git a/src/ocl.c b/src/ocl.c | ||
24 | index f56d9cb..b2b0c52 100644 | ||
25 | --- a/src/ocl.c | ||
26 | +++ b/src/ocl.c | ||
27 | @@ -253,7 +253,7 @@ static OCL_RESULT CreateProgram(ImxOcl* ocl, const char* binName, const char* sr | ||
28 | cl_ret = clBuildProgram (program, 1, &ocl->device, "", NULL, NULL); | ||
29 | if (cl_ret < 0) | ||
30 | { | ||
31 | - int log_size; | ||
32 | + size_t log_size; | ||
33 | cl_ret = clGetProgramBuildInfo(program, ocl->device, CL_PROGRAM_BUILD_LOG, | ||
34 | 0, NULL, &log_size); | ||
35 | |||
36 | -- | ||
37 | 2.42.0 | ||
38 | |||
diff --git a/recipes-multimedia/imx-opencl-converter/imx-opencl-converter_0.2.0.bb b/recipes-multimedia/imx-opencl-converter/imx-opencl-converter_0.2.0.bb index 3dc0a7ea..f3e33e0d 100644 --- a/recipes-multimedia/imx-opencl-converter/imx-opencl-converter_0.2.0.bb +++ b/recipes-multimedia/imx-opencl-converter/imx-opencl-converter_0.2.0.bb | |||
@@ -5,7 +5,10 @@ SECTION = "multimedia" | |||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=44a8052c384584ba09077e85a3d1654f" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=44a8052c384584ba09077e85a3d1654f" |
6 | DEPENDS = "opencl-headers" | 6 | DEPENDS = "opencl-headers" |
7 | 7 | ||
8 | SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true" | 8 | SRC_URI = " \ |
9 | ${FSL_MIRROR}/${BP}.bin;fsl-eula=true \ | ||
10 | file://0001-src-ocl.c-fix-wrong-integer-type.patch \ | ||
11 | " | ||
9 | SRC_URI[md5sum] = "dc668682189ce740fb46073e62f58066" | 12 | SRC_URI[md5sum] = "dc668682189ce740fb46073e62f58066" |
10 | SRC_URI[sha256sum] = "9f283df500c57421b87d96d9af7022ab490bc241aa28d00755beaadabbcd754b" | 13 | SRC_URI[sha256sum] = "9f283df500c57421b87d96d9af7022ab490bc241aa28d00755beaadabbcd754b" |
11 | 14 | ||
diff --git a/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend b/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend index 93f71e8f..6e4db911 100644 --- a/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend +++ b/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend | |||
@@ -17,9 +17,9 @@ SRC_URI_IMX:mx9-nxp-bsp = " \ | |||
17 | CACHED_CONFIGUREVARS:append:mx6-nxp-bsp = " ax_cv_PTHREAD_PRIO_INHERIT=no" | 17 | CACHED_CONFIGUREVARS:append:mx6-nxp-bsp = " ax_cv_PTHREAD_PRIO_INHERIT=no" |
18 | 18 | ||
19 | do_install:append() { | 19 | do_install:append() { |
20 | if [ -e "${WORKDIR}/daemon.conf" ] && [ -e "${WORKDIR}/default.pa" ]; then | 20 | if [ -e "${UNPACKDIR}/daemon.conf" ] && [ -e "${UNPACKDIR}/default.pa" ]; then |
21 | install -m 0644 ${WORKDIR}/daemon.conf ${D}${sysconfdir}/pulse/daemon.conf | 21 | install -m 0644 ${UNPACKDIR}/daemon.conf ${D}${sysconfdir}/pulse/daemon.conf |
22 | install -m 0644 ${WORKDIR}/default.pa ${D}${sysconfdir}/pulse/default.pa | 22 | install -m 0644 ${UNPACKDIR}/default.pa ${D}${sysconfdir}/pulse/default.pa |
23 | fi | 23 | fi |
24 | } | 24 | } |
25 | 25 | ||
diff --git a/recipes-security/optee-imx/optee-client-fslc.inc b/recipes-security/optee-imx/optee-client-fslc.inc index 92f9f1d1..b9e91f97 100644 --- a/recipes-security/optee-imx/optee-client-fslc.inc +++ b/recipes-security/optee-imx/optee-client-fslc.inc | |||
@@ -37,6 +37,6 @@ do_install () { | |||
37 | 37 | ||
38 | cp -a ${B}/export/usr/include ${D}${includedir} | 38 | cp -a ${B}/export/usr/include ${D}${includedir} |
39 | 39 | ||
40 | sed -i -e s:/etc:${sysconfdir}:g -e s:/usr/bin:${bindir}:g ${WORKDIR}/tee-supplicant.service | 40 | sed -i -e s:/etc:${sysconfdir}:g -e s:/usr/bin:${bindir}:g ${UNPACKDIR}/tee-supplicant.service |
41 | install -D -p -m0644 ${WORKDIR}/tee-supplicant.service ${D}${systemd_system_unitdir}/tee-supplicant.service | 41 | install -D -p -m0644 ${UNPACKDIR}/tee-supplicant.service ${D}${systemd_system_unitdir}/tee-supplicant.service |
42 | } | 42 | } |
diff --git a/recipes-security/optee-qoriq/optee-client.nxp.inc b/recipes-security/optee-qoriq/optee-client.nxp.inc index a7d34497..c3933a24 100644 --- a/recipes-security/optee-qoriq/optee-client.nxp.inc +++ b/recipes-security/optee-qoriq/optee-client.nxp.inc | |||
@@ -41,7 +41,7 @@ do_install () { | |||
41 | cp -a ${B}/export/usr/include ${D}${includedir} | 41 | cp -a ${B}/export/usr/include ${D}${includedir} |
42 | 42 | ||
43 | install -d ${D}${systemd_system_unitdir}/ | 43 | install -d ${D}${systemd_system_unitdir}/ |
44 | install -m0644 ${WORKDIR}/tee-supplicant.service ${D}${systemd_system_unitdir}/ | 44 | install -m0644 ${UNPACKDIR}/tee-supplicant.service ${D}${systemd_system_unitdir}/ |
45 | sed -i -e s:/etc:${sysconfdir}:g -e s:/usr/bin:${bindir}:g ${D}${systemd_system_unitdir}/tee-supplicant.service | 45 | sed -i -e s:/etc:${sysconfdir}:g -e s:/usr/bin:${bindir}:g ${D}${systemd_system_unitdir}/tee-supplicant.service |
46 | } | 46 | } |
47 | 47 | ||