[Buildroot] [PATCH] package/openntpd: needs host-bison
Peter Korsgaard
peter at korsgaard.com
Mon Nov 16 17:42:20 UTC 2020
>>>>> "Baruch" == Baruch Siach <baruch at tkos.co.il> writes:
Hi,
>> > +OPENNTPD_DEPENDENCIES = host-bison
>>
>> Can we not use $(BR2_BISON_HOST_DEPENDENCY) instead?
> We surly can. But for some reason no other package under package/ uses
> BR2_BISON_HOST_DEPENDENCY. Plain host-bison is used there instead. Only
> Barebox, U-Boot and the kernel use it. Why is that?
Your tree is not uptodate, we also have it in linux-backports ;)
But yes, it is a bit odd that we are not using it more often. Probably
it is mostly just because it is fairly new (~2 years) and not really
documented anywhere.
Yann, you added it, anything to add?
> Commit b01100cc901a83 ("linux: kconfig may need host-{flex, bison} to
> build the configurators") mentions kconfig. Is that related?
> I guess that BR2_BISON_HOST_DEPENDENCY is more susceptible to
> incompatibility due to different host installed bison versions (and same
> for flex).
Correct, similar to the other components where we can use what is
available on the host if new enough. For bison/flex, I would imagine
that the version incompatibilities are fairly small (even though we do
have some patches for building with bison 3.7.1).
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list