summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/isp-imx/isp-imx/0005-units-cmake-fix-use-of-add_dependencies.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-bsp/isp-imx/isp-imx/0005-units-cmake-fix-use-of-add_dependencies.patch')
-rw-r--r--recipes-bsp/isp-imx/isp-imx/0005-units-cmake-fix-use-of-add_dependencies.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/recipes-bsp/isp-imx/isp-imx/0005-units-cmake-fix-use-of-add_dependencies.patch b/recipes-bsp/isp-imx/isp-imx/0005-units-cmake-fix-use-of-add_dependencies.patch
new file mode 100644
index 000000000..f4b44ff47
--- /dev/null
+++ b/recipes-bsp/isp-imx/isp-imx/0005-units-cmake-fix-use-of-add_dependencies.patch
@@ -0,0 +1,36 @@
1From 72d6160d1efc9df8bdee4e3dc9da67560f2206b4 Mon Sep 17 00:00:00 2001
2From: Max Krummenacher <max.krummenacher@toradex.com>
3Date: Fri, 25 Jul 2025 10:52:52 +0000
4Subject: [PATCH 5/5] units: cmake: fix use of add_dependencies
5
6With CMake 4 we get during configure:
7
8| CMake Error at isp-imx/4.2.2.25.2/sources/isp-imx-4.2.2.25.2-3cac1fb:
9| The dependency target "drv/OS08a20" of target "copy_shell_libs_isi" does
10| not exist.
11
12Comment out that the add_dependencies. The driver for OS08a20 is still
13part of the built packages.
14
15Upstream-Status: Pending
16Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
17---
18 units/isi/CMakeLists.txt | 2 +-
19 1 file changed, 1 insertion(+), 1 deletion(-)
20
21diff --git a/units/isi/CMakeLists.txt b/units/isi/CMakeLists.txt
22index ea01aa7d9424..2f5c3d803e67 100755
23--- a/units/isi/CMakeLists.txt
24+++ b/units/isi/CMakeLists.txt
25@@ -93,7 +93,7 @@ add_custom_target(copy_shell_libs_${module} ALL
26 COMMAND ${CMAKE_COMMAND} -E copy ${UNITS_TOP_DIRECTORY}/isi/drv/*/*.cfg ${LIB_ROOT}/${CMAKE_BUILD_TYPE}/bin/
27 COMMAND ${CMAKE_COMMAND} -E copy ${UNITS_TOP_DIRECTORY}/isi/drv/*.cfg ${LIB_ROOT}/${CMAKE_BUILD_TYPE}/bin/
28 )
29-add_dependencies(copy_shell_libs_${module} drv/OS08a20)
30+#add_dependencies(copy_shell_libs_${module} os08a20_shared)
31
32 endif (GENERATE_PARTITION_BUILD)
33
34--
352.42.0
36