Files
buildroot/package/flashrom/flashrom.mk
T
Thomas Petazzoni 83b783c29e package/flashrom: bump to version 1.5.1
Changes in 1.5.0 and 1.5.1 are described at:
https://www.flashrom.org/release_notes/v_1_5.html

The option classic_cli_print_wiki has been removed in upstream commit
87134f538dd9b69fa1331514f7b492e92f8bd66d ("tree: Remove
print_wiki.c"). It was used to generate some parts of the Wiki, and
was anyway not used by Buildroot as it was disabled.

The build was tested including with fwupd, which is the one reverse
dependency of flashrom in Buildroot.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2024-12-26 23:50:40 +01:00

88 lines
1.7 KiB
Makefile

################################################################################
#
# flashrom
#
################################################################################
FLASHROM_VERSION = 1.5.1
FLASHROM_SITE = $(call github,flashrom,flashrom,v$(FLASHROM_VERSION))
FLASHROM_LICENSE = GPL-2.0+
FLASHROM_LICENSE_FILES = COPYING
FLASHROM_INSTALL_STAGING = YES
FLASHROM_CONF_OPTS = \
-Dclassic_cli=enabled \
-Dich_descriptors_tool=enabled \
-Dtests=disabled \
-Duse_internal_dmi=true \
-Dwerror=false \
-Dman-pages=disabled \
-Ddocumentation=disabled
FLASHROM_PROGRAMMERS = \
buspirate_spi \
linux_mtd \
linux_spi \
parade_lspcon \
mediatek_i2c_spi \
mstarddc_spi \
pony_spi \
realtek_mst_i2c_spi \
serprog
ifeq ($(BR2_i386)$(BR2_x86_64),y)
FLASHROM_PROGRAMMERS += rayer_spi
endif
ifeq ($(BR2_PACKAGE_LIBFTDI1),y)
FLASHROM_DEPENDENCIES += host-pkgconf libftdi1
FLASHROM_PROGRAMMERS += \
ft2232_spi \
usbblaster_spi
endif
ifeq ($(BR2_PACKAGE_LIBUSB),y)
FLASHROM_DEPENDENCIES += host-pkgconf libusb
FLASHROM_PROGRAMMERS += \
ch341a_spi \
dediprog \
developerbox_spi \
digilent_spi \
dirtyjtag_spi \
pickit2_spi \
raiden_debug_spi \
stlinkv3_spi
endif
ifeq ($(BR2_PACKAGE_PCIUTILS),y)
FLASHROM_DEPENDENCIES += pciutils
FLASHROM_PROGRAMMERS += \
atavia \
drkaiser \
gfxnvidia \
internal \
it8212 \
nicintel \
nicintel_eeprom \
nicintel_spi \
ogp_spi \
satasii
ifeq ($(BR2_i386)$(BR2_x86_64),y)
FLASHROM_PROGRAMMERS += \
atahpt \
atapromise \
nic3com \
nicnatsemi \
nicrealtek \
satamv
endif
endif
FLASHROM_CONF_OPTS += -Dprogrammer=$(subst $(space),$(comma),$(strip $(FLASHROM_PROGRAMMERS)))
ifeq ($(BR2_SHARED_LIBS),y)
FLASHROM_CONF_OPTS += --default-library=both
endif
$(eval $(meson-package))