[Buildroot] [PATCH 1/1] package/flashrom: fix build on sh4

Thomas Petazzoni thomas.petazzoni at bootlin.com
Mon Nov 6 21:27:39 UTC 2023


On Sun,  5 Nov 2023 10:51:08 +0100
Fabrice Fontaine <fontaine.fabrice at gmail.com> wrote:

> Fix the following build failure on sh4 raised since bump to version
> 1.3.0 in commit
> 
> /home/thomas/autobuild/instance-3/output-1/per-package/flashrom/host/bin/../lib/gcc/sh4a-buildroot-linux-gnu/12.3.0/../../../../sh4a-buildroot-linux-gnu/bin/ld: libflashrom.a(internal.o): in function `internal_chip_readn':
> internal.c:(.text+0x8): undefined reference to `mmio_readn'
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/f74a9d315fb519f284428234713f43fcf4e35fd0
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
> ---
>  ...G_INTERNAL-depends-on-raw-mem-access.patch | 35 +++++++++++++++++++
>  1 file changed, 35 insertions(+)
>  create mode 100644 package/flashrom/0001-Makefile-CONFIG_INTERNAL-depends-on-raw-mem-access.patch

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the buildroot mailing list