summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/imx-vpu-hantro
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-bsp/imx-vpu-hantro')
-rw-r--r--recipes-bsp/imx-vpu-hantro/imx-vpu-hantro-daemon_1.1.4.bb (renamed from recipes-bsp/imx-vpu-hantro/imx-vpu-hantro-daemon_1.1.3.bb)4
-rw-r--r--recipes-bsp/imx-vpu-hantro/imx-vpu-hantro/0001-buildsystem-don-t-ignore-externally-set-cflags.patch49
-rw-r--r--recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.27.0.bb (renamed from recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.26.0.bb)11
3 files changed, 58 insertions, 6 deletions
diff --git a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro-daemon_1.1.3.bb b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro-daemon_1.1.4.bb
index 30c31a2e..b5e1d0e1 100644
--- a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro-daemon_1.1.3.bb
+++ b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro-daemon_1.1.4.bb
@@ -7,8 +7,8 @@ DEPENDS = "imx-vpu-hantro"
7DEPENDS:append:mx8mp-nxp-bsp = " imx-vpu-hantro-vc" 7DEPENDS:append:mx8mp-nxp-bsp = " imx-vpu-hantro-vc"
8 8
9SRC_URI = "${FSL_MIRROR}/${BP}.tar.gz" 9SRC_URI = "${FSL_MIRROR}/${BP}.tar.gz"
10SRC_URI[md5sum] = "657af53a73fa9898ef7725dd26934079" 10SRC_URI[md5sum] = "e4bdaa1e064e3959576f7dd5a2d89389"
11SRC_URI[sha256sum] = "75f857ddfc53341c425d6dac0e6eb9b5c0281b90b6f6de3ff1b64962d52399c5" 11SRC_URI[sha256sum] = "83ba2798564702d74ab65f6238f95f59247d983b846de1de4c19bdfaf6dabeb8"
12 12
13PLATFORM:mx8mm-nxp-bsp = "IMX8MM" 13PLATFORM:mx8mm-nxp-bsp = "IMX8MM"
14PLATFORM:mx8mq-nxp-bsp = "IMX8MQ" 14PLATFORM:mx8mq-nxp-bsp = "IMX8MQ"
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
new file mode 100644
index 00000000..861230bb
--- /dev/null
+++ b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro/0001-buildsystem-don-t-ignore-externally-set-cflags.patch
@@ -0,0 +1,49 @@
1From aba22ec2e285cf7557a5049fa6181e82e7f1a489 Mon Sep 17 00:00:00 2001
2From: Max Krummenacher <max.krummenacher@toradex.com>
3Date: Mon, 21 Nov 2022 12:04:09 +0000
4Subject: [PATCH] buildsystem: don't ignore externally set cflags
5
6Upstream-Status: pending
7Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
8---
9 decoder_sw/software/linux/h264high/Makefile | 4 ++--
10 decoder_sw/software/linux/vp6/Makefile | 4 ++--
11 2 files changed, 4 insertions(+), 4 deletions(-)
12
13diff --git a/decoder_sw/software/linux/h264high/Makefile b/decoder_sw/software/linux/h264high/Makefile
14index 556ff71..7bdd99d 100755
15--- a/decoder_sw/software/linux/h264high/Makefile
16+++ b/decoder_sw/software/linux/h264high/Makefile
17@@ -50,10 +50,10 @@ CLEAR_HDRINFO_IN_SEEK = n
18 DEBUG = y
19 # Add your debugging flag (or not) to CFLAGS
20 ifeq ($(DEBUG),y)
21- CFLAGS = $(M32) -g -O0
22+ CFLAGS += $(M32) -g -O0
23 DEBFLAGS = -DDEBUG -D_ASSERT_USED -D_RANGE_CHECK -D_ERROR_PRINT
24 else
25- CFLAGS = $(M32) -O3
26+ CFLAGS += $(M32) -O3
27 DEBFLAGS = -DNDEBUG
28 endif
29
30diff --git a/decoder_sw/software/linux/vp6/Makefile b/decoder_sw/software/linux/vp6/Makefile
31index b6e6914..b933d46 100755
32--- a/decoder_sw/software/linux/vp6/Makefile
33+++ b/decoder_sw/software/linux/vp6/Makefile
34@@ -50,10 +50,10 @@ DEBUG = y
35
36 # Add your debugging flag (or not) to CFLAGS
37 ifeq ($(DEBUG),y)
38- CFLAGS = -g -O0
39+ CFLAGS += -g -O0
40 DEBFLAGS = -DDEBUG -D_ASSERT_USED -D_ERROR_PRINT
41 else
42- CFLAGS = -O3
43+ CFLAGS += -O3
44 DEBFLAGS = -DNDEBUG
45 endif
46
47--
482.35.3
49
diff --git a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.26.0.bb b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.27.0.bb
index ac30b60f..35adecf8 100644
--- a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.26.0.bb
+++ b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.27.0.bb
@@ -2,13 +2,16 @@
2 2
3DESCRIPTION = "i.MX Hantro VPU library" 3DESCRIPTION = "i.MX Hantro VPU library"
4LICENSE = "Proprietary" 4LICENSE = "Proprietary"
5LIC_FILES_CHKSUM = "file://COPYING;md5=d3c315c6eaa43e07d8c130dc3a04a011" 5LIC_FILES_CHKSUM = "file://COPYING;md5=5a0bf11f745e68024f37b4724a5364fe"
6 6
7PROVIDES = "virtual/imxvpu" 7PROVIDES = "virtual/imxvpu"
8 8
9SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true" 9SRC_URI = " \
10SRC_URI[md5sum] = "8d06cdacd7700e9e4c32644bf9804cdd" 10 ${FSL_MIRROR}/${BP}.bin;fsl-eula=true \
11SRC_URI[sha256sum] = "0cf9193923e110d2d9e6576e2c632f1675f0751b4c3de9ef54f32813f442540a" 11 file://0001-buildsystem-don-t-ignore-externally-set-cflags.patch \
12"
13SRC_URI[md5sum] = "cfa0e92da0eca9cf622c4d7abc618cef"
14SRC_URI[sha256sum] = "7e9bcdbd067ce66a1247373cbf088945346feb0027deb61af541ebc1256277c3"
12 15
13inherit fsl-eula-unpack use-imx-headers 16inherit fsl-eula-unpack use-imx-headers
14 17