Skip to contentSkip to conversation

support/dependencies: clarify intended use of host bison/flex

PATCH New Baruch Siach 2 participants 3 messages Nov 20, 2020 – Dec 7, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 support/dependencies: clarify intended use of host bison/flex

We should not rely on host installed bison/flex for target code. This ensures better reproducibility of generated code.

http://lists.busybox.net/pipermail/buildroot/2020-November/296786.html

---
 support/dependencies/check-host-bison-flex.mk | 4 ++++
 1 file changed, 4 insertions(+)
support/dependencies/check-host-bison-flex.mk +4 -0
index 233b6c51ccd6..14a232fd449f 100644
@@ -1,5 +1,9 @@
 # If the system lacks bison or flex, add
 # dependencies to suitable host packages
+#
+# BR2_{BISON,FLES}_HOST_DEPENDENCY should only be used to build code
+# that runs on host, e.g. Kconfig. To build code for target use plain
+# host-{bison,flex}.
 
 ifeq ($(shell which bison 2>/dev/null),)
 BR2_BISON_HOST_DEPENDENCY = host-bison
Signature · 1 line
2.29.2
#1 lore raw

PATCH 1/1 support/dependencies: clarify intended use of host bison/flex

Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Baruch" == Baruch Siach <[email protected]> writes:

We should not rely on host installed bison/flex for target code. This ensures better reproducibility of generated code.

http://lists.busybox.net/pipermail/buildroot/2020-November/296786.html

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard
#2 lore raw

PATCH 1/1 support/dependencies: clarify intended use of host bison/flex

In reply to Baruch Siach
Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Baruch" == Baruch Siach <[email protected]> writes:

We should not rely on host installed bison/flex for target code. This ensures better reproducibility of generated code.

http://lists.busybox.net/pipermail/buildroot/2020-November/296786.html

Committed to 2020.02.x and 2020.08.x, thanks.

Signature · 1 line
Bye, Peter Korsgaard