diff options
Diffstat (limited to 'meta-networking/recipes-support/wireshark/files/0001-UseLemon.cmake-do-not-use-lemon-data-from-the-host.patch')
| -rw-r--r-- | meta-networking/recipes-support/wireshark/files/0001-UseLemon.cmake-do-not-use-lemon-data-from-the-host.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/wireshark/files/0001-UseLemon.cmake-do-not-use-lemon-data-from-the-host.patch b/meta-networking/recipes-support/wireshark/files/0001-UseLemon.cmake-do-not-use-lemon-data-from-the-host.patch new file mode 100644 index 0000000000..1903f38f5d --- /dev/null +++ b/meta-networking/recipes-support/wireshark/files/0001-UseLemon.cmake-do-not-use-lemon-data-from-the-host.patch | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | From 802d3cafa888b36aa72007d48232a010dbb0231d Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Alexander Kanavin <alex@linutronix.de> | ||
| 3 | Date: Wed, 27 Dec 2023 16:57:28 +0100 | ||
| 4 | Subject: [PATCH] UseLemon.cmake: do not use lemon data from the host | ||
| 5 | |||
| 6 | We use native lemon, and not the host one, so | ||
| 7 | the data should be taken from the source tree as well. | ||
| 8 | |||
| 9 | Upstream-Status: Inappropriate [cross-specific] | ||
| 10 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> | ||
| 11 | --- | ||
| 12 | cmake/modules/UseLemon.cmake | 3 ++- | ||
| 13 | 1 file changed, 2 insertions(+), 1 deletion(-) | ||
| 14 | |||
| 15 | diff --git a/cmake/modules/UseLemon.cmake b/cmake/modules/UseLemon.cmake | ||
| 16 | index fa4034e..83a7ca3 100644 | ||
| 17 | --- a/cmake/modules/UseLemon.cmake | ||
| 18 | +++ b/cmake/modules/UseLemon.cmake | ||
| 19 | @@ -13,11 +13,12 @@ if(LEMON_EXECUTABLE) | ||
| 20 | ${_out}.out | ||
| 21 | COMMAND ${LEMON_EXECUTABLE} | ||
| 22 | -l | ||
| 23 | - -T/usr/share/lemon/lempar.c | ||
| 24 | + -T${CMAKE_SOURCE_DIR}/tools/lemon/lempar.c | ||
| 25 | -d. | ||
| 26 | ${_in} | ||
| 27 | DEPENDS | ||
| 28 | ${_in} | ||
| 29 | + ${CMAKE_SOURCE_DIR}/tools/lemon/lempar.c | ||
| 30 | ) | ||
| 31 | endmacro() | ||
| 32 | add_custom_target(lemon) | ||
