payloads: Move payloads logic to payloads directory
Change-Id: I6437e30da6ab675d32dc81c5d6d3fd9bcdc67f06 Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-on: http://review.coreboot.org/10923 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
parent
2c6fe441a7
commit
d0d487aaf4
12
Makefile.inc
12
Makefile.inc
|
@ -542,18 +542,6 @@ $(objcbfs)/%.elf: $(objcbfs)/%.debug
|
|||
###########################################################################
|
||||
|
||||
COREBOOT_ROM_DEPENDENCIES:=
|
||||
ifeq ($(CONFIG_PAYLOAD_ELF),y)
|
||||
COREBOOT_ROM_DEPENDENCIES+=$(CONFIG_PAYLOAD_FILE)
|
||||
endif
|
||||
ifeq ($(CONFIG_PAYLOAD_SEABIOS),y)
|
||||
COREBOOT_ROM_DEPENDENCIES+=seabios
|
||||
endif
|
||||
ifeq ($(CONFIG_PAYLOAD_FILO),y)
|
||||
COREBOOT_ROM_DEPENDENCIES+=filo
|
||||
endif
|
||||
ifeq ($(CONFIG_PAYLOAD_GRUB2),y)
|
||||
COREBOOT_ROM_DEPENDENCIES+=grub2
|
||||
endif
|
||||
|
||||
extract_nth=$(patsubst -%-,%,$(word $(1), $(subst |,- -,-$(2)-)))
|
||||
|
||||
|
|
|
@ -19,6 +19,19 @@
|
|||
## Foundation, Inc.
|
||||
##
|
||||
|
||||
ifeq ($(CONFIG_PAYLOAD_ELF),y)
|
||||
COREBOOT_ROM_DEPENDENCIES+=$(CONFIG_PAYLOAD_FILE)
|
||||
endif
|
||||
ifeq ($(CONFIG_PAYLOAD_SEABIOS),y)
|
||||
COREBOOT_ROM_DEPENDENCIES+=seabios
|
||||
endif
|
||||
ifeq ($(CONFIG_PAYLOAD_FILO),y)
|
||||
COREBOOT_ROM_DEPENDENCIES+=filo
|
||||
endif
|
||||
ifeq ($(CONFIG_PAYLOAD_GRUB2),y)
|
||||
COREBOOT_ROM_DEPENDENCIES+=grub2
|
||||
endif
|
||||
|
||||
seabios:
|
||||
$(MAKE) -C payloads/external/SeaBIOS -f Makefile.inc \
|
||||
HOSTCC="$(HOSTCC)" \
|
||||
|
|
Loading…
Reference in New Issue