summaryrefslogtreecommitdiffstats
path: root/recipes-bsp
diff options
context:
space:
mode:
authorVagner Nörnberg <vagner.nornberg@ossystems.com.br>2026-02-10 15:32:21 -0300
committerVagner Nörnberg <vagner.nornberg@ossystems.com.br>2026-02-20 09:42:48 -0300
commit3558897015fca945e03f8fb5436d1e86e594ebbf (patch)
treea25a7b997795c0e7452830a2ec7c7bbbeb6265e3 /recipes-bsp
parent84a0e0404d7d3e2b69419c48a817f7efb0d040a5 (diff)
downloadmeta-freescale-3558897015fca945e03f8fb5436d1e86e594ebbf.tar.gz
imx-lib: Update metadata to match configurations with meta-imx
meta-imx version: walnascar-6.12.49_2.2.0 Signed-off-by: Vagner Nörnberg <vagner.nornberg@ossystems.com.br>
Diffstat (limited to 'recipes-bsp')
-rw-r--r--recipes-bsp/imx-lib/imx-lib/0001-Fix-gcc-15-errors.patch54
-rw-r--r--recipes-bsp/imx-lib/imx-lib_git.bb7
2 files changed, 3 insertions, 58 deletions
diff --git a/recipes-bsp/imx-lib/imx-lib/0001-Fix-gcc-15-errors.patch b/recipes-bsp/imx-lib/imx-lib/0001-Fix-gcc-15-errors.patch
deleted file mode 100644
index 964658fce..000000000
--- a/recipes-bsp/imx-lib/imx-lib/0001-Fix-gcc-15-errors.patch
+++ /dev/null
@@ -1,54 +0,0 @@
1From 24e317b5cdc2b78735dfa7d4b2776b587b7a193f Mon Sep 17 00:00:00 2001
2From: Tom Hochstein <tom.hochstein@nxp.com>
3Date: Thu, 12 Jun 2025 13:15:28 -0500
4Subject: [PATCH] Fix gcc 15 errors
5
6Fixes HDMI and IPU headers c23 violations:
7```
8In file included from mxc_hdmi-cec.c:40:
9hdmi-cec.h:54:23: error: 'bool' cannot be defined via 'typedef'
10 54 | typedef unsigned char bool;
11 | ^~~~
12hdmi-cec.h:54:23: note: 'bool' is a keyword with '-std=c23' onwards
13hdmi-cec.h:54:1: warning: useless type name in empty declaration
14 54 | typedef unsigned char bool;
15 | ^~~~~~~
16```
17
18Upstream-Status: Submitted
19Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
20---
21 hdmi-cec/hdmi-cec.h | 2 --
22 ipu/ipu.h | 3 ---
23 2 files changed, 5 deletions(-)
24
25diff --git a/hdmi-cec/hdmi-cec.h b/hdmi-cec/hdmi-cec.h
26index 7d466c5..2b66208 100644
27--- a/hdmi-cec/hdmi-cec.h
28+++ b/hdmi-cec/hdmi-cec.h
29@@ -51,8 +51,6 @@
30 #define false 0
31 #endif
32
33-typedef unsigned char bool;
34-
35 /*!
36 * Enumeration of device type.
37 */
38diff --git a/ipu/ipu.h b/ipu/ipu.h
39index 278385c..1a55875 100644
40--- a/ipu/ipu.h
41+++ b/ipu/ipu.h
42@@ -30,9 +30,6 @@
43 #ifdef __KERNEL__
44 #include <linux/interrupt.h>
45 #else
46-#ifndef __cplusplus
47-typedef unsigned char bool;
48-#endif
49 #define irqreturn_t int
50 #define dma_addr_t int
51 #define u32 unsigned int
52--
532.34.1
54
diff --git a/recipes-bsp/imx-lib/imx-lib_git.bb b/recipes-bsp/imx-lib/imx-lib_git.bb
index 5cf1b5744..aeff089f7 100644
--- a/recipes-bsp/imx-lib/imx-lib_git.bb
+++ b/recipes-bsp/imx-lib/imx-lib_git.bb
@@ -12,10 +12,9 @@ PE = "1"
12 12
13PV = "5.9+${SRCPV}" 13PV = "5.9+${SRCPV}"
14 14
15SRC_URI = "git://github.com/nxp-imx/imx-lib.git;protocol=https;branch=${SRCBRANCH} \ 15SRC_URI = "git://github.com/nxp-imx/imx-lib.git;protocol=https;branch=${SRCBRANCH}"
16 file://0001-Fix-gcc-15-errors.patch" 16SRCBRANCH = "lf-6.12.49_2.2.0"
17SRCBRANCH = "lf-6.12.20_2.0.0" 17SRCREV = "72cb12630d42b0efdc30b8e896d0546e69089916"
18SRCREV = "8f124c3914d82019849fb697baeb730e4cb1b547"
19 18
20inherit use-imx-headers 19inherit use-imx-headers
21 20