* [Buildroot] [PATCH] support/dependencies: clarify intended use of host bison/flex
@ 2020-11-20 5:08 Baruch Siach
2020-11-22 14:24 ` Peter Korsgaard
2020-12-07 20:38 ` Peter Korsgaard
0 siblings, 2 replies; 3+ messages in thread
From: Baruch Siach @ 2020-11-20 5:08 UTC (permalink / raw)
To: buildroot
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
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
support/dependencies/check-host-bison-flex.mk | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/support/dependencies/check-host-bison-flex.mk b/support/dependencies/check-host-bison-flex.mk
index 233b6c51ccd6..14a232fd449f 100644
--- a/support/dependencies/check-host-bison-flex.mk
+++ b/support/dependencies/check-host-bison-flex.mk
@@ -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
--
2.29.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] support/dependencies: clarify intended use of host bison/flex
2020-11-20 5:08 [Buildroot] [PATCH] support/dependencies: clarify intended use of host bison/flex Baruch Siach
@ 2020-11-22 14:24 ` Peter Korsgaard
2020-12-07 20:38 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2020-11-22 14:24 UTC (permalink / raw)
To: buildroot
>>>>> "Baruch" == Baruch Siach <baruch@tkos.co.il> 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
> Cc: Yann E. MORIN <yann.morin.1998@free.fr>
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] support/dependencies: clarify intended use of host bison/flex
2020-11-20 5:08 [Buildroot] [PATCH] support/dependencies: clarify intended use of host bison/flex Baruch Siach
2020-11-22 14:24 ` Peter Korsgaard
@ 2020-12-07 20:38 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2020-12-07 20:38 UTC (permalink / raw)
To: buildroot
>>>>> "Baruch" == Baruch Siach <baruch@tkos.co.il> 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
> Cc: Yann E. MORIN <yann.morin.1998@free.fr>
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Committed to 2020.02.x and 2020.08.x, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-12-07 20:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-20 5:08 [Buildroot] [PATCH] support/dependencies: clarify intended use of host bison/flex Baruch Siach
2020-11-22 14:24 ` Peter Korsgaard
2020-12-07 20:38 ` Peter Korsgaard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.