Files
openwrt_yocto/meta-openembedded/meta-networking/recipes-support/wireshark/files/0004-lemon-Remove-line-directives.patch
T
francis.wang 4c86c082a2 Initial commit: OpenWrt-Yocto monorepo
Combine poky (Yocto scarthgap), meta-openembedded (scarthgap), and
meta-openwrt into a single repository.

Components:
- poky/             Yocto core framework (BitBake + OE-Core)
- meta-openembedded/ Community layers (meta-oe, meta-python, meta-networking)
- meta-openwrt/     OpenWrt customization layer
- setup-env.sh      One-click build environment setup
- README.md         Project documentation
2026-07-11 13:28:01 +08:00

36 lines
944 B
Diff

From 94b951c0cccf67b66749cc87c473e63fa5207e83 Mon Sep 17 00:00:00 2001
From: Oleksiy Obitotskyy <oobitots@cisco.com>
Date: Wed, 27 Jan 2021 06:47:13 -0800
Subject: [PATCH] lemon: Remove #line directives
In case of reproducible build remove #line
directives with extra option '-l'.
Upstream-Status: Pending
Signed-off-by: Oleksiy Obitotskyy <oobitots@cisco.com>
---
cmake/modules/UseLemon.cmake | 2 ++
1 file changed, 2 insertions(+)
diff --git a/cmake/modules/UseLemon.cmake b/cmake/modules/UseLemon.cmake
index e419de1..fa4034e 100644
--- a/cmake/modules/UseLemon.cmake
+++ b/cmake/modules/UseLemon.cmake
@@ -12,6 +12,7 @@ if(LEMON_EXECUTABLE)
${_out}.h
${_out}.out
COMMAND ${LEMON_EXECUTABLE}
+ -l
-T/usr/share/lemon/lempar.c
-d.
${_in}
@@ -30,6 +31,7 @@ else()
${_out}.h
${_out}.out
COMMAND $<TARGET_FILE:lemon>
+ -l
-T${CMAKE_SOURCE_DIR}/tools/lemon/lempar.c
-d.
${_in}