diff options
| author | Martin Jansa <martin.jansa@gmail.com> | 2023-05-24 09:52:47 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-05-24 07:23:55 -0700 |
| commit | 078d920366671b757e8cfd25968e734305df4fb3 (patch) | |
| tree | 28dfb701784cd38f89822a7c68bd8dc958a8d74c /meta-oe | |
| parent | fd41263da1d09b1d1e68c7e0c7c1c05735c09c42 (diff) | |
| download | meta-openembedded-078d920366671b757e8cfd25968e734305df4fb3.tar.gz | |
libiio: remove unused patch file
* it was removed from SRC_URI in:
https://git.openembedded.org/meta-openembedded/commit/?id=998219d2e8179c8ca758da822b8dc17a1e3533b8
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe')
| -rw-r--r-- | meta-oe/recipes-support/libiio/libiio/0001-CMake-Move-include-CheckCSourceCompiles-before-its-m.patch | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/meta-oe/recipes-support/libiio/libiio/0001-CMake-Move-include-CheckCSourceCompiles-before-its-m.patch b/meta-oe/recipes-support/libiio/libiio/0001-CMake-Move-include-CheckCSourceCompiles-before-its-m.patch deleted file mode 100644 index a2cfd47f18..0000000000 --- a/meta-oe/recipes-support/libiio/libiio/0001-CMake-Move-include-CheckCSourceCompiles-before-its-m.patch +++ /dev/null | |||
| @@ -1,38 +0,0 @@ | |||
| 1 | From 758ba58c81273d9075a539216f8a322935c2e434 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Paul Cercueil <paul@crapouillou.net> | ||
| 3 | Date: Fri, 12 Nov 2021 16:49:21 +0000 | ||
| 4 | Subject: [PATCH] CMake: Move include(CheckCSourceCompiles) before its macros | ||
| 5 | are used | ||
| 6 | |||
| 7 | Move include(CheckCSourceCompiles) before any of the | ||
| 8 | check_c_source_compiles() macros is called. | ||
| 9 | |||
| 10 | This fixes a CMake error when compiling with WITH_NETWORK_GET_BUFFER | ||
| 11 | disabled. | ||
| 12 | |||
| 13 | Upstream-Status: Accepted [https://github.com/analogdevicesinc/libiio/commit/758ba58c81273d9075a539216f8a322935c2e434] | ||
| 14 | |||
| 15 | Signed-off-by: Paul Cercueil <paul@crapouillou.net> | ||
| 16 | --- | ||
| 17 | CMakeLists.txt | 3 ++- | ||
| 18 | 1 file changed, 2 insertions(+), 1 deletion(-) | ||
| 19 | |||
| 20 | diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
| 21 | index 7437136c8210..05b4feff233b 100644 | ||
| 22 | --- a/CMakeLists.txt | ||
| 23 | +++ b/CMakeLists.txt | ||
| 24 | @@ -296,9 +296,10 @@ if(WITH_NETWORK_BACKEND) | ||
| 25 | endif() | ||
| 26 | |||
| 27 | if(${CMAKE_SYSTEM_NAME} MATCHES "Linux") | ||
| 28 | + include(CheckCSourceCompiles) | ||
| 29 | + | ||
| 30 | option(WITH_NETWORK_GET_BUFFER "Enable experimental zero-copy transfers" OFF) | ||
| 31 | if (WITH_NETWORK_GET_BUFFER) | ||
| 32 | - include(CheckCSourceCompiles) | ||
| 33 | check_c_source_compiles("#define _GNU_SOURCE=1\n#include <fcntl.h>\nint main(void) { return O_TMPFILE; }" | ||
| 34 | HAS_O_TMPFILE) | ||
| 35 | |||
| 36 | -- | ||
| 37 | 2.34.1 | ||
| 38 | |||
