Re: [Buildroot] [PATCH v1 1/1] package/bootgen: fix build issue if host-flex already built

Julien Olivain via buildroot
2026-03-18T18:13:15Z

On 18/03/2026 11:04, Neal Frager via buildroot wrote:
> Fix a silent build issue with the host-bootgen package if host-flex is
> already
> built. The host-flex package will install a version of the flexlexer.h
> header
> file that is not compatible with the version embedded in bootgen.
>
> While the build will still 'succeed', the binary will not be correct.
> This
> can be seen by just running the binary that is built. By default,
> running
> bootgen without any parameters should print the help menu, but if the
> wrong
> version of flexlexer.h is used, it will print the following instead:
>
> $ output/host/bin/bootgen
>
> ****** Bootgen v2025.1-Merged
> **** Build date : Mar 18 2026-07:08:01
> ** Copyright 1986-2022 Xilinx, Inc. All Rights Reserved.
> ** Copyright 2022-2025 Advanced Micro Devices, Inc. All Rights
> Reserved.
>
> ERROR: syntax error
> -h
>
> Add a patch to the bootgen package that corrects the issue.
>
> Upstream: CR to AMD jira
>
> Signed-off-by: Neal Frager <neal.frager@amd.com>

Applied to master, thanks.