build system: Retire REQUIRES_BLOB
REQUIRES_BLOB assumes that all blob files come from the 3rdparty directory, builds failed when all files were configured to point to other sources. This change modifies the blob mechanism so that cbfs-files can be tagged as "required" with some specification what is missing. If the configured files can't be found (wrong path, missing file), the build system returns a list of descriptions, then aborts. Change-Id: Icc128e3afcee8acf49bff9409b93af7769db3517 Signed-off-by: Patrick Georgi <patrick@georgi-clan.de> Reviewed-on: http://review.coreboot.org/2418 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martin.roth@se-eng.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Marc Jones <marcj303@gmail.com>
This commit is contained in:
@@ -46,21 +46,18 @@ if SOUTHBRIDGE_AMD_AGESA_HUDSON
|
||||
config HUDSON_XHCI_FWM
|
||||
bool "Add xhci firmware"
|
||||
default y
|
||||
select REQUIRES_BLOB
|
||||
help
|
||||
Add Hudson 2/3/4 XHCI Firmware to support the onboard usb3.0
|
||||
|
||||
config HUDSON_IMC_FWM
|
||||
bool "Add imc firmware"
|
||||
default y
|
||||
select REQUIRES_BLOB
|
||||
help
|
||||
Add Hudson 2/3/4 IMC Firmware to support the onboard fan control
|
||||
|
||||
config HUDSON_GEC_FWM
|
||||
bool "Add gec firmware"
|
||||
default n
|
||||
select REQUIRES_BLOB
|
||||
help
|
||||
Add Hudson 2/3/4 GEC Firmware
|
||||
|
||||
|
@@ -74,6 +74,7 @@ cbfs-files-y += hudson/xhci
|
||||
hudson/xhci-file := $(call strip_quotes, $(CONFIG_HUDSON_XHCI_FWM_FILE))
|
||||
hudson/xhci-position := $(HUDSON_XHCI_POSITION)
|
||||
hudson/xhci-type := raw
|
||||
hudson/xhci-required := Hudson XHCI firmware (available in coreboot/3rdparty if enabled)
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_HUDSON_IMC_FWM), y)
|
||||
@@ -81,6 +82,7 @@ cbfs-files-y += hudson/imc
|
||||
hudson/imc-file := $(call strip_quotes, $(CONFIG_HUDSON_IMC_FWM_FILE))
|
||||
hudson/imc-position := $(HUDSON_IMC_POSITION)
|
||||
hudson/imc-type := raw
|
||||
hudson/imc-required := Hudson IMC Firmware (available in coreboot/3rdparty if enabled)
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_HUDSON_GEC_FWM), y)
|
||||
@@ -88,6 +90,7 @@ cbfs-files-y += hudson/gec
|
||||
hudson/gec-file := $(call strip_quotes, $(CONFIG_HUDSON_GEC_FWM_FILE))
|
||||
hudson/gec-position := $(HUDSON_GEC_POSITION)
|
||||
hudson/gec-type := raw
|
||||
hudson/gec-required := Hudson Gigabit Ethernet Controller Firmware (Contact your AMD representative)
|
||||
endif
|
||||
|
||||
#ifeq ($(CONFIG_HUDSON_SATA_AHCI), y)
|
||||
@@ -96,5 +99,6 @@ stripped_ahci_rom_id = $(call strip_quotes,$(CONFIG_AHCI_ROM_ID))
|
||||
cbfs-files-y += pci$(stripped_ahci_rom_id).rom
|
||||
pci$(stripped_ahci_rom_id).rom-file := $(call strip_quotes,$(CONFIG_AHCI_ROM_FILE))
|
||||
pci$(stripped_ahci_rom_id).rom-type := optionrom
|
||||
pci$(stripped_ahci_rom_id).rom-required := Hudson AHCI Option ROM (Contact your AMD representative)
|
||||
#endif
|
||||
endif
|
||||
|
Reference in New Issue
Block a user