:: commit 9cf7816949f153806d16601f1f8ce4ca1e610d1f

Mintsuki <mintsuki@protonmail.com> — 2025-08-20 06:00

parents: 16fac58206

build: Update repository links and adjustments for PicoEFI rebrand

diff --git a/.gitignore b/.gitignore
index 084fab6d..5fa11c20 100644
--- a/.gitignore
+++ b/.gitignore
@@ -25,7 +25,7 @@
 /bin
 /build
 /limine-protocol
-/nyu-efi
+/picoefi
 /freestnd-c-hdrs
 /flanterm
 /common/lib/stb_image.h.nopatch
diff --git a/3RDPARTY.md b/3RDPARTY.md
index cec8bc1d..9e413b7b 100644
--- a/3RDPARTY.md
+++ b/3RDPARTY.md
@@ -19,18 +19,18 @@ that Limine is distributed under:
 A non-binding, informal summary of all projects Limine depends on, and the
 licenses used by said projects, in SPDX format, is as follows:
 
-- [cc-runtime](https://codeberg.org/osdev/cc-runtime)
+- [cc-runtime](https://github.com/osdev0/cc-runtime)
 (Apache-2.0 WITH LLVM-exception) is used to provide runtime libgcc-like
 routines.
 
-- [0BSD Freestanding C Headers](https://codeberg.org/osdev/freestnd-c-hdrs-0bsd)
+- [0BSD Freestanding C Headers](https://github.com/osdev0/freestnd-c-hdrs-0bsd)
 (0BSD) provide GCC and Clang compatible freestanding C headers.
 
 - [Limine Boot Protocol](https://github.com/limine-bootloader/limine-protocol)
 (0BSD) has the C/C++ header and the specification text of the Limine Boot
 Protocol.
 
-- [Nyu-EFI](https://codeberg.org/osdev/nyu-efi) (multiple licenses, see list
+- [PicoEFI](https://github.com/PicoEFI/PicoEFI) (multiple licenses, see list
 below) provides headers and build-time support for UEFI.
     - BSD-2-Clause
     - BSD-2-Clause-Patent
@@ -40,7 +40,7 @@ below) provides headers and build-time support for UEFI.
 
     For more information about the
     LicenseRef-scancode-bsd-no-disclaimer-unmodified license used by parts of
-    Nyu-EFI, see
+    PicoEFI, see
     https://scancode-licensedb.aboutcode.org/bsd-no-disclaimer-unmodified.html
     and the LicenseRef file
     [here](LICENSES/LicenseRef-scancode-bsd-no-disclaimer-unmodified.txt),
@@ -52,13 +52,13 @@ below) provides headers and build-time support for UEFI.
 - [tinf](https://github.com/jibsen/tinf) (Zlib) is used in early x86 BIOS
 stages for GZIP decompression of stage2.
 
-- [Flanterm](https://codeberg.org/mintsuki/flanterm) (BSD-2-Clause) is used for
+- [Flanterm](https://github.com/mintsuki/flanterm) (BSD-2-Clause) is used for
 text related screen drawing.
 
 - [stb_image](https://github.com/nothings/stb/blob/master/stb_image.h) (MIT) is
 used for wallpaper image loading.
 
-- [libfdt](https://codeberg.org/osdev/libfdt) (BSD-2-Clause) is used for
+- [libfdt](https://github.com/osdev0/libfdt) (BSD-2-Clause) is used for
 manipulating Flat Device Trees.
 
 Note that some of these projects, or parts of them, are provided under
diff --git a/GNUmakefile.in b/GNUmakefile.in
index df44acb8..09b489a8 100644
--- a/GNUmakefile.in
+++ b/GNUmakefile.in
@@ -304,8 +304,8 @@ dist:
 	rm -rf '$(call SHESCAPE,$(BUILDDIR))'/"$(DIST_OUTPUT)/flanterm/.gitignore"
 	rm -rf '$(call SHESCAPE,$(BUILDDIR))'/"$(DIST_OUTPUT)/freestnd-c-hdrs/.git"
 	rm -rf '$(call SHESCAPE,$(BUILDDIR))'/"$(DIST_OUTPUT)/limine-protocol/.git"
-	rm -rf '$(call SHESCAPE,$(BUILDDIR))'/"$(DIST_OUTPUT)/nyu-efi/.git"
-	rm -rf '$(call SHESCAPE,$(BUILDDIR))'/"$(DIST_OUTPUT)/nyu-efi/.gitignore"
+	rm -rf '$(call SHESCAPE,$(BUILDDIR))'/"$(DIST_OUTPUT)/picoefi/.git"
+	rm -rf '$(call SHESCAPE,$(BUILDDIR))'/"$(DIST_OUTPUT)/picoefi/.gitignore"
 	rm -rf '$(call SHESCAPE,$(BUILDDIR))'/"$(DIST_OUTPUT)/cc-runtime"
 	rm -rf '$(call SHESCAPE,$(BUILDDIR))'/"$(DIST_OUTPUT)/libfdt/.git"
 	rm -rf '$(call SHESCAPE,$(BUILDDIR))'/"$(DIST_OUTPUT)/tinf"
@@ -336,7 +336,7 @@ distclean: clean
 
 .PHONY: maintainer-clean
 maintainer-clean: distclean
-	cd '$(call SHESCAPE,$(SRCDIR))' && rm -rf flanterm common/lib/stb_image.h.nopatch common/lib/stb_image.h decompressor/tinf tinf libfdt freestnd-c-hdrs cc-runtime common/cc-runtime.s2.c decompressor/cc-runtime.c limine-protocol nyu-efi configure timestamps build-aux *'~' autom4te.cache aclocal.m4 *.tar*
+	cd '$(call SHESCAPE,$(SRCDIR))' && rm -rf flanterm common/lib/stb_image.h.nopatch common/lib/stb_image.h decompressor/tinf tinf libfdt freestnd-c-hdrs cc-runtime common/cc-runtime.s2.c decompressor/cc-runtime.c limine-protocol picoefi configure timestamps build-aux *'~' autom4te.cache aclocal.m4 *.tar*
 
 .PHONY: common-uefi-x86-64
 common-uefi-x86-64:
diff --git a/bootstrap b/bootstrap
index 4e88d3ce..43f14ee1 100755
--- a/bootstrap
+++ b/bootstrap
@@ -71,12 +71,12 @@ download_by_hash() {
 
 if ! test -f version; then
     clone_repo_commit \
-        https://codeberg.org/osdev/freestnd-c-hdrs-0bsd.git \
+        https://github.com/osdev0/freestnd-c-hdrs-0bsd.git \
         freestnd-c-hdrs \
         5e4e9e70278fe89ea328d359a58aff4f4a94b165
 
     clone_repo_commit \
-        https://codeberg.org/osdev/cc-runtime.git \
+        https://github.com/osdev0/cc-runtime.git \
         cc-runtime \
         dae79833b57a01b9fd3e359ee31def69f5ae899b
     cp cc-runtime/src/cc-runtime.c common/cc-runtime.s2.c
@@ -88,9 +88,9 @@ if ! test -f version; then
         fedf97facd1c473ee8720f8dfd5a71d03490d928
 
     clone_repo_commit \
-        https://codeberg.org/osdev/nyu-efi.git \
-        nyu-efi \
-        2307e1e06c51023285ceac4b41bfdd44d746df8b
+        https://github.com/PicoEFI/PicoEFI.git \
+        picoefi \
+        2690f9a67db1ad05315c044d7ba51d72b6a6ccc3
 
     clone_repo_commit \
         https://github.com/jibsen/tinf.git \
@@ -102,7 +102,7 @@ if ! test -f version; then
     rm -f decompressor/tinf/*.orig
 
     clone_repo_commit \
-        https://codeberg.org/mintsuki/flanterm.git \
+        https://github.com/mintsuki/flanterm.git \
         flanterm \
         fa3ee697b4a9d0a506e5249a791ae2f830a0bf4c
 
@@ -115,7 +115,7 @@ if ! test -f version; then
     rm -f common/lib/stb_image.h.orig
 
     clone_repo_commit \
-        https://codeberg.org/osdev/libfdt.git \
+        https://github.com/osdev0/libfdt.git \
         libfdt \
         7bf94e6347129d17eca263112296ad170dec28a9
 fi
diff --git a/common/common.mk b/common/common.mk
index b5041805..b3d4f49c 100644
--- a/common/common.mk
+++ b/common/common.mk
@@ -106,7 +106,7 @@ ifeq ($(TARGET),uefi-x86-64)
         -mno-sse2 \
         -mno-red-zone
     override CPPFLAGS_FOR_TARGET := \
-        -I ../nyu-efi/inc \
+        -I ../picoefi/inc \
         $(CPPFLAGS_FOR_TARGET) \
         -DUEFI
     override NASMFLAGS_FOR_TARGET := \
@@ -130,7 +130,7 @@ ifeq ($(TARGET),uefi-ia32)
         -mno-80387 \
         -mno-mmx
     override CPPFLAGS_FOR_TARGET := \
-        -I ../nyu-efi/inc \
+        -I ../picoefi/inc \
         $(CPPFLAGS_FOR_TARGET) \
         -DUEFI
     override NASMFLAGS_FOR_TARGET := \
@@ -152,7 +152,7 @@ ifeq ($(TARGET),uefi-aarch64)
         -march=armv8-a+nofp+nosimd \
         -mgeneral-regs-only
     override CPPFLAGS_FOR_TARGET := \
-        -I ../nyu-efi/inc \
+        -I ../picoefi/inc \
         $(CPPFLAGS_FOR_TARGET) \
         -DUEFI
 endif
@@ -175,7 +175,7 @@ ifeq ($(TARGET),uefi-riscv64)
         -mno-relax
 
     override CPPFLAGS_FOR_TARGET := \
-        -I ../nyu-efi/inc \
+        -I ../picoefi/inc \
         $(CPPFLAGS_FOR_TARGET) \
         -DUEFI
 endif
@@ -194,7 +194,7 @@ ifeq ($(TARGET),uefi-loongarch64)
         -msimd=none
 
     override CPPFLAGS_FOR_TARGET := \
-        -I ../nyu-efi/inc \
+        -I ../picoefi/inc \
         $(CPPFLAGS_FOR_TARGET) \
         -DUEFI
 endif
@@ -259,8 +259,8 @@ ifeq ($(TARGET),bios)
     override OBJ_S2 := $(filter %.s2.o,$(OBJ))
 endif
 ifeq ($(TARGET),uefi-x86-64)
-    override C_FILES := $(shell cd .. && find common nyu-efi/x86_64 flanterm/src libfdt/src -type f -name '*.c' | LC_ALL=C sort)
-    override S_FILES := $(shell cd .. && find common nyu-efi/x86_64 -type f -name '*.S' | LC_ALL=C sort)
+    override C_FILES := $(shell cd .. && find common picoefi/x86_64 flanterm/src libfdt/src -type f -name '*.c' | LC_ALL=C sort)
+    override S_FILES := $(shell cd .. && find common picoefi/x86_64 -type f -name '*.S' | LC_ALL=C sort)
 
     override ASMX86_FILES := $(shell cd .. && find common -type f -name '*.asm_x86' | LC_ALL=C sort)
     override ASM64_FILES := $(shell cd .. && find common -type f -name '*.asm_x86_64' | LC_ALL=C sort)
@@ -269,8 +269,8 @@ ifeq ($(TARGET),uefi-x86-64)
     override OBJ := $(addprefix $(call MKESCAPE,$(BUILDDIR))/, $(C_FILES:.c=.o) $(S_FILES:.S=.o) $(ASM64_FILES:.asm_x86_64=.o) $(ASM64U_FILES:.asm_uefi_x86_64=.o) $(ASMX86_FILES:.asm_x86=.o))
 endif
 ifeq ($(TARGET),uefi-ia32)
-    override C_FILES := $(shell cd .. && find common nyu-efi/ia32 flanterm/src libfdt/src -type f -name '*.c' | LC_ALL=C sort)
-    override S_FILES := $(shell cd .. && find common nyu-efi/ia32 -type f -name '*.S' | LC_ALL=C sort)
+    override C_FILES := $(shell cd .. && find common picoefi/ia32 flanterm/src libfdt/src -type f -name '*.c' | LC_ALL=C sort)
+    override S_FILES := $(shell cd .. && find common picoefi/ia32 -type f -name '*.S' | LC_ALL=C sort)
 
     override ASMX86_FILES := $(shell cd .. && find common -type f -name '*.asm_x86' | LC_ALL=C sort)
     override ASM32_FILES := $(shell cd .. && find common -type f -name '*.asm_ia32' | LC_ALL=C sort)
@@ -279,8 +279,8 @@ ifeq ($(TARGET),uefi-ia32)
     override OBJ := $(addprefix $(call MKESCAPE,$(BUILDDIR))/, $(C_FILES:.c=.o) $(S_FILES:.S=.o) $(ASM32_FILES:.asm_ia32=.o) $(ASM32U_FILES:.asm_uefi_ia32=.o) $(ASMX86_FILES:.asm_x86=.o))
 endif
 ifeq ($(TARGET),uefi-aarch64)
-    override C_FILES := $(shell cd .. && find common nyu-efi/aarch64 flanterm/src libfdt/src -type f -name '*.c' | LC_ALL=C sort)
-    override S_FILES := $(shell cd .. && find common nyu-efi/aarch64 -type f -name '*.S' | LC_ALL=C sort)
+    override C_FILES := $(shell cd .. && find common picoefi/aarch64 flanterm/src libfdt/src -type f -name '*.c' | LC_ALL=C sort)
+    override S_FILES := $(shell cd .. && find common picoefi/aarch64 -type f -name '*.S' | LC_ALL=C sort)
 
     override ASM64_FILES := $(shell cd .. && find common -type f -name '*.asm_aarch64' | LC_ALL=C sort)
     override ASM64U_FILES := $(shell cd .. && find common -type f -name '*.asm_uefi_aarch64' | LC_ALL=C sort)
@@ -288,8 +288,8 @@ ifeq ($(TARGET),uefi-aarch64)
     override OBJ := $(addprefix $(call MKESCAPE,$(BUILDDIR))/, $(C_FILES:.c=.o) $(S_FILES:.S=.o) $(ASM64_FILES:.asm_aarch64=.o) $(ASM64U_FILES:.asm_uefi_aarch64=.o))
 endif
 ifeq ($(TARGET),uefi-riscv64)
-    override C_FILES := $(shell cd .. && find common nyu-efi/riscv64 flanterm/src libfdt/src -type f -name '*.c' | LC_ALL=C sort)
-    override S_FILES := $(shell cd .. && find common nyu-efi/riscv64 -type f -name '*.S' | LC_ALL=C sort)
+    override C_FILES := $(shell cd .. && find common picoefi/riscv64 flanterm/src libfdt/src -type f -name '*.c' | LC_ALL=C sort)
+    override S_FILES := $(shell cd .. && find common picoefi/riscv64 -type f -name '*.S' | LC_ALL=C sort)
 
     override ASM64_FILES := $(shell cd .. && find common -type f -name '*.asm_riscv64' | LC_ALL=C sort)
     override ASM64U_FILES := $(shell cd .. && find common -type f -name '*.asm_uefi_riscv64' | LC_ALL=C sort)
@@ -297,8 +297,8 @@ ifeq ($(TARGET),uefi-riscv64)
     override OBJ := $(addprefix $(call MKESCAPE,$(BUILDDIR))/, $(C_FILES:.c=.o) $(S_FILES:.S=.o) $(ASM64_FILES:.asm_riscv64=.o) $(ASM64U_FILES:.asm_uefi_riscv64=.o))
 endif
 ifeq ($(TARGET),uefi-loongarch64)
-    override C_FILES := $(shell cd .. && find common nyu-efi/loongarch64 flanterm/src libfdt/src -type f -name '*.c' | LC_ALL=C sort)
-    override S_FILES := $(shell cd .. && find common nyu-efi/loongarch64 -type f -name '*.S' | LC_ALL=C sort)
+    override C_FILES := $(shell cd .. && find common picoefi/loongarch64 flanterm/src libfdt/src -type f -name '*.c' | LC_ALL=C sort)
+    override S_FILES := $(shell cd .. && find common picoefi/loongarch64 -type f -name '*.S' | LC_ALL=C sort)
 
     override ASM64_FILES := $(shell cd .. && find common -type f -name '*.asm_loongarch64' | LC_ALL=C sort)
     override ASM64U_FILES := $(shell cd .. && find common -type f -name '*.asm_uefi_loongarch64' | LC_ALL=C sort)
tab: 248 wrap: offon