From 961fac5f27cf93db67e14a1c93464bc3b6cefc33 Mon Sep 17 00:00:00 2001 From: Chris Dimich Date: Thu, 25 May 2023 09:39:24 -0700 Subject: imx-vpu-hantro: upgrade to 1.28.0 Remove patch that prevented warning from oe qa, but no longer needed as new version builds with no warning. As per NXP langdale-6.1.1-1.0.0 release. Signed-off-by: Chris Dimich --- ...system-don-t-ignore-externally-set-cflags.patch | 49 ---------------------- .../imx-vpu-hantro/imx-vpu-hantro_1.27.0.bb | 39 ----------------- .../imx-vpu-hantro/imx-vpu-hantro_1.28.0.bb | 36 ++++++++++++++++ 3 files changed, 36 insertions(+), 88 deletions(-) delete mode 100644 recipes-bsp/imx-vpu-hantro/imx-vpu-hantro/0001-buildsystem-don-t-ignore-externally-set-cflags.patch delete mode 100644 recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.27.0.bb create mode 100644 recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.28.0.bb (limited to 'recipes-bsp') diff --git a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro/0001-buildsystem-don-t-ignore-externally-set-cflags.patch b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro/0001-buildsystem-don-t-ignore-externally-set-cflags.patch deleted file mode 100644 index 861230bbd..000000000 --- a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro/0001-buildsystem-don-t-ignore-externally-set-cflags.patch +++ /dev/null @@ -1,49 +0,0 @@ -From aba22ec2e285cf7557a5049fa6181e82e7f1a489 Mon Sep 17 00:00:00 2001 -From: Max Krummenacher -Date: Mon, 21 Nov 2022 12:04:09 +0000 -Subject: [PATCH] buildsystem: don't ignore externally set cflags - -Upstream-Status: pending -Signed-off-by: Max Krummenacher ---- - decoder_sw/software/linux/h264high/Makefile | 4 ++-- - decoder_sw/software/linux/vp6/Makefile | 4 ++-- - 2 files changed, 4 insertions(+), 4 deletions(-) - -diff --git a/decoder_sw/software/linux/h264high/Makefile b/decoder_sw/software/linux/h264high/Makefile -index 556ff71..7bdd99d 100755 ---- a/decoder_sw/software/linux/h264high/Makefile -+++ b/decoder_sw/software/linux/h264high/Makefile -@@ -50,10 +50,10 @@ CLEAR_HDRINFO_IN_SEEK = n - DEBUG = y - # Add your debugging flag (or not) to CFLAGS - ifeq ($(DEBUG),y) -- CFLAGS = $(M32) -g -O0 -+ CFLAGS += $(M32) -g -O0 - DEBFLAGS = -DDEBUG -D_ASSERT_USED -D_RANGE_CHECK -D_ERROR_PRINT - else -- CFLAGS = $(M32) -O3 -+ CFLAGS += $(M32) -O3 - DEBFLAGS = -DNDEBUG - endif - -diff --git a/decoder_sw/software/linux/vp6/Makefile b/decoder_sw/software/linux/vp6/Makefile -index b6e6914..b933d46 100755 ---- a/decoder_sw/software/linux/vp6/Makefile -+++ b/decoder_sw/software/linux/vp6/Makefile -@@ -50,10 +50,10 @@ DEBUG = y - - # Add your debugging flag (or not) to CFLAGS - ifeq ($(DEBUG),y) -- CFLAGS = -g -O0 -+ CFLAGS += -g -O0 - DEBFLAGS = -DDEBUG -D_ASSERT_USED -D_ERROR_PRINT - else -- CFLAGS = -O3 -+ CFLAGS += -O3 - DEBFLAGS = -DNDEBUG - endif - --- -2.35.3 - diff --git a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.27.0.bb b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.27.0.bb deleted file mode 100644 index 35adecf88..000000000 --- a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.27.0.bb +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright (C) 2017-2020 NXP - -DESCRIPTION = "i.MX Hantro VPU library" -LICENSE = "Proprietary" -LIC_FILES_CHKSUM = "file://COPYING;md5=5a0bf11f745e68024f37b4724a5364fe" - -PROVIDES = "virtual/imxvpu" - -SRC_URI = " \ - ${FSL_MIRROR}/${BP}.bin;fsl-eula=true \ - file://0001-buildsystem-don-t-ignore-externally-set-cflags.patch \ -" -SRC_URI[md5sum] = "cfa0e92da0eca9cf622c4d7abc618cef" -SRC_URI[sha256sum] = "7e9bcdbd067ce66a1247373cbf088945346feb0027deb61af541ebc1256277c3" - -inherit fsl-eula-unpack use-imx-headers - -PARALLEL_MAKE="-j 1" - -PLATFORM:mx8mm-nxp-bsp = "IMX8MM" -PLATFORM:mx8mq-nxp-bsp = "IMX8MQ" -PLATFORM:mx8mp-nxp-bsp = "IMX8MP" - -EXTRA_OEMAKE = " \ - CROSS_COMPILE="${HOST_PREFIX}" \ - SDKTARGETSYSROOT="${STAGING_DIR_TARGET}" \ - PLATFORM="${PLATFORM}" \ -" - -do_install () { - oe_runmake install DEST_DIR="${D}" -} - -FILES:${PN} += "/unit_tests" - -RDEPENDS:${PN} += "imx-vpu-hantro-daemon" - -PACKAGE_ARCH = "${MACHINE_SOCARCH}" -COMPATIBLE_MACHINE = "(mx8mq-nxp-bsp|mx8mm-nxp-bsp|mx8mp-nxp-bsp)" diff --git a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.28.0.bb b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.28.0.bb new file mode 100644 index 000000000..0757a7fb5 --- /dev/null +++ b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.28.0.bb @@ -0,0 +1,36 @@ +# Copyright (C) 2017-2020 NXP + +DESCRIPTION = "i.MX Hantro VPU library" +LICENSE = "Proprietary" +LIC_FILES_CHKSUM = "file://COPYING;md5=ea25d099982d035af85d193c88a1b479" + +PROVIDES = "virtual/imxvpu" + +SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true" +SRC_URI[md5sum] = "81b4eb801349a0c198b7cc43eb8b6097" +SRC_URI[sha256sum] = "e868e12945b4f217e2e0511fdc2587875d6c9124e8673b67f1e7de367ff5012f" + +inherit fsl-eula-unpack use-imx-headers + +PARALLEL_MAKE="-j 1" + +PLATFORM:mx8mm-nxp-bsp = "IMX8MM" +PLATFORM:mx8mq-nxp-bsp = "IMX8MQ" +PLATFORM:mx8mp-nxp-bsp = "IMX8MP" + +EXTRA_OEMAKE = " \ + CROSS_COMPILE="${HOST_PREFIX}" \ + SDKTARGETSYSROOT="${STAGING_DIR_TARGET}" \ + PLATFORM="${PLATFORM}" \ +" + +do_install () { + oe_runmake install DEST_DIR="${D}" +} + +FILES:${PN} += "/unit_tests" + +RDEPENDS:${PN} += "imx-vpu-hantro-daemon" + +PACKAGE_ARCH = "${MACHINE_SOCARCH}" +COMPATIBLE_MACHINE = "(mx8mq-nxp-bsp|mx8mm-nxp-bsp|mx8mp-nxp-bsp)" -- cgit v1.2.3-54-g00ecf