Browse Source

flashrom: fix full and pci variants

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
lilik-openwrt-22.03
Álvaro Fernández Rojas 9 years ago
parent
commit
375f34d362
2 changed files with 9 additions and 2 deletions
  1. +1
    -1
      utils/flashrom/Makefile
  2. +8
    -1
      utils/flashrom/flashrom.mk

+ 1
- 1
utils/flashrom/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=flashrom PKG_NAME:=flashrom
PKG_VERSION:=0.9.9 PKG_VERSION:=0.9.9
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=http://download.flashrom.org/releases PKG_SOURCE_URL:=http://download.flashrom.org/releases


+ 8
- 1
utils/flashrom/flashrom.mk View File

@ -19,6 +19,7 @@ ifeq ($(BUILD_VARIANT),full)
FLASHROM_BASIC := yes FLASHROM_BASIC := yes
FLASHROM_FTDI := yes FLASHROM_FTDI := yes
FLASHROM_PCI := yes FLASHROM_PCI := yes
FLASHROM_RAW := yes
FLASHROM_SERIAL := yes FLASHROM_SERIAL := yes
FLASHROM_USB := yes FLASHROM_USB := yes
endif endif
@ -27,6 +28,7 @@ ifeq ($(BUILD_VARIANT),pci)
FLASHROM_BASIC := yes FLASHROM_BASIC := yes
FLASHROM_FTDI := no FLASHROM_FTDI := no
FLASHROM_PCI := yes FLASHROM_PCI := yes
FLASHROM_RAW := yes
FLASHROM_SERIAL := no FLASHROM_SERIAL := no
FLASHROM_USB := no FLASHROM_USB := no
endif endif
@ -35,6 +37,7 @@ ifeq ($(BUILD_VARIANT),spi)
FLASHROM_BASIC := yes FLASHROM_BASIC := yes
FLASHROM_FTDI := no FLASHROM_FTDI := no
FLASHROM_PCI := no FLASHROM_PCI := no
FLASHROM_RAW := no
FLASHROM_SERIAL := no FLASHROM_SERIAL := no
FLASHROM_USB := no FLASHROM_USB := no
endif endif
@ -43,6 +46,7 @@ ifeq ($(BUILD_VARIANT),usb)
FLASHROM_BASIC := yes FLASHROM_BASIC := yes
FLASHROM_FTDI := yes FLASHROM_FTDI := yes
FLASHROM_PCI := no FLASHROM_PCI := no
FLASHROM_RAW := no
FLASHROM_SERIAL := yes FLASHROM_SERIAL := yes
FLASHROM_USB := yes FLASHROM_USB := yes
endif endif
@ -57,10 +61,13 @@ $(eval $(call DefineConfig,FTDI,$(FLASHROM_FTDI)))
$(eval $(call DefineProgrammer,FT2232_SPI,$(FLASHROM_FTDI))) $(eval $(call DefineProgrammer,FT2232_SPI,$(FLASHROM_FTDI)))
$(eval $(call DefineProgrammer,USBBLASTER_SPI,$(FLASHROM_FTDI))) $(eval $(call DefineProgrammer,USBBLASTER_SPI,$(FLASHROM_FTDI)))
# RAW
$(eval $(call DefineConfig,RAW_ACCESS,$(FLASHROM_RAW)))
$(eval $(call DefineProgrammer,RAYER_SPI,$(FLASHROM_RAW)))
# PCI # PCI
$(eval $(call DefineConfig,PCI,$(FLASHROM_PCI))) $(eval $(call DefineConfig,PCI,$(FLASHROM_PCI)))
$(eval $(call DefineProgrammer,INTERNAL,$(FLASHROM_PCI))) $(eval $(call DefineProgrammer,INTERNAL,$(FLASHROM_PCI)))
$(eval $(call DefineProgrammer,RAYER_SPI,$(FLASHROM_PCI)))
$(eval $(call DefineProgrammer,NIC3COM,$(FLASHROM_PCI))) $(eval $(call DefineProgrammer,NIC3COM,$(FLASHROM_PCI)))
$(eval $(call DefineProgrammer,GFXNVIDIA,$(FLASHROM_PCI))) $(eval $(call DefineProgrammer,GFXNVIDIA,$(FLASHROM_PCI)))
$(eval $(call DefineProgrammer,SATASII,$(FLASHROM_PCI))) $(eval $(call DefineProgrammer,SATASII,$(FLASHROM_PCI)))


Loading…
Cancel
Save