* [Buildroot] [PATCH 1/1] package/flashrom: fix libftdi build
@ 2023-11-05 9:28 Fabrice Fontaine
2023-11-06 21:27 ` Thomas Petazzoni via buildroot
0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2023-11-05 9:28 UTC (permalink / raw)
To: buildroot; +Cc: Fabrice Fontaine, Thomas Petazzoni
flashrom depends on libftdi1 since bump to version 1.3.0 in commit
073b0fc9c1fe9945eccf4b792b948633aae9a9b8:
Dependency libftdi1 found: no
[...]
/home/autobuild/autobuild/instance-7/output-1/host/lib/gcc/mips64el-buildroot-linux-gnu/12.3.0/../../../../mips64el-buildroot-linux-gnu/bin/ld: libflashrom.a(ft2232_spi.o): in function `send_buf':
ft2232_spi.c:(.text+0x20): undefined reference to `ftdi_write_data'
Fixes:
- http://autobuild.buildroot.org/results/11fae0933b38d82f15fec37e78298df232321bcd
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/flashrom/flashrom.mk | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/flashrom/flashrom.mk b/package/flashrom/flashrom.mk
index 1ccef572da..86bfec40cc 100644
--- a/package/flashrom/flashrom.mk
+++ b/package/flashrom/flashrom.mk
@@ -11,8 +11,8 @@ FLASHROM_LICENSE = GPL-2.0+
FLASHROM_LICENSE_FILES = COPYING
FLASHROM_MAKE_OPTS = WARNERROR=no
-ifeq ($(BR2_PACKAGE_LIBFTDI),y)
-FLASHROM_DEPENDENCIES += host-pkgconf libftdi
+ifeq ($(BR2_PACKAGE_LIBFTDI1),y)
+FLASHROM_DEPENDENCIES += host-pkgconf libftdi1
FLASHROM_MAKE_OPTS += \
CONFIG_FT2232_SPI=yes \
CONFIG_USBBLASTER_SPI=yes
--
2.42.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/flashrom: fix libftdi build
2023-11-05 9:28 [Buildroot] [PATCH 1/1] package/flashrom: fix libftdi build Fabrice Fontaine
@ 2023-11-06 21:27 ` Thomas Petazzoni via buildroot
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2023-11-06 21:27 UTC (permalink / raw)
To: Fabrice Fontaine; +Cc: buildroot
On Sun, 5 Nov 2023 10:28:28 +0100
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> flashrom depends on libftdi1 since bump to version 1.3.0 in commit
> 073b0fc9c1fe9945eccf4b792b948633aae9a9b8:
>
> Dependency libftdi1 found: no
> [...]
> /home/autobuild/autobuild/instance-7/output-1/host/lib/gcc/mips64el-buildroot-linux-gnu/12.3.0/../../../../mips64el-buildroot-linux-gnu/bin/ld: libflashrom.a(ft2232_spi.o): in function `send_buf':
> ft2232_spi.c:(.text+0x20): undefined reference to `ftdi_write_data'
>
> Fixes:
> - http://autobuild.buildroot.org/results/11fae0933b38d82f15fec37e78298df232321bcd
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> package/flashrom/flashrom.mk | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-11-06 21:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-05 9:28 [Buildroot] [PATCH 1/1] package/flashrom: fix libftdi build Fabrice Fontaine
2023-11-06 21:27 ` Thomas Petazzoni via buildroot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox