payloads/Yabits: Remove deprecated Yabits Payload
Yabits is no longer maintained and git repo is archived. Yabits has not been maintained for a long time, the project is apparently closed. Change-Id: Ida0bb79342448510d2c309339fabbe8066eca73c Signed-off-by: Elias Souza <eliascontato@protonmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/72463 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Singer <felixsinger@posteo.net>
This commit is contained in:
parent
c013fa6234
commit
718a7ae62d
|
@ -88,7 +88,7 @@ across architectures.
|
|||
While we have a rather big set of payloads for x86 based platforms, all other
|
||||
architectures are rather limited. Improve the situation by porting a payload
|
||||
to one of the platforms, for example GRUB2, U-Boot (the UI part), edk2,
|
||||
yabits, FILO, or Linux-as-Payload.
|
||||
FILO, or Linux-as-Payload.
|
||||
|
||||
Since this is a bit of a catch-all idea, an application to GSoC should pick a
|
||||
combination of payload and architecture to support.
|
||||
|
|
|
@ -24,7 +24,7 @@ Significant or interesting changes
|
|||
|
||||
### Add changes that need a full description here
|
||||
|
||||
|
||||
* Remove Yabits payload, Yabits project is deprecated and archived.
|
||||
|
||||
Additional coreboot changes
|
||||
---------------------------
|
||||
|
|
|
@ -27,7 +27,6 @@ payloads/external/tint \
|
|||
payloads/external/edk2 \
|
||||
payloads/external/GRUB2 \
|
||||
payloads/external/LinuxBoot \
|
||||
payloads/external/Yabits \
|
||||
payloads/external/skiboot \
|
||||
payloads/external/coreDOOM \
|
||||
|
||||
|
|
|
@ -399,17 +399,6 @@ payloads/external/LinuxBoot/linuxboot/bzImage: linuxboot
|
|||
payloads/external/LinuxBoot/linuxboot/uImage: linuxboot
|
||||
payloads/external/LinuxBoot/linuxboot/initramfs_u-root.cpio: linuxboot
|
||||
|
||||
# Yabits
|
||||
|
||||
payloads/external/Yabits/uefi/build/uefi.elf yabits:
|
||||
$(MAKE) -C payloads/external/Yabits all \
|
||||
XGCCPATH="$(XGCCPATH)" \
|
||||
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=
|
||||
|
||||
# BOOTBOOT
|
||||
|
||||
payloads/external/BOOTBOOT/bootboot/dist/bootbootcb.elf:
|
||||
|
|
|
@ -1,47 +0,0 @@
|
|||
if PAYLOAD_YABITS
|
||||
|
||||
choice
|
||||
prompt "Yabits version"
|
||||
default YABITS_STABLE
|
||||
|
||||
config YABITS_STABLE
|
||||
bool "Stable"
|
||||
help
|
||||
Stable Yabits version.
|
||||
|
||||
For reproducible builds, this option must be selected.
|
||||
|
||||
config YABITS_MASTER
|
||||
bool "Master"
|
||||
help
|
||||
Newest version.
|
||||
|
||||
This option will fetch the newest version of the Yabits code,
|
||||
updating as new changes are committed. This makes the build
|
||||
non-reproducible, as it can fetch different code each time.
|
||||
|
||||
config YABITS_REVISION
|
||||
bool "git revision"
|
||||
help
|
||||
Select this option if you have a specific commit or branch
|
||||
that you want to use as the revision from which to
|
||||
build Yabits. Using a branch name makes the build
|
||||
non-reproducible, as it can fetch different code as the
|
||||
branch changes.
|
||||
|
||||
You will be able to specify the name of a branch or a commit id
|
||||
later.
|
||||
|
||||
endchoice
|
||||
|
||||
config YABITS_REVISION_ID
|
||||
string "Insert a commit's SHA-1 or a branch name"
|
||||
depends on YABITS_REVISION
|
||||
default "origin/master"
|
||||
help
|
||||
The commit's SHA-1 or branch name of the revision to use.
|
||||
|
||||
config PAYLOAD_FILE
|
||||
default "payloads/external/Yabits/uefi/build/uefi.elf"
|
||||
|
||||
endif
|
|
@ -1,11 +0,0 @@
|
|||
config PAYLOAD_YABITS
|
||||
bool "Yabits - Yet another UEFI Bootloader (Under Development)"
|
||||
depends on ARCH_X86
|
||||
help
|
||||
Yabits - yabits.github.io
|
||||
yabits is a pure UEFI coreboot payload. Compared with
|
||||
TianoCore, it is fast and lightweight. yabits is based on the
|
||||
part of Minoca OS. It can run GRUB2, Linux, OpenBSD, and other
|
||||
UEFI applications.
|
||||
|
||||
It is still under the development and not ready for production.
|
|
@ -1,56 +0,0 @@
|
|||
## SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
TAG-$(CONFIG_YABITS_MASTER)=origin/master
|
||||
NAME-$(CONFIG_YABITS_MASTER)=Master
|
||||
TAG-$(CONFIG_YABITS_STABLE)=d25abb067431dee9af9f8a874a209730ab7f0e91
|
||||
NAME-$(CONFIG_YABITS_STABLE)=Stable
|
||||
TAG-$(CONFIG_YABITS_REVISION)=$(CONFIG_YABITS_REVISION_ID)
|
||||
|
||||
project_name=Yabits
|
||||
project_dir=$(CURDIR)/uefi
|
||||
project_git_repo=https://github.com/yabits/uefi.git
|
||||
LIBCONFIG_PATH="../../../libpayload"
|
||||
|
||||
all: build
|
||||
|
||||
$(project_dir):
|
||||
echo " Cloning $(project_name) from Git"
|
||||
git clone $(project_git_repo) $(project_dir)
|
||||
|
||||
fetch: $(project_dir)
|
||||
ifeq ($(TAG-y),)
|
||||
echo "Error: The specified tag is invalid"
|
||||
ifeq ($(CONFIG_YABITS_REVISION),y)
|
||||
echo "Error: There is no revision specified for $(project_name)"
|
||||
false
|
||||
endif
|
||||
false
|
||||
endif
|
||||
-cd $(project_dir); git show $(TAG-y) >/dev/null 2>&1 ; \
|
||||
if [ $$? -ne 0 ] || [ "$(TAG-y)" = "origin/master" ]; then \
|
||||
echo " Fetching new commits from the $(project_name) git repo"; \
|
||||
git fetch; fi
|
||||
|
||||
checkout: fetch
|
||||
echo " Checking out $(project_name) revision $(NAME-y) ($(TAG-y))"
|
||||
cd $(project_dir); \
|
||||
git checkout master; \
|
||||
git branch -D coreboot 2>/dev/null; \
|
||||
git checkout -b coreboot $(TAG-y)
|
||||
|
||||
build: checkout
|
||||
echo " MAKE $(project_name) $(NAME-y)"
|
||||
$(if $(wildcard uefi/.xcompile),,$(shell bash ../../../util/xcompile/xcompile > uefi/.xcompile))
|
||||
$(MAKE) -C $(project_dir) defconfig LIBCONFIG_PATH=$(LIBCONFIG_PATH) XGCC=$(XGCCPATH)
|
||||
$(MAKE) -C $(project_dir) all LIBCONFIG_PATH=$(LIBCONFIG_PATH) XGCC=$(XGCCPATH)
|
||||
|
||||
clean:
|
||||
test -d $(project_dir) && $(MAKE) -C $(project_dir) clean LIBCONFIG_PATH=$(LIBCONFIG_PATH) XGCC=$(XGCCPATH) || exit 0
|
||||
|
||||
distclean:
|
||||
rm -rf $(project_dir)
|
||||
|
||||
print-repo-info:
|
||||
echo "$(project_git_repo) $(project_dir)"
|
||||
|
||||
.PHONY: all build checkout clean distclean fetch print-repo-info
|
|
@ -41,7 +41,7 @@ config SBOM_PAYLOAD
|
|||
|
||||
config SBOM_PAYLOAD_GENERATE
|
||||
bool "Auto-generate generic SBOM info for payload"
|
||||
depends on SBOM_PAYLOAD && (PAYLOAD_BOOTBOOT || PAYLOAD_DEPTHCHARGE || PAYLOAD_FILO || PAYLOAD_GRUB2 || PAYLOAD_LINUXBOOT || PAYLOAD_SEABIOS || PAYLOAD_SKIBOOT || PAYLOAD_UBOOT || PAYLOAD_YABITS)
|
||||
depends on SBOM_PAYLOAD && (PAYLOAD_BOOTBOOT || PAYLOAD_DEPTHCHARGE || PAYLOAD_FILO || PAYLOAD_GRUB2 || PAYLOAD_LINUXBOOT || PAYLOAD_SEABIOS || PAYLOAD_SKIBOOT || PAYLOAD_UBOOT)
|
||||
default y
|
||||
help
|
||||
Select this option if you want coreboot to generate and include
|
||||
|
|
|
@ -8,7 +8,6 @@ payload-LinuxBoot: uuidgen --name linuxboot --namespace "6ba7b810-9dad-
|
|||
payload-SeaBIOS: uuidgen --name seabios --namespace "6ba7b810-9dad-11d1-80b4-00c04fd430c8" --sha1
|
||||
payload-skiboot: uuidgen --name skiboot --namespace "6ba7b810-9dad-11d1-80b4-00c04fd430c8" --sha1
|
||||
payload-U-Boot: uuidgen --name uboot --namespace "6ba7b810-9dad-11d1-80b4-00c04fd430c8" --sha1
|
||||
payload-Yabits: uuidgen --name yabits --namespace "6ba7b810-9dad-11d1-80b4-00c04fd430c8" --sha1
|
||||
coreboot: uuidgen --name coreboot --namespace "6ba7b810-9dad-11d1-80b4-00c04fd430c8" --sha1
|
||||
generic-ec: uuidgen --name generic-ec --namespace "6ba7b810-9dad-11d1-80b4-00c04fd430c8" --sha1
|
||||
intel-me: uuidgen --name intel-me --namespace "6ba7b810-9dad-11d1-80b4-00c04fd430c8" --sha1
|
||||
|
|
Loading…
Reference in New Issue