diff options
| author | Otavio Salvador <otavio@ossystems.com.br> | 2026-03-02 10:12:00 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-02 10:12:00 -0300 |
| commit | 806c3927ff0d319047cbad581df2bb59f7de3a43 (patch) | |
| tree | fb225a45b2d9fcd98e6a9e2022ae5c2fd1efc3d0 /recipes-bsp | |
| parent | 398f5dcf34aff4ac264b65573a3911f50c0d580d (diff) | |
| parent | 3558897015fca945e03f8fb5436d1e86e594ebbf (diff) | |
| download | meta-freescale-806c3927ff0d319047cbad581df2bb59f7de3a43.tar.gz | |
Merge pull request #2450 from noreng-br/topic/update-imx-lib
imx-lib: Update metadata to match configurations with meta-imx
Diffstat (limited to 'recipes-bsp')
| -rw-r--r-- | recipes-bsp/imx-lib/imx-lib/0001-Fix-gcc-15-errors.patch | 54 | ||||
| -rw-r--r-- | recipes-bsp/imx-lib/imx-lib_git.bb | 7 |
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 @@ | |||
| 1 | From 24e317b5cdc2b78735dfa7d4b2776b587b7a193f Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Tom Hochstein <tom.hochstein@nxp.com> | ||
| 3 | Date: Thu, 12 Jun 2025 13:15:28 -0500 | ||
| 4 | Subject: [PATCH] Fix gcc 15 errors | ||
| 5 | |||
| 6 | Fixes HDMI and IPU headers c23 violations: | ||
| 7 | ``` | ||
| 8 | In file included from mxc_hdmi-cec.c:40: | ||
| 9 | hdmi-cec.h:54:23: error: 'bool' cannot be defined via 'typedef' | ||
| 10 | 54 | typedef unsigned char bool; | ||
| 11 | | ^~~~ | ||
| 12 | hdmi-cec.h:54:23: note: 'bool' is a keyword with '-std=c23' onwards | ||
| 13 | hdmi-cec.h:54:1: warning: useless type name in empty declaration | ||
| 14 | 54 | typedef unsigned char bool; | ||
| 15 | | ^~~~~~~ | ||
| 16 | ``` | ||
| 17 | |||
| 18 | Upstream-Status: Submitted | ||
| 19 | Signed-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 | |||
| 25 | diff --git a/hdmi-cec/hdmi-cec.h b/hdmi-cec/hdmi-cec.h | ||
| 26 | index 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 | */ | ||
| 38 | diff --git a/ipu/ipu.h b/ipu/ipu.h | ||
| 39 | index 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 | -- | ||
| 53 | 2.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 | ||
| 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 | file://0001-Fix-gcc-15-errors.patch" | 16 | SRCBRANCH = "lf-6.12.49_2.2.0" |
| 17 | SRCBRANCH = "lf-6.12.20_2.0.0" | 17 | SRCREV = "72cb12630d42b0efdc30b8e896d0546e69089916" |
| 18 | SRCREV = "8f124c3914d82019849fb697baeb730e4cb1b547" | ||
| 19 | 18 | ||
| 20 | inherit use-imx-headers | 19 | inherit use-imx-headers |
| 21 | 20 | ||
