payloads: Replace GPL boilerplate with SPDX headers
Used commands:
perl -i -p0e 's|\/\*[\s*]*.*is free software[:;][\s*]*you[\s*]*can[\s*]*redistribute[\s*]*it[\s*]*and\/or[\s*]*modify[\s*]*it[\s*]*under[\s*]*the[\s*]*terms[\s*]*of[\s*]*the[\s*]*GNU[\s*]*General[\s*]*Public[\s*]*License[\s*]*as[\s*]*published[\s*]*by[\s*]*the[\s*]*Free[\s*]*Software[\s*]*Foundation[;,][\s*]*version[\s*]*2[\s*]*of[\s*]*the[\s*]*License.[\s*]*This[\s*]*program[\s*]*is[\s*]*distributed[\s*]*in[\s*]*the[\s*]*hope[\s*]*that[\s*]*it[\s*]*will[\s*]*be[\s*]*useful,[\s*]*but[\s*]*WITHOUT[\s*]*ANY[\s*]*WARRANTY;[\s*]*without[\s*]*even[\s*]*the[\s*]*implied[\s*]*warranty[\s*]*of[\s*]*MERCHANTABILITY[\s*]*or[\s*]*FITNESS[\s*]*FOR[\s*]*A[\s*]*PARTICULAR[\s*]*PURPOSE.[\s*]*See[\s*]*the[\s*]*GNU[\s*]*General[\s*]*Public[\s*]*License[\s*]*for[\s*]*more[\s*]*details.[\s*]*\*\/|/* SPDX-License-Identifier: GPL-2.0-only */|' $(cat filelist)
perl -i -p0e 's|\/\*[\s*]*.*is[\s*]*free[\s*]*software[:;][\s*]*you[\s*]*can[\s*]*redistribute[\s*]*it[\s*]*and/or[\s*]*modify[\s*]*it[\s*]*under[\s*]*the[\s*]*terms[\s*]*of[\s*]*the[\s*]*GNU[\s*]*General[\s*]*Public[\s*]*License[\s*]*as[\s*]*published[\s*]*by[\s*]*the[\s*]*Free[\s*]*Software[\s*]*Foundation[;,][\s*]*either[\s*]*version[\s*]*2[\s*]*of[\s*]*the[\s*]*License,[\s*]*or[\s*]*.at[\s*]*your[\s*]*option.*[\s*]*any[\s*]*later[\s*]*version.[\s*]*This[\s*]*program[\s*]*is[\s*]*distributed[\s*]*in[\s*]*the[\s*]*hope[\s*]*that[\s*]*it[\s*]*will[\s*]*be[\s*]*useful,[\s*]*but[\s*]*WITHOUT[\s*]*ANY[\s*]*WARRANTY;[\s*]*without[\s*]*even[\s*]*the[\s*]*implied[\s*]*warranty[\s*]*of[\s*]*MERCHANTABILITY[\s*]*or[\s*]*FITNESS[\s*]*FOR[\s*]*A[\s*]*PARTICULAR[\s*]*PURPOSE.[\s*]*See[\s*]*the[\s*]*GNU[\s*]*General[\s*]*Public[\s*]*License[\s*]*for[\s*]*more[\s*]*details.[\s*]*\*\/|/* SPDX-License-Identifier: GPL-2.0-or-later */|' $(cat filelist)
perl -i -p0e 's|\/\*[\s*]*.*is[\s*#]*free[\s*#]*software[;:,][\s*#]*you[\s*#]*can[\s*#]*redistribute[\s*#]*it[\s*#]*and/or[\s*#]*modify[\s*#]*it[\s*#]*under[\s*#]*the[\s*#]*terms[\s*#]*of[\s*#]*the[\s*#]*GNU[\s*#]*General[\s*#]*Public[\s*#]*License[\s*#]*as[\s*#]*published[\s*#]*by[\s*#]*the[\s*#]*Free[\s*#]*Software[\s*#]*Foundation[;:,][\s*#]*either[\s*#]*version[\s*#]*3[\s*#]*of[\s*#]*the[\s*#]*License[;:,][\s*#]*or[\s*#]*.at[\s*#]*your[\s*#]*option.*[\s*#]*any[\s*#]*later[\s*#]*version.[\s*#]*This[\s*#]*program[\s*#]*is[\s*#]*distributed[\s*#]*in[\s*#]*the[\s*#]*hope[\s*#]*that[\s*#]*it[\s*#]*will[\s*#]*be[\s*#]*useful[;:,][\s*#]*but[\s*#]*WITHOUT[\s*#]*ANY[\s*#]*WARRANTY[;:,][\s*#]*without[\s*#]*even[\s*#]*the[\s*#]*implied[\s*#]*warranty[\s*#]*of[\s*#]*MERCHANTABILITY[\s*#]*or[\s*#]*FITNESS[\s*#]*FOR[\s*#]*A[\s*#]*PARTICULAR[\s*#]*PURPOSE.[\s*#]*See[\s*#]*the[\s*#]*GNU[\s*#]*General[\s*#]*Public[\s*#]*License[\s*#]*for[\s*#]*more[\s*#]*details.[\s*]*\*\/|/* SPDX-License-Identifier: GPL-3.0-or-later */|' $(cat filelist)
perl -i -p0e 's|(\#\#*)[\w]*.*is free software[:;][\#\s]*you[\#\s]*can[\#\s]*redistribute[\#\s]*it[\#\s]*and\/or[\#\s]*modify[\#\s]*it[\s\#]*under[\s \#]*the[\s\#]*terms[\s\#]*of[\s\#]*the[\s\#]*GNU[\s\#]*General[\s\#]*Public[\s\#]*License[\s\#]*as[\s\#]*published[\s\#]*by[\s\#]*the[\s\#]*Free[\s\#]*Software[\s\#]*Foundation[;,][\s\#]*version[\s\#]*2[\s\#]*of[\s\#]*the[\s\#]*License.*[\s\#]*This[\s\#]*program[\s\#]*is[\s\#]*distributed[\s\#]*in[\s\#]*the[\s\#]*hope[\s\#]*that[\s\#]*it[\s\#]*will[\#\s]*be[\#\s]*useful,[\#\s]*but[\#\s]*WITHOUT[\#\s]*ANY[\#\s]*WARRANTY;[\#\s]*without[\#\s]*even[\#\s]*the[\#\s]*implied[\#\s]*warranty[\#\s]*of[\#\s]*MERCHANTABILITY[\#\s]*or[\#\s]*FITNESS[\#\s]*FOR[\#\s]*A[\#\s]*PARTICULAR[\#\s]*PURPOSE.[\#\s]*See[\#\s]*the[\#\s]*GNU[\#\s]*General[\#\s]*Public[\#\s]*License[\#\s]*for[\#\s]*more[\#\s]*details.\s(#* *\n)*|\1 SPDX-License-Identifier: GPL-2.0-only\n\n|' $(cat filelist)
perl -i -p0e 's|(\#\#*)[\w*]*.*is free software[:;][\s*]*you[\s*]*can[\s*]*redistribute[\s*]*it[\s*]*and\/or[\s*]*modify[\s*]*it[\s*]*under[\s*]*the[\s*]*terms[\s*]*of[\s*]*the[\s*]*GNU[\s*]*General[\s*]*Public[\s*]*License[\s*]*as[\s*]*published[\s*]*by[\s*]*the[\s*]*Free[\s*]*Software[\s*]*Foundation[;,][\s*]*version[\s*]*2[\s*]*of[\s*]*the[\s*]*License.[\s*]*This[\s*]*program[\s*]*is[\s*]*distributed[\s*]*in[\s*]*the[\s*]*hope[\s*]*that[\s*]*it[\s*]*will[\s*]*be[\s*]*useful,[\s*]*but[\s*]*WITHOUT[\s*]*ANY[\s*]*WARRANTY;[\s*]*without[\s*]*even[\s*]*the[\s*]*implied[\s*]*warranty[\s*]*of[\s*]*MERCHANTABILITY[\s*]*or[\s*]*FITNESS[\s*]*FOR[\s*]*A[\s*]*PARTICULAR[\s*]*PURPOSE.[\s*]*See[\s*]*the[\s*]*GNU[\s*]*General[\s*]*Public[\s*]*License[\s*]*for[\s*]*more[\s*]*details.\s(#* *\n)*|\1 SPDX-License-Identifier: GPL-2.0-only\n\n|' $(cat filelist)
Change-Id: I9f74ed19257bc4234465b8f912deff1b485173f9
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/41179
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2020-05-08 22:50:46 +02:00
|
|
|
## SPDX-License-Identifier: GPL-2.0-only
|
2015-07-01 02:09:17 +02:00
|
|
|
|
2015-06-20 04:50:59 +02:00
|
|
|
# set up payload config and version files for later inclusion
|
|
|
|
ifeq ($(CONFIG_PAYLOAD_SEABIOS),y)
|
|
|
|
PAYLOAD_CONFIG=payloads/external/SeaBIOS/seabios/.config
|
2015-11-28 21:23:48 +01:00
|
|
|
PAYLOAD_VERSION=payloads/external/SeaBIOS/seabios/out/autoversion.h
|
2015-06-20 04:50:59 +02:00
|
|
|
endif
|
|
|
|
ifeq ($(CONFIG_PAYLOAD_FILO),y)
|
|
|
|
PAYLOAD_CONFIG=payloads/external/FILO/filo/.config
|
|
|
|
PAYLOAD_VERSION=payloads/external/FILO/filo/build/version.h
|
|
|
|
endif
|
2015-07-15 19:24:18 +02:00
|
|
|
ifeq ($(CONFIG_PAYLOAD_DEPTHCHARGE),y)
|
|
|
|
PAYLOAD_CONFIG=payloads/external/depthcharge/depthcharge/.config
|
2017-10-23 14:53:52 +02:00
|
|
|
$(PAYLOAD_CONFIG): payloads/external/depthcharge/depthcharge/build/depthcharge.elf
|
2019-11-15 22:01:32 +01:00
|
|
|
ifeq ($(call strip_quotes,$(CONFIG_MAINBOARD_DEPTHCHARGE)),)
|
2019-09-21 02:38:59 +02:00
|
|
|
BOARD=$(call ws_to_under,$(call strip_quotes,$(call tolower,$(CONFIG_MAINBOARD_PART_NUMBER))))
|
2019-10-25 20:36:17 +02:00
|
|
|
else
|
|
|
|
BOARD=$(CONFIG_MAINBOARD_DEPTHCHARGE)
|
2019-09-21 02:38:59 +02:00
|
|
|
endif
|
2015-07-15 19:24:18 +02:00
|
|
|
#TODO: Figure out version
|
|
|
|
endif
|
2015-06-20 04:50:59 +02:00
|
|
|
|
2018-11-06 12:32:14 +01:00
|
|
|
ifeq ($(CONFIG_PAYLOAD_LINUX)$(CONFIG_PAYLOAD_LINUXBOOT),y)
|
2016-04-13 22:13:02 +02:00
|
|
|
ifneq ($(strip $(call strip_quotes,$(CONFIG_LINUX_COMMAND_LINE))),)
|
|
|
|
ADDITIONAL_PAYLOAD_CONFIG+=-C $(CONFIG_LINUX_COMMAND_LINE)
|
|
|
|
endif
|
|
|
|
ifneq ($(strip $(call strip_quotes,$(CONFIG_LINUX_INITRD))),)
|
2018-11-11 18:03:26 +01:00
|
|
|
ifneq ($(CONFIG_LINUXBOOT_ARM64),y)
|
2018-11-21 17:45:43 +01:00
|
|
|
ADDITIONAL_PAYLOAD_CONFIG+=-I $(CONFIG_LINUX_INITRD)$(CONFIG_LINUXBOOT_INITRAMFS_SUFFIX)
|
2018-11-11 18:03:26 +01:00
|
|
|
prebuilt-files += $(strip $(call strip_quotes,$(CONFIG_LINUX_INITRD)))
|
|
|
|
endif
|
2016-04-13 22:13:02 +02:00
|
|
|
endif
|
|
|
|
endif
|
|
|
|
ifneq ($(strip $(call strip_quotes,$(CONFIG_PAYLOAD_OPTIONS))),)
|
|
|
|
ADDITIONAL_PAYLOAD_CONFIG+=$(strip $(call strip_quotes,$(CONFIG_PAYLOAD_OPTIONS)))
|
|
|
|
endif
|
|
|
|
|
2016-05-03 09:52:12 +02:00
|
|
|
cbfs-files-y += $(CONFIG_CBFS_PREFIX)/payload
|
|
|
|
$(CONFIG_CBFS_PREFIX)/payload-file := $(CONFIG_PAYLOAD_FILE)
|
|
|
|
ifeq ($(CONFIG_PAYLOAD_IS_FLAT_BINARY),y)
|
|
|
|
$(CONFIG_CBFS_PREFIX)/payload-type := flat-binary
|
|
|
|
else
|
2018-05-16 03:05:07 +02:00
|
|
|
$(CONFIG_CBFS_PREFIX)/payload-type := payload
|
2016-05-03 09:52:12 +02:00
|
|
|
endif
|
|
|
|
$(CONFIG_CBFS_PREFIX)/payload-compression := $(CBFS_PAYLOAD_COMPRESS_FLAG)
|
|
|
|
$(CONFIG_CBFS_PREFIX)/payload-options := $(ADDITIONAL_PAYLOAD_CONFIG)
|
|
|
|
|
2015-12-17 00:09:11 +01:00
|
|
|
cbfs-files-$(CONFIG_INCLUDE_CONFIG_FILE) += payload_config
|
|
|
|
payload_config-file := $(PAYLOAD_CONFIG)
|
|
|
|
payload_config-type := raw
|
|
|
|
|
|
|
|
cbfs-files-$(CONFIG_INCLUDE_CONFIG_FILE) += payload_revision
|
|
|
|
payload_revision-file := $(PAYLOAD_VERSION)
|
|
|
|
payload_revision-type := raw
|
|
|
|
|
2017-01-08 06:43:01 +01:00
|
|
|
cbfs-files-$(CONFIG_GRUB2_INCLUDE_RUNTIME_CONFIG_FILE) += etc/grub.cfg
|
|
|
|
etc/grub.cfg-file := $(CONFIG_GRUB2_RUNTIME_CONFIG_FILE)
|
|
|
|
etc/grub.cfg-type := raw
|
|
|
|
etc/grub.cfg-required := the GRUB runtime configuration file ($(CONFIG_GRUB2_RUNTIME_CONFIG_FILE))
|
|
|
|
|
2016-10-17 18:11:10 +02:00
|
|
|
# SeaBIOS
|
|
|
|
|
2015-08-08 21:35:38 +02:00
|
|
|
SEABIOS_CC_OFFSET=$(if $(filter %ccache,$(HOSTCC)),2,1)
|
payloads/ext/Makefile.inc: Fix SeaBIOS race condition
For a very long time, SeaBIOS sometimes failed to build when using
multiple threads. This known problem has been haunting everyone for a
very long time. Until now.
Unlike most other payloads, building SeaBIOS results in two files: the
SeaBIOS payload itself and SeaVGABIOS. Each file has its own target, and
there's a third target called "seabios", which has the same recipe as
the SeaBIOS file, which calls `payloads/external/SeaBIOS/Makefile` with
a bunch of arguments. In addition, SeaVGABIOS depends on "seabios".
When executing serially, if the file of either SeaBIOS or SeaVGABIOS is
needed, the SeaBIOS Makefile will be run. This will generate both files,
so it is not necessary to run the Makefile more than once.
However, when using multiple threads, it can happen that one thread
wants to make the SeaBIOS file, while another one wants to make the
SeaVGABIOS file, which depends on "seabios". This implies that both
threads will execute the SeaBIOS Makefile at about the same time, only
to collide when performing git operations. Since git uses a lock file
when updating the index, one of the threads will fail to acquire the
lock with an error, which will ultimately cause the build to fail.
Whenever this happened, manually aborting with Ctrl-C made the build
process fail again because of the same error. The only way to get past
this problem, other than using one thread, was to let the unfinished
jobs complete. The thread that acquired the lock on the SeaBIOS git
repository would finish building SeaBIOS, so that target would not need
to be remade. When restarting the build, only the target that failed is
rebuilt, so it does not collide with any other thread.
To address this issue, make the SeaVGABIOS file target depend directly
on the SeaBIOS file instead, and remove the duplicate "seabios" target.
Change-Id: I251190d3bb27052ff474f3cd1a45022dab6fac31
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/39188
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-by: Nico Huber <nico.h@gmx.de>
2020-03-01 19:51:13 +01:00
|
|
|
payloads/external/SeaBIOS/seabios/out/bios.bin.elf: $(DOTCONFIG)
|
2016-03-16 17:39:30 +01:00
|
|
|
$(MAKE) -C payloads/external/SeaBIOS \
|
2015-07-01 02:09:17 +02:00
|
|
|
HOSTCC="$(HOSTCC)" \
|
2016-03-08 06:04:01 +01:00
|
|
|
CC=$(word $(SEABIOS_CC_OFFSET),$(CC_x86_32)) \
|
|
|
|
CFLAGS="$(patsubst $(word $(SEABIOS_CC_OFFSET),$(CC_x86_32))%,,$(wordlist $(SEABIOS_CC_OFFSET),9999,$(CC_x86_32)))" \
|
2015-07-01 02:09:17 +02:00
|
|
|
LD=$(word 1,$(LD_x86_32)) LDFLAGS="$(patsubst $(word 1,$(LD_x86_32))%,,$(LD_x86_32))" \
|
|
|
|
OBJDUMP="$(OBJDUMP_x86_32)" \
|
|
|
|
OBJCOPY="$(OBJCOPY_x86_32)" STRIP="$(STRIP_x86_32)" \
|
|
|
|
AS="$(AS_x86_32)" IASL="$(IASL)" \
|
|
|
|
CONFIG_SEABIOS_MASTER=$(CONFIG_SEABIOS_MASTER) \
|
|
|
|
CONFIG_SEABIOS_STABLE=$(CONFIG_SEABIOS_STABLE) \
|
2016-03-08 00:56:57 +01:00
|
|
|
CONFIG_SEABIOS_REVISION=$(CONFIG_SEABIOS_REVISION) \
|
|
|
|
CONFIG_SEABIOS_REVISION_ID=$(CONFIG_SEABIOS_REVISION_ID) \
|
2015-11-28 23:44:34 +01:00
|
|
|
CONFIG_PAYLOAD_CONFIGFILE=$(CONFIG_PAYLOAD_CONFIGFILE) \
|
2015-07-01 02:09:17 +02:00
|
|
|
CONFIG_SEABIOS_THREAD_OPTIONROMS=$(CONFIG_SEABIOS_THREAD_OPTIONROMS) \
|
|
|
|
CONFIG_SEABIOS_VGA_COREBOOT=$(CONFIG_SEABIOS_VGA_COREBOOT) \
|
2016-02-06 20:47:05 +01:00
|
|
|
CONFIG_DRIVERS_UART_8250IO=$(CONFIG_DRIVERS_UART_8250IO) \
|
2017-01-03 11:56:22 +01:00
|
|
|
CONFIG_DRIVERS_UART_8250MEM=$(CONFIG_DRIVERS_UART_8250MEM) \
|
|
|
|
CONFIG_HUDSON_UART=$(CONFIG_HUDSON_UART) \
|
2015-07-01 02:09:17 +02:00
|
|
|
CONFIG_CONSOLE_SERIAL=$(CONFIG_CONSOLE_SERIAL) \
|
2017-01-15 11:49:25 +01:00
|
|
|
CONFIG_TTYS0_BASE=$(CONFIG_TTYS0_BASE) \
|
2017-11-29 16:58:05 +01:00
|
|
|
CONFIG_SEABIOS_DEBUG_LEVEL=$(CONFIG_SEABIOS_DEBUG_LEVEL) \
|
|
|
|
CONFIG_DRIVERS_UART_8250MEM_32=$(CONFIG_DRIVERS_UART_8250MEM_32) \
|
|
|
|
CONFIG_ENABLE_HSUART=$(CONFIG_ENABLE_HSUART) \
|
2020-05-07 15:14:24 +02:00
|
|
|
CONFIG_CONSOLE_UART_BASE_ADDRESS=$(CONFIG_CONSOLE_UART_BASE_ADDRESS) \
|
|
|
|
CONFIG_SEABIOS_HARDWARE_IRQ=$(CONFIG_SEABIOS_HARDWARE_IRQ)
|
2015-07-01 02:09:17 +02:00
|
|
|
|
payloads/ext/Makefile.inc: Fix SeaBIOS race condition
For a very long time, SeaBIOS sometimes failed to build when using
multiple threads. This known problem has been haunting everyone for a
very long time. Until now.
Unlike most other payloads, building SeaBIOS results in two files: the
SeaBIOS payload itself and SeaVGABIOS. Each file has its own target, and
there's a third target called "seabios", which has the same recipe as
the SeaBIOS file, which calls `payloads/external/SeaBIOS/Makefile` with
a bunch of arguments. In addition, SeaVGABIOS depends on "seabios".
When executing serially, if the file of either SeaBIOS or SeaVGABIOS is
needed, the SeaBIOS Makefile will be run. This will generate both files,
so it is not necessary to run the Makefile more than once.
However, when using multiple threads, it can happen that one thread
wants to make the SeaBIOS file, while another one wants to make the
SeaVGABIOS file, which depends on "seabios". This implies that both
threads will execute the SeaBIOS Makefile at about the same time, only
to collide when performing git operations. Since git uses a lock file
when updating the index, one of the threads will fail to acquire the
lock with an error, which will ultimately cause the build to fail.
Whenever this happened, manually aborting with Ctrl-C made the build
process fail again because of the same error. The only way to get past
this problem, other than using one thread, was to let the unfinished
jobs complete. The thread that acquired the lock on the SeaBIOS git
repository would finish building SeaBIOS, so that target would not need
to be remade. When restarting the build, only the target that failed is
rebuilt, so it does not collide with any other thread.
To address this issue, make the SeaVGABIOS file target depend directly
on the SeaBIOS file instead, and remove the duplicate "seabios" target.
Change-Id: I251190d3bb27052ff474f3cd1a45022dab6fac31
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/39188
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-by: Nico Huber <nico.h@gmx.de>
2020-03-01 19:51:13 +01:00
|
|
|
payloads/external/SeaBIOS/seabios/out/vgabios.bin: payloads/external/SeaBIOS/seabios/out/bios.bin.elf
|
2016-03-08 06:04:01 +01:00
|
|
|
payloads/external/SeaBIOS/seabios/.config: payloads/external/SeaBIOS/seabios/out/bios.bin.elf
|
|
|
|
payloads/external/SeaBIOS/seabios/out/autoversion.h: payloads/external/SeaBIOS/seabios/out/bios.bin.elf
|
2015-11-30 20:00:33 +01:00
|
|
|
|
2016-06-05 18:30:34 +02:00
|
|
|
# add a SeaBIOS bootorder file
|
|
|
|
ifneq ($(strip $(CONFIG_SEABIOS_BOOTORDER_FILE)),)
|
|
|
|
cbfs-files-y += bootorder
|
|
|
|
bootorder-file := $(strip $(CONFIG_SEABIOS_BOOTORDER_FILE))
|
|
|
|
bootorder-type := raw
|
|
|
|
endif
|
|
|
|
|
2020-10-14 16:46:02 +02:00
|
|
|
ifneq ($(CONFIG_SEABIOS_PS2_TIMEOUT),)
|
|
|
|
ifneq ($(CONFIG_SEABIOS_PS2_TIMEOUT),0)
|
2021-01-13 09:15:07 +01:00
|
|
|
$(call add_intermediate, seabios_ps2_timeout, $(CBFSTOOL))
|
2020-10-14 16:46:02 +02:00
|
|
|
@printf " SeaBIOS Wait up to $(CONFIG_SEABIOS_PS2_TIMEOUT) ms for PS/2 keyboard controller initialization\n"
|
2020-12-24 12:15:38 +01:00
|
|
|
$(if $(CONFIG_UPDATE_IMAGE),-$(CBFSTOOL) $< remove -n etc/ps2-keyboard-spinup 2>/dev/null)
|
2020-10-14 16:46:02 +02:00
|
|
|
$(CBFSTOOL) $< add-int -i $(CONFIG_SEABIOS_PS2_TIMEOUT) -n etc/ps2-keyboard-spinup
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_SEABIOS_ADD_SERCON_PORT_FILE),y)
|
2021-01-13 09:15:07 +01:00
|
|
|
$(call add_intermediate, seabios_sercon, $(CBFSTOOL))
|
2020-10-14 16:46:02 +02:00
|
|
|
@printf " SeaBIOS Add sercon-port file\n"
|
2020-12-24 12:15:38 +01:00
|
|
|
$(if $(CONFIG_UPDATE_IMAGE),-$(CBFSTOOL) $< remove -n etc/sercon-port 2>/dev/null)
|
2020-11-20 18:28:38 +01:00
|
|
|
$(CBFSTOOL) $< add-int -i $(CONFIG_SEABIOS_SERCON_PORT_ADDR) -n etc/sercon-port
|
2020-10-14 16:46:02 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_SEABIOS_THREAD_OPTIONROMS),y)
|
2021-01-13 09:15:07 +01:00
|
|
|
$(call add_intermediate, seabios_thread_optionroms, $(CBFSTOOL))
|
2020-10-14 16:46:02 +02:00
|
|
|
@printf " SeaBIOS Thread optionroms\n"
|
2020-12-24 12:15:38 +01:00
|
|
|
$(if $(CONFIG_UPDATE_IMAGE),-$(CBFSTOOL) $< remove -n etc/threads 2>/dev/null)
|
2020-11-20 18:28:38 +01:00
|
|
|
$(CBFSTOOL) $< add-int -i 2 -n etc/threads
|
2020-10-14 16:46:02 +02:00
|
|
|
endif
|
|
|
|
|
2016-10-17 18:11:10 +02:00
|
|
|
# Depthcharge
|
|
|
|
|
2016-07-24 12:25:07 +02:00
|
|
|
payloads/external/depthcharge/depthcharge/build/depthcharge.elf depthcharge: $(DOTCONFIG) $(CBFSTOOL)
|
2016-03-16 17:39:30 +01:00
|
|
|
$(MAKE) -C payloads/external/depthcharge \
|
2019-09-21 02:38:59 +02:00
|
|
|
BOARD=$(BOARD) \
|
2016-12-23 00:16:48 +01:00
|
|
|
MFLAGS= MAKEFLAGS= \
|
|
|
|
DEPTHCHARGE_MASTER=$(CONFIG_DEPTHCHARGE_MASTER) \
|
|
|
|
DEPTHCHARGE_STABLE=$(CONFIG_DEPTHCHARGE_STABLE) \
|
|
|
|
DEPTHCHARGE_REVISION=$(CONFIG_DEPTHCHARGE_REVISION) \
|
2016-12-23 02:25:29 +01:00
|
|
|
DEPTHCHARGE_REVISION_ID=$(CONFIG_DEPTHCHARGE_REVISION_ID) \
|
|
|
|
OVERRIDE_DEFCONFIG=$(CONFIG_LP_DEFCONFIG_OVERRIDE)
|
2015-07-15 19:24:18 +02:00
|
|
|
|
2016-06-03 00:42:29 +02:00
|
|
|
# Tianocore
|
|
|
|
|
2022-02-04 08:41:16 +01:00
|
|
|
$(obj)/UEFIPAYLOAD.fd tianocore: $(DOTCONFIG)
|
2016-06-03 00:42:29 +02:00
|
|
|
$(MAKE) -C payloads/external/tianocore all \
|
|
|
|
HOSTCC="$(HOSTCC)" \
|
|
|
|
CC="$(HOSTCC)" \
|
2022-02-04 08:41:16 +01:00
|
|
|
CONFIG_TIANOCORE_REPOSITORY=$(CONFIG_TIANOCORE_REPOSITORY) \
|
|
|
|
CONFIG_TIANOCORE_TAG_OR_REV=$(CONFIG_TIANOCORE_TAG_OR_REV) \
|
2019-07-20 07:06:03 +02:00
|
|
|
CONFIG_TIANOCORE_UEFIPAYLOAD=$(CONFIG_TIANOCORE_UEFIPAYLOAD) \
|
2021-05-10 18:02:13 +02:00
|
|
|
CONFIG_TIANOCORE_UPSTREAM=$(CONFIG_TIANOCORE_UPSTREAM) \
|
2022-02-04 08:41:16 +01:00
|
|
|
CONFIG_TIANOCORE_COREBOOTPAYLOAD=$(CONFIG_TIANOCORE_COREBOOTPAYLOAD) \
|
|
|
|
CONFIG_TIANOCORE_DEBUG=$(CONFIG_TIANOCORE_DEBUG) \
|
|
|
|
CONFIG_TIANOCORE_RELEASE=$(CONFIG_TIANOCORE_RELEASE) \
|
2021-07-12 20:35:51 +02:00
|
|
|
CONFIG_TIANOCORE_ABOVE_4G_MEMORY=$(CONFIG_TIANOCORE_ABOVE_4G_MEMORY) \
|
2022-02-04 08:41:16 +01:00
|
|
|
CONFIG_TIANOCORE_BOOTSPLASH_FILE=$(CONFIG_TIANOCORE_BOOTSPLASH_FILE) \
|
2020-11-30 05:11:52 +01:00
|
|
|
CONFIG_TIANOCORE_BOOT_TIMEOUT=$(CONFIG_TIANOCORE_BOOT_TIMEOUT) \
|
2021-06-02 22:19:38 +02:00
|
|
|
CONFIG_TIANOCORE_CBMEM_LOGGING=$(CONFIG_TIANOCORE_CBMEM_LOGGING) \
|
2021-10-28 23:46:17 +02:00
|
|
|
CONFIG_TIANOCORE_USE_8254_TIMER=$(CONFIG_TIANOCORE_USE_8254_TIMER) \
|
2022-02-04 08:41:16 +01:00
|
|
|
CONFIG_ECAM_MMCONF_BASE_ADDRESS=$(CONFIG_ECAM_MMCONF_BASE_ADDRESS) \
|
2016-06-03 00:42:29 +02:00
|
|
|
GCC_CC_x86_32=$(GCC_CC_x86_32) \
|
|
|
|
GCC_CC_x86_64=$(GCC_CC_x86_64) \
|
|
|
|
GCC_CC_arm=$(GCC_CC_arm) \
|
|
|
|
GCC_CC_arm64=$(GCC_CC_arm64) \
|
|
|
|
OBJCOPY_x86_32=$(OBJCOPY_x86_32) \
|
|
|
|
OBJCOPY_x86_64=$(OBJCOPY_x86_64) \
|
|
|
|
OBJCOPY_arm=$(OBJCOPY_arm) \
|
|
|
|
OBJCOPY_arm64=$(OBJCOPY_arm64) \
|
|
|
|
MFLAGS= MAKEFLAGS=
|
2022-02-04 08:41:16 +01:00
|
|
|
mv payloads/external/tianocore/output/UEFIPAYLOAD.fd $@
|
2016-06-03 00:42:29 +02:00
|
|
|
|
2016-10-17 18:11:10 +02:00
|
|
|
# FILO
|
|
|
|
|
2015-07-01 02:09:17 +02:00
|
|
|
filo:
|
2016-03-16 17:39:30 +01:00
|
|
|
$(MAKE) -C payloads/external/FILO \
|
2015-07-01 02:09:17 +02:00
|
|
|
HOSTCC="$(HOSTCC)" \
|
|
|
|
CC="$(CC_x86_32)" LD="$(LD_x86_32)" OBJDUMP="$(OBJDUMP_x86_32)" \
|
|
|
|
OBJCOPY="$(OBJCOPY_x86_32)" STRIP="$(STRIP_x86_32)" \
|
|
|
|
CONFIG_FILO_MASTER=$(CONFIG_FILO_MASTER) \
|
2021-07-08 19:16:17 +02:00
|
|
|
CONFIG_FILO_STABLE=$(CONFIG_FILO_STABLE) \
|
|
|
|
CONFIG_FILO_USE_AUTOBOOT=$(CONFIG_FILO_USE_AUTOBOOT) \
|
|
|
|
CONFIG_FILO_AUTOBOOT_FILE=$(CONFIG_FILO_AUTOBOOT_FILE) \
|
|
|
|
CONFIG_FILO_AUTOBOOT_DELAY=$(CONFIG_FILO_AUTOBOOT_DELAY)
|
2015-07-01 02:09:17 +02:00
|
|
|
|
2015-12-04 16:52:18 +01:00
|
|
|
payloads/external/FILO/filo/build/filo.elf: filo
|
2016-01-14 20:41:58 +01:00
|
|
|
payloads/external/FILO/filo/.config: filo
|
|
|
|
payloads/external/FILO/filo/build/version.h: filo
|
2015-07-01 02:09:17 +02:00
|
|
|
|
2016-10-17 18:11:10 +02:00
|
|
|
# Grub
|
|
|
|
|
2017-08-14 01:58:28 +02:00
|
|
|
grub2: $(obj)/config.h
|
2016-03-16 17:39:30 +01:00
|
|
|
$(MAKE) -C payloads/external/GRUB2 \
|
2015-07-01 02:09:17 +02:00
|
|
|
HOSTCC="$(HOSTCC)" \
|
2017-08-14 01:38:24 +02:00
|
|
|
CC="$(CC_x86_32)" LD="$(LD_x86_32)" \
|
2015-07-01 02:09:17 +02:00
|
|
|
OBJCOPY="$(OBJCOPY_x86_32)" STRIP="$(STRIP_x86_32)" \
|
2017-08-14 01:58:28 +02:00
|
|
|
CONFIG_DEP="$(abspath $(obj)/config.h)" \
|
2017-11-20 01:56:41 +01:00
|
|
|
CONFIG_GRUB2_STABLE=$(CONFIG_GRUB2_STABLE) \
|
2016-06-15 21:08:06 +02:00
|
|
|
CONFIG_GRUB2_MASTER=$(CONFIG_GRUB2_MASTER) \
|
2016-09-14 14:41:36 +02:00
|
|
|
CONFIG_GRUB2_REVISION=$(CONFIG_GRUB2_REVISION) \
|
|
|
|
CONFIG_GRUB2_REVISION_ID=$(CONFIG_GRUB2_REVISION_ID) \
|
2016-06-15 21:08:06 +02:00
|
|
|
CONFIG_GRUB2_EXTRA_MODULES=$(CONFIG_GRUB2_EXTRA_MODULES)
|
2015-12-04 16:52:18 +01:00
|
|
|
|
|
|
|
payloads/external/GRUB2/grub2/build/default_payload.elf: grub2
|
2015-12-11 20:24:33 +01:00
|
|
|
|
2016-10-17 18:11:10 +02:00
|
|
|
# U-Boot
|
|
|
|
|
2021-12-11 10:37:57 +01:00
|
|
|
payloads/external/U-Boot/build/u-boot.bin u-boot: $(DOTCONFIG)
|
2016-03-16 17:39:30 +01:00
|
|
|
$(MAKE) -C payloads/external/U-Boot \
|
2021-12-11 10:37:57 +01:00
|
|
|
STABLE_COMMIT_ID=$(CONFIG_UBOOT_STABLE_COMMIT_ID) \
|
2015-12-11 20:24:33 +01:00
|
|
|
CONFIG_UBOOT_MASTER=$(CONFIG_UBOOT_MASTER) \
|
|
|
|
CONFIG_UBOOT_STABLE=$(CONFIG_UBOOT_STABLE)
|
2016-02-29 00:56:27 +01:00
|
|
|
|
2016-10-17 18:11:10 +02:00
|
|
|
# TINT
|
|
|
|
|
2016-05-27 23:44:47 +02:00
|
|
|
payloads/external/tint/tint/tint.elf tint:
|
|
|
|
$(MAKE) -C payloads/external/tint
|
|
|
|
|
2016-10-17 18:11:10 +02:00
|
|
|
cbfs-files-$(CONFIG_TINT_SECONDARY_PAYLOAD) += img/tint
|
|
|
|
img/tint-file := payloads/external/tint/tint/tint.elf
|
2018-05-16 03:05:07 +02:00
|
|
|
img/tint-type := payload
|
2018-02-07 13:01:43 +01:00
|
|
|
img/tint-compression := $(CBFS_SECONDARY_PAYLOAD_COMPRESS_FLAG)
|
2016-10-17 18:11:10 +02:00
|
|
|
|
|
|
|
# Memtest86+
|
|
|
|
|
2016-02-29 00:56:27 +01:00
|
|
|
cbfs-files-$(CONFIG_MEMTEST_SECONDARY_PAYLOAD) += img/memtest
|
|
|
|
img/memtest-file := payloads/external/Memtest86Plus/memtest86plus/memtest
|
2018-05-16 03:05:07 +02:00
|
|
|
img/memtest-type := payload
|
2018-02-07 13:01:43 +01:00
|
|
|
img/memtest-compression := $(CBFS_SECONDARY_PAYLOAD_COMPRESS_FLAG)
|
2016-02-29 00:56:27 +01:00
|
|
|
|
|
|
|
ifeq ($(CONFIG_CONSOLE_SERIAL)$(CONFIG_DRIVERS_UART_8250IO),yy)
|
|
|
|
MEMTEST_SERIAL_OPTIONS=SERIAL_CONSOLE_DEFAULT=1 \
|
|
|
|
SERIAL_TTY=$(CONFIG_UART_FOR_CONSOLE) \
|
|
|
|
SERIAL_BAUD_RATE=$(CONFIG_TTYS0_BAUD)
|
|
|
|
endif
|
|
|
|
|
2016-07-24 12:25:07 +02:00
|
|
|
payloads/external/Memtest86Plus/memtest86plus/memtest: $(DOTCONFIG)
|
2016-03-16 17:39:30 +01:00
|
|
|
$(MAKE) -C payloads/external/Memtest86Plus all \
|
2016-02-29 00:56:27 +01:00
|
|
|
CC="$(CC_x86_32)" \
|
|
|
|
LD="$(LD_x86_32)" \
|
|
|
|
OBJCOPY="$(OBJCOPY_x86_32)" \
|
|
|
|
AS="$(AS_x86_32)" \
|
2018-08-19 17:48:53 +02:00
|
|
|
CONFIG_MEMTEST_REVISION=$(CONFIG_MEMTEST_REVISION) \
|
|
|
|
CONFIG_MEMTEST_REVISION_ID=$(CONFIG_MEMTEST_REVISION_ID) \
|
2016-04-26 17:51:41 +02:00
|
|
|
CONFIG_MEMTEST_MASTER=$(CONFIG_MEMTEST_MASTER) \
|
|
|
|
CONFIG_MEMTEST_STABLE=$(CONFIG_MEMTEST_STABLE) \
|
2016-02-29 00:56:27 +01:00
|
|
|
$(MEMTEST_SERIAL_OPTIONS) \
|
|
|
|
MFLAGS= MAKEFLAGS=
|
2016-03-13 20:00:43 +01:00
|
|
|
|
2016-10-17 18:11:10 +02:00
|
|
|
# iPXE
|
|
|
|
|
2016-03-13 20:00:43 +01:00
|
|
|
PXE_ROM_PCI_ID:=$(subst $(comma),,$(CONFIG_PXE_ROM_ID))
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_PXE_ROM),y)
|
|
|
|
PXE_ROM_FILE:=$(CONFIG_PXE_ROM_FILE)
|
|
|
|
endif
|
|
|
|
ifeq ($(CONFIG_BUILD_IPXE),y)
|
|
|
|
PXE_ROM_FILE:=payloads/external/iPXE/ipxe/ipxe.rom
|
|
|
|
endif
|
2017-07-25 19:36:25 +02:00
|
|
|
ifeq ($(CONFIG_PXE_ADD_SCRIPT),y)
|
|
|
|
PXE_CONFIG_SCRIPT:=$(abspath $(patsubst "%",%,$(CONFIG_PXE_SCRIPT)))
|
|
|
|
endif
|
2016-03-13 20:00:43 +01:00
|
|
|
ifeq ($(CONFIG_CONSOLE_SERIAL)$(CONFIG_DRIVERS_UART_8250IO),yy)
|
|
|
|
IPXE_UART=COM$(call int-add,$(CONFIG_UART_FOR_CONSOLE) 1)
|
|
|
|
endif
|
|
|
|
|
2018-06-26 13:12:49 +02:00
|
|
|
ifeq ($(CONFIG_PXE_SERIAL_CONSOLE),y)
|
|
|
|
IPXE_SERIAL_CONSOLE = $(CONFIG_CONSOLE_SERIAL)$(CONFIG_DRIVERS_UART_8250IO)
|
|
|
|
else
|
|
|
|
IPXE_SERIAL_CONSOLE = n
|
|
|
|
endif
|
|
|
|
|
2016-03-13 20:00:43 +01:00
|
|
|
cbfs-files-$(CONFIG_PXE_ROM)$(CONFIG_BUILD_IPXE) += pci$(CONFIG_PXE_ROM_ID).rom
|
|
|
|
pci$(CONFIG_PXE_ROM_ID).rom-file := $(PXE_ROM_FILE)
|
|
|
|
pci$(CONFIG_PXE_ROM_ID).rom-type := raw
|
|
|
|
|
2017-07-25 19:36:25 +02:00
|
|
|
payloads/external/iPXE/ipxe/ipxe.rom ipxe: $(DOTCONFIG) $(PXE_CONFIG_SCRIPT)
|
2016-03-13 20:00:43 +01:00
|
|
|
$(MAKE) -C payloads/external/iPXE all \
|
|
|
|
CROSS_COMPILE="$(CROSS_COMPILE_$(ARCH-ramstage-y))" \
|
|
|
|
PXE_ROM_PCI_ID=$(PXE_ROM_PCI_ID) \
|
|
|
|
CONFIG_IPXE_MASTER=$(CONFIG_IPXE_MASTER) \
|
|
|
|
CONFIG_IPXE_STABLE=$(CONFIG_IPXE_STABLE) \
|
2018-06-26 13:12:49 +02:00
|
|
|
CONSOLE_SERIAL=$(IPXE_SERIAL_CONSOLE) \
|
2016-03-13 20:00:43 +01:00
|
|
|
IPXE_UART=$(IPXE_UART) \
|
|
|
|
CONFIG_TTYS0_BAUD=$(CONFIG_TTYS0_BAUD) \
|
2017-07-25 19:36:25 +02:00
|
|
|
CONFIG_SCRIPT=$(PXE_CONFIG_SCRIPT) \
|
|
|
|
CONFIG_HAS_SCRIPT=$(CONFIG_PXE_ADD_SCRIPT) \
|
2020-05-28 23:40:24 +02:00
|
|
|
CONFIG_PXE_NO_PROMPT=$(CONFIG_PXE_NO_PROMPT) \
|
2019-01-25 03:44:20 +01:00
|
|
|
CONFIG_PXE_HAS_HTTPS=$(CONFIG_PXE_HAS_HTTPS) \
|
2016-03-13 20:00:43 +01:00
|
|
|
MFLAGS= MAKEFLAGS=
|
2018-06-19 20:22:32 +02:00
|
|
|
|
|
|
|
# LinuxBoot
|
|
|
|
|
|
|
|
linuxboot:
|
|
|
|
$(MAKE) -C payloads/external/LinuxBoot \
|
|
|
|
CPUS=$(CPUS) \
|
2018-12-05 08:45:26 +01:00
|
|
|
CONFIG_LINUXBOOT_X86_64=$(CONFIG_LINUXBOOT_X86_64) \
|
|
|
|
CONFIG_LINUXBOOT_X86=$(CONFIG_LINUXBOOT_X86) \
|
|
|
|
CONFIG_LINUXBOOT_ARM64=$(CONFIG_LINUXBOOT_ARM64) \
|
2018-11-11 18:03:26 +01:00
|
|
|
CONFIG_LINUXBOOT_KERNEL=$(CONFIG_PAYLOAD_FILE) \
|
|
|
|
CONFIG_LINUXBOOT_INITRAMFS=$(CONFIG_LINUX_INITRD) \
|
2018-11-21 17:45:43 +01:00
|
|
|
CONFIG_LINUXBOOT_INITRAMFS_SUFFIX=$(CONFIG_LINUXBOOT_INITRAMFS_SUFFIX) \
|
2018-11-11 18:03:26 +01:00
|
|
|
CONFIG_LINUXBOOT_COMPILE_KERNEL=$(CONFIG_LINUXBOOT_COMPILE_KERNEL) \
|
|
|
|
CONFIG_LINUXBOOT_BUILD_INITRAMFS=$(CONFIG_LINUXBOOT_BUILD_INITRAMFS) \
|
2018-12-05 08:45:26 +01:00
|
|
|
CONFIG_LINUXBOOT_KERNEL_MAINLINE=$(CONFIG_LINUXBOOT_KERNEL_MAINLINE) \
|
|
|
|
CONFIG_LINUXBOOT_KERNEL_STABLE=$(CONFIG_LINUXBOOT_KERNEL_STABLE) \
|
|
|
|
CONFIG_LINUXBOOT_KERNEL_LONGTERM=$(CONFIG_LINUXBOOT_KERNEL_LONGTERM) \
|
|
|
|
CONFIG_LINUXBOOT_KERNEL_CUSTOM=$(CONFIG_LINUXBOOT_KERNEL_CUSTOM) \
|
|
|
|
CONFIG_LINUXBOOT_KERNEL_CUSTOM_VERSION=$(CONFIG_LINUXBOOT_KERNEL_CUSTOM_VERSION) \
|
|
|
|
CONFIG_LINUXBOOT_KERNEL_CUSTOM_CONFIG=$(CONFIG_LINUXBOOT_KERNEL_CUSTOM_CONFIG) \
|
|
|
|
CONFIG_LINUXBOOT_KERNEL_BZIMAGE=$(CONFIG_LINUXBOOT_KERNEL_BZIMAGE) \
|
|
|
|
CONFIG_LINUXBOOT_KERNEL_UIMAGE=$(CONFIG_LINUXBOOT_KERNEL_UIMAGE) \
|
2018-06-19 20:22:32 +02:00
|
|
|
CONFIG_LINUXBOOT_KERNEL_CONFIGFILE=$(CONFIG_LINUXBOOT_KERNEL_CONFIGFILE) \
|
2018-11-21 17:45:43 +01:00
|
|
|
CONFIG_LINUXBOOT_INITRAMFS_COMPRESSION_XZ=$(CONFIG_LINUXBOOT_INITRAMFS_COMPRESSION_XZ) \
|
2018-11-11 18:03:26 +01:00
|
|
|
CONFIG_LINUXBOOT_UROOT=$(CONFIG_LINUXBOOT_UROOT) \
|
2018-06-19 20:22:32 +02:00
|
|
|
CONFIG_LINUXBOOT_UROOT_VERSION=$(CONFIG_LINUXBOOT_UROOT_VERSION) \
|
2018-11-21 17:45:43 +01:00
|
|
|
CONFIG_LINUXBOOT_UROOT_FORMAT=$(CONFIG_LINUXBOOT_UROOT_FORMAT) \
|
|
|
|
CONFIG_LINUXBOOT_UROOT_INITCMD=$(CONFIG_LINUXBOOT_UROOT_INITCMD) \
|
|
|
|
CONFIG_LINUXBOOT_UROOT_SHELL=$(CONFIG_LINUXBOOT_UROOT_SHELL) \
|
2018-08-09 04:16:55 +02:00
|
|
|
CONFIG_LINUXBOOT_UROOT_COMMANDS=$(CONFIG_LINUXBOOT_UROOT_COMMANDS) \
|
2018-03-13 11:22:26 +01:00
|
|
|
CONFIG_LINUXBOOT_UROOT_FILES=$(CONFIG_LINUXBOOT_UROOT_FILES) \
|
2018-11-11 18:03:26 +01:00
|
|
|
CONFIG_LINUXBOOT_DTB_FILE=$(CONFIG_LINUXBOOT_DTB_FILE)
|
2018-03-13 11:22:26 +01:00
|
|
|
|
2018-11-11 18:03:26 +01:00
|
|
|
payloads/external/LinuxBoot/linuxboot/bzImage: linuxboot
|
|
|
|
payloads/external/LinuxBoot/linuxboot/uImage: linuxboot
|
2018-11-21 17:45:43 +01:00
|
|
|
payloads/external/LinuxBoot/linuxboot/initramfs_u-root.cpio: linuxboot
|
2018-06-19 20:22:32 +02:00
|
|
|
|
2018-11-11 18:03:26 +01:00
|
|
|
# Yabits
|
2018-09-13 12:06:39 +02:00
|
|
|
|
|
|
|
payloads/external/Yabits/uefi/build/uefi.elf yabits:
|
|
|
|
$(MAKE) -C payloads/external/Yabits all \
|
2019-07-24 20:17:14 +02:00
|
|
|
XGCCPATH="$(XGCCPATH)" \
|
2018-09-13 12:06:39 +02:00
|
|
|
CONFIG_YABITS_REVISION=$(CONFIG_YABITS_REVISION) \
|
|
|
|
CONFIG_YABITS_REVISION_ID=$(CONFIG_YABITS_REVISION_ID) \
|
|
|
|
CONFIG_YABITS_MASTER=$(CONFIG_YABITS_MASTER) \
|
|
|
|
CONFIG_YABITS_STABLE=$(CONFIG_YABITS_STABLE) \
|
|
|
|
MFLAGS= MAKEFLAGS=
|
2020-09-17 19:45:21 +02:00
|
|
|
|
|
|
|
# BOOTBOOT
|
|
|
|
|
|
|
|
payloads/external/BOOTBOOT/bootboot/dist/bootbootcb.elf:
|
|
|
|
$(MAKE) -C payloads/external/BOOTBOOT all
|
2021-10-26 23:23:14 +02:00
|
|
|
|
|
|
|
# skiboot
|
|
|
|
|
|
|
|
payloads/external/skiboot/build/skiboot.elf:
|
|
|
|
$(MAKE) -C payloads/external/skiboot all \
|
|
|
|
CONFIG_SKIBOOT_GIT_REPO=$(CONFIG_SKIBOOT_GIT_REPO) \
|
|
|
|
CONFIG_SKIBOOT_REVISION=$(CONFIG_SKIBOOT_REVISION)
|