Изменено:
README.md Старый однострочный README заменён на полноценное описание проекта: что такое ZOVboot, статус, структура репозитория, сборка, заметки по совместимости, планы и лицензия. limine/configure.ac AC_INIT переименован с Limine на ZOVboot, URL заменены на git.bebrik.xyz, help-тексты для TOOLCHAIN_FOR_TARGET, CC_FOR_TARGET, LD_FOR_TARGET, OBJCOPY_FOR_TARGET, OBJDUMP_FOR_TARGET, READELF_FOR_TARGET, CFLAGS_FOR_TARGET, CPPFLAGS_FOR_TARGET, LDFLAGS_FOR_TARGET, NASMFLAGS_FOR_TARGET переведены с “for Limine” на “for ZOVboot”. limine/common/protos/limine.c Bootloader name, который отдаётся ядру через bootloader_info_response->name, сменён с "Limine" на "ZOVboot". limine/common/protos/multiboot1.c LIMINE_BRAND сменён с "Limine " на "ZOVboot ". limine/common/protos/multiboot2.c LIMINE_BRAND сменён с "Limine " на "ZOVboot ". limine/common/lib/bli.c Wide-string бренд LIMINE_BRAND сменён с L"Limine " на L"ZOVboot ". limine/common/menu.c Строки брендинга в меню заменены с Limine ... на ZOVboot ... для BIOS, UEFI32 и обычного UEFI. limine/common/drivers/disk.s2.c Panic-сообщение про неподдерживаемую UEFI-машину теперь говорит ZOVboot UEFI вместо Limine UEFI. limine/common/entry.s3.c Поменяны пользовательские сообщения: про загрузку выше 4 GiB, про поиск конфигурации и про отсутствие конфигурационного файла, теперь в них фигурирует ZOVboot. limine/host/limine.c Ребрендинг CLI-утилиты: сообщение об успешной BIOS-установке, usage для enroll-config, --version, license-строка, ошибка print-datadir, ошибка “compiled without BIOS support”. Неотслеживаемое: limine/build-host Временная директория host-сборки. limine/build-test Временная директория test/build-конфигурации. Итог по diffstat: 10 files changed 126 insertions 32 deletions
This commit is contained in:
parent
2bb7471dbb
commit
e76fe19bee
26 changed files with 5324 additions and 32 deletions
96
README.md
96
README.md
|
|
@ -1,3 +1,97 @@
|
||||||
# ZOVboot
|
# ZOVboot
|
||||||
|
|
||||||
ZOVboot -- bootloader на основе limine для запуска системы
|
ZOVboot - кастомный загрузчик для **ZovOS**, основанный на кодовой базе
|
||||||
|
[Limine](https://github.com/limine-bootloader/limine).
|
||||||
|
|
||||||
|
Сейчас задача проекта - сохранить надёжную загрузку Limine и постепенно
|
||||||
|
добавить собственный брендинг, упаковку и интеграцию под ZovOS.
|
||||||
|
|
||||||
|
## Статус
|
||||||
|
|
||||||
|
Проект находится на раннем этапе разработки.
|
||||||
|
|
||||||
|
На данный момент в репозитории уже есть:
|
||||||
|
|
||||||
|
- vendored-копия исходников Limine
|
||||||
|
- первые патчи с брендингом ZOVboot
|
||||||
|
- база для интеграции загрузки ZovOS
|
||||||
|
|
||||||
|
Для совместимости пока специально сохранены некоторые соглашения Limine:
|
||||||
|
|
||||||
|
- `limine.conf`
|
||||||
|
- `limine-bios.sys`
|
||||||
|
- стандартные UEFI-имена вроде `BOOTX64.EFI`
|
||||||
|
- структуры и идентификаторы Limine Boot Protocol
|
||||||
|
|
||||||
|
То есть сейчас ZOVboot - это **кастомизированный форк Limine для ZovOS**, а
|
||||||
|
не полностью независимый загрузчик.
|
||||||
|
|
||||||
|
## Структура репозитория
|
||||||
|
|
||||||
|
- `limine/` - основное дерево исходников загрузчика и его build-system
|
||||||
|
- `README.md` - описание проекта
|
||||||
|
- `LICENSE` - лицензия репозитория
|
||||||
|
|
||||||
|
## Сборка
|
||||||
|
|
||||||
|
Собирать проект нужно из директории `limine/`.
|
||||||
|
|
||||||
|
Если ты работаешь прямо из этого git-репозитория, сначала нужно выполнить
|
||||||
|
bootstrap:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cd limine
|
||||||
|
./bootstrap
|
||||||
|
```
|
||||||
|
|
||||||
|
После этого можно создать отдельную директорию сборки и включить нужные порты:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
mkdir -p build
|
||||||
|
cd build
|
||||||
|
../configure --enable-bios --enable-uefi-x86-64
|
||||||
|
make
|
||||||
|
```
|
||||||
|
|
||||||
|
Обычно для сборки нужны:
|
||||||
|
|
||||||
|
- `autoconf`
|
||||||
|
- `automake`
|
||||||
|
- `make`
|
||||||
|
- `clang` или `gcc`
|
||||||
|
- `ld.lld` или другой рабочий target linker
|
||||||
|
- `objcopy`, `objdump`, `readelf`
|
||||||
|
- `nasm`
|
||||||
|
- `gzip`
|
||||||
|
|
||||||
|
Полезные дополнительные инструменты:
|
||||||
|
|
||||||
|
- `mtools`
|
||||||
|
- `xorriso`
|
||||||
|
- `qemu`
|
||||||
|
|
||||||
|
## Заметки
|
||||||
|
|
||||||
|
- Пока идёт ребрендинг, проект специально сохраняет часть upstream-имён
|
||||||
|
файлов, чтобы не ломать совместимость загрузки.
|
||||||
|
- Основная низкоуровневая логика загрузки по-прежнему живёт в дереве
|
||||||
|
`limine/`.
|
||||||
|
- Документация upstream Limine всё ещё полезна, особенно файлы:
|
||||||
|
- `limine/README.md`
|
||||||
|
- `limine/INSTALL.md`
|
||||||
|
- `limine/USAGE.md`
|
||||||
|
- `limine/CONFIG.md`
|
||||||
|
|
||||||
|
## Планы
|
||||||
|
|
||||||
|
- закончить брендинг ZOVboot в меню и утилитах
|
||||||
|
- добавить ZovOS-специфичные boot entries и упаковку образов
|
||||||
|
- ввести собственные имена конфигов и файлов с fallback на старые
|
||||||
|
- проверить BIOS и UEFI пути загрузки для образов ZovOS
|
||||||
|
|
||||||
|
## Лицензия
|
||||||
|
|
||||||
|
Смотри `LICENSE` для лицензии репозитория.
|
||||||
|
|
||||||
|
В vendored-дереве `limine/` также есть сторонние зависимости. Подробности
|
||||||
|
можно посмотреть в `limine/3RDPARTY.md`.
|
||||||
|
|
|
||||||
401
limine/build-host/GNUmakefile
Normal file
401
limine/build-host/GNUmakefile
Normal file
|
|
@ -0,0 +1,401 @@
|
||||||
|
.SUFFIXES:
|
||||||
|
|
||||||
|
override SOURCE_DATE_EPOCH := 1546297200
|
||||||
|
export SOURCE_DATE_EPOCH
|
||||||
|
|
||||||
|
override SOURCE_DATE_EPOCH_TOUCH := 201901010000
|
||||||
|
|
||||||
|
override PACKAGE_TARNAME := zovboot
|
||||||
|
override PACKAGE_VERSION := UNVERSIONED
|
||||||
|
override DIST_OUTPUT := $(PACKAGE_TARNAME)-$(PACKAGE_VERSION)
|
||||||
|
|
||||||
|
override prefix := /usr/local
|
||||||
|
override exec_prefix := ${prefix}
|
||||||
|
|
||||||
|
override bindir := ${exec_prefix}/bin
|
||||||
|
override datarootdir := ${prefix}/share
|
||||||
|
override mandir := ${datarootdir}/man
|
||||||
|
override docdir := ${datarootdir}/doc/${PACKAGE_TARNAME}
|
||||||
|
|
||||||
|
override BUILDDIR := /home/wpng1337/Zovboot/ZOVboot/limine/build-host
|
||||||
|
override BINDIR := $(BUILDDIR)/bin
|
||||||
|
|
||||||
|
override SRCDIR := /home/wpng1337/Zovboot/ZOVboot/limine
|
||||||
|
|
||||||
|
override SPACE := $(subst ,, )
|
||||||
|
override COMMA := ,
|
||||||
|
|
||||||
|
override MKESCAPE = $(subst $(SPACE),\ ,$(1))
|
||||||
|
override SHESCAPE = $(subst ','\'',$(1))
|
||||||
|
override NASMESCAPE = $(subst ','"'$(COMMA) \"'\"$(COMMA) '"',$(1))
|
||||||
|
|
||||||
|
override BUILD_BIOS :=
|
||||||
|
override BUILD_UEFI_X86_64 :=
|
||||||
|
override BUILD_UEFI_IA32 :=
|
||||||
|
override BUILD_UEFI_AARCH64 :=
|
||||||
|
override BUILD_UEFI_RISCV64 :=
|
||||||
|
override BUILD_UEFI_LOONGARCH64 :=
|
||||||
|
override BUILD_UEFI_CD := no
|
||||||
|
override BUILD_BIOS_PXE := no
|
||||||
|
override BUILD_BIOS_CD := no
|
||||||
|
|
||||||
|
INSTALL := /usr/bin/install -c
|
||||||
|
INSTALL_PROGRAM := ${INSTALL}
|
||||||
|
INSTALL_DATA := ${INSTALL} -m 644
|
||||||
|
STRIP := strip
|
||||||
|
|
||||||
|
MKDIR_P := /usr/bin/mkdir -p
|
||||||
|
export MKDIR_P
|
||||||
|
GREP := /usr/bin/grep
|
||||||
|
export GREP
|
||||||
|
SED := /usr/bin/sed
|
||||||
|
export SED
|
||||||
|
AWK := gawk
|
||||||
|
export AWK
|
||||||
|
|
||||||
|
CC := gcc
|
||||||
|
|
||||||
|
CPPFLAGS :=
|
||||||
|
CFLAGS := -g -O2 -pipe
|
||||||
|
LDFLAGS :=
|
||||||
|
LIBS :=
|
||||||
|
|
||||||
|
CC_FOR_TARGET := clang
|
||||||
|
export CC_FOR_TARGET
|
||||||
|
LD_FOR_TARGET := ld
|
||||||
|
export LD_FOR_TARGET
|
||||||
|
OBJCOPY_FOR_TARGET := objcopy
|
||||||
|
export OBJCOPY_FOR_TARGET
|
||||||
|
OBJDUMP_FOR_TARGET := objdump
|
||||||
|
export OBJDUMP_FOR_TARGET
|
||||||
|
READELF_FOR_TARGET := readelf
|
||||||
|
export READELF_FOR_TARGET
|
||||||
|
|
||||||
|
override WERROR_FLAG := -Wno-error
|
||||||
|
export WERROR_FLAG
|
||||||
|
|
||||||
|
CFLAGS_FOR_TARGET := -g -O2 -pipe
|
||||||
|
export CFLAGS_FOR_TARGET
|
||||||
|
CPPFLAGS_FOR_TARGET :=
|
||||||
|
export CPPFLAGS_FOR_TARGET
|
||||||
|
LDFLAGS_FOR_TARGET :=
|
||||||
|
export LDFLAGS_FOR_TARGET
|
||||||
|
NASMFLAGS_FOR_TARGET := -g
|
||||||
|
export NASMFLAGS_FOR_TARGET
|
||||||
|
|
||||||
|
override STAGE1_FILES := $(shell find '$(call SHESCAPE,$(SRCDIR))/stage1' -type f -name '*.asm' | LC_ALL=C sort)
|
||||||
|
|
||||||
|
.PHONY: all
|
||||||
|
all: $(call MKESCAPE,$(BINDIR))/Makefile
|
||||||
|
$(MAKE) all1
|
||||||
|
|
||||||
|
.PHONY: all1
|
||||||
|
all1: $(BUILD_UEFI_X86_64) $(BUILD_UEFI_IA32) $(BUILD_UEFI_AARCH64) $(BUILD_UEFI_RISCV64) $(BUILD_UEFI_LOONGARCH64) $(BUILD_BIOS)
|
||||||
|
$(MAKE) '$(call SHESCAPE,$(BINDIR))/limine'
|
||||||
|
$(MAKE) '$(call SHESCAPE,$(BINDIR))/limine-uefi-cd.bin'
|
||||||
|
|
||||||
|
$(call MKESCAPE,$(BINDIR))/limine-bios-hdd.h: $(call MKESCAPE,$(BINDIR))/limine-bios-hdd.bin
|
||||||
|
$(MKDIR_P) '$(call SHESCAPE,$(BINDIR))'
|
||||||
|
cd '$(call SHESCAPE,$(BINDIR))' && '$(call SHESCAPE,$(SRCDIR))/host/hgen.sh' >limine-bios-hdd.h
|
||||||
|
|
||||||
|
override LIMINE_NO_BIOS :=
|
||||||
|
ifneq ($(BUILD_BIOS),limine-bios)
|
||||||
|
override LIMINE_NO_BIOS := -DLIMINE_NO_BIOS
|
||||||
|
endif
|
||||||
|
|
||||||
|
$(call MKESCAPE,$(BINDIR))/limine: $(call MKESCAPE,$(BINDIR))/Makefile $(call MKESCAPE,$(SRCDIR))/host/limine.c $(if $(filter $(BUILD_BIOS),limine-bios),$(call MKESCAPE,$(BINDIR))/limine-bios-hdd.h)
|
||||||
|
$(SED) 's/%VERSION%/UNVERSIONED/g;s/%COPYRIGHT%/Copyright (C) 2019-2026 Mintsuki and contributors./g' <'$(call SHESCAPE,$(SRCDIR))/host/limine.c' >'$(call SHESCAPE,$(BINDIR))/limine.c'
|
||||||
|
$(MAKE) -C '$(call SHESCAPE,$(BINDIR))' limine \
|
||||||
|
CC="$(CC)" \
|
||||||
|
CFLAGS="$(CFLAGS) -Wall -Wextra $(WERROR_FLAG)" \
|
||||||
|
CPPFLAGS='$(CPPFLAGS) $(LIMINE_NO_BIOS) -DLIMINE_DATADIR=\"$(call SHESCAPE,$(datarootdir))/limine\"' \
|
||||||
|
LDFLAGS="$(LDFLAGS)" \
|
||||||
|
LIBS="$(LIBS)"
|
||||||
|
|
||||||
|
$(call MKESCAPE,$(BINDIR))/Makefile: $(call MKESCAPE,$(SRCDIR))/host/host.mk $(call MKESCAPE,$(SRCDIR))/host/.gitignore
|
||||||
|
mkdir -p '$(call SHESCAPE,$(BINDIR))'
|
||||||
|
cp '$(call SHESCAPE,$(SRCDIR))/host/host.mk' '$(call SHESCAPE,$(BINDIR))/Makefile'
|
||||||
|
cp '$(call SHESCAPE,$(SRCDIR))/host/.gitignore' '$(call SHESCAPE,$(BINDIR))/'
|
||||||
|
|
||||||
|
.PHONY: limine
|
||||||
|
limine:
|
||||||
|
$(MAKE) '$(call SHESCAPE,$(BINDIR))/limine'
|
||||||
|
|
||||||
|
.PHONY: clean
|
||||||
|
clean: limine-bios-clean limine-uefi-ia32-clean limine-uefi-x86-64-clean limine-uefi-aarch64-clean limine-uefi-riscv64-clean limine-uefi-loongarch64-clean
|
||||||
|
rm -rf '$(call SHESCAPE,$(BINDIR))' '$(call SHESCAPE,$(BUILDDIR))/stage1.stamp'
|
||||||
|
|
||||||
|
.PHONY: install
|
||||||
|
install: all
|
||||||
|
$(INSTALL) -d '$(call SHESCAPE,$(DESTDIR)$(docdir))'
|
||||||
|
$(INSTALL_DATA) '$(call SHESCAPE,$(SRCDIR))/COPYING' '$(call SHESCAPE,$(DESTDIR)$(docdir))/'
|
||||||
|
$(INSTALL) -d '$(call SHESCAPE,$(DESTDIR)$(docdir))/LICENSES'
|
||||||
|
$(INSTALL_DATA) '$(call SHESCAPE,$(SRCDIR))/LICENSES/LicenseRef-scancode-bsd-no-disclaimer-unmodified.txt' '$(call SHESCAPE,$(DESTDIR)$(docdir))/LICENSES/'
|
||||||
|
$(INSTALL_DATA) '$(call SHESCAPE,$(SRCDIR))/3RDPARTY.md' '$(call SHESCAPE,$(DESTDIR)$(docdir))/'
|
||||||
|
$(INSTALL_DATA) '$(call SHESCAPE,$(SRCDIR))/CONFIG.md' '$(call SHESCAPE,$(DESTDIR)$(docdir))/'
|
||||||
|
$(INSTALL_DATA) '$(call SHESCAPE,$(SRCDIR))/FAQ.md' '$(call SHESCAPE,$(DESTDIR)$(docdir))/'
|
||||||
|
$(INSTALL_DATA) '$(call SHESCAPE,$(SRCDIR))/USAGE.md' '$(call SHESCAPE,$(DESTDIR)$(docdir))/'
|
||||||
|
$(INSTALL) -d '$(call SHESCAPE,$(DESTDIR)$(mandir))/man1'
|
||||||
|
$(INSTALL_DATA) '$(call SHESCAPE,$(BUILDDIR))/man/man1/limine.1' '$(call SHESCAPE,$(DESTDIR)$(mandir))/man1/'
|
||||||
|
$(INSTALL) -d '$(call SHESCAPE,$(DESTDIR)$(datarootdir))'
|
||||||
|
$(INSTALL) -d '$(call SHESCAPE,$(DESTDIR)$(datarootdir))/limine'
|
||||||
|
ifeq ($(BUILD_BIOS),limine-bios)
|
||||||
|
$(INSTALL_DATA) '$(call SHESCAPE,$(BINDIR))/limine-bios.sys' '$(call SHESCAPE,$(DESTDIR)$(datarootdir))/limine/'
|
||||||
|
endif
|
||||||
|
ifneq ($(BUILD_BIOS_CD),no)
|
||||||
|
$(INSTALL_DATA) '$(call SHESCAPE,$(BINDIR))/limine-bios-cd.bin' '$(call SHESCAPE,$(DESTDIR)$(datarootdir))/limine/'
|
||||||
|
endif
|
||||||
|
ifneq ($(BUILD_UEFI_CD),no)
|
||||||
|
$(INSTALL_DATA) '$(call SHESCAPE,$(BINDIR))/limine-uefi-cd.bin' '$(call SHESCAPE,$(DESTDIR)$(datarootdir))/limine/'
|
||||||
|
endif
|
||||||
|
ifneq ($(BUILD_BIOS_PXE),no)
|
||||||
|
$(INSTALL_DATA) '$(call SHESCAPE,$(BINDIR))/limine-bios-pxe.bin' '$(call SHESCAPE,$(DESTDIR)$(datarootdir))/limine/'
|
||||||
|
endif
|
||||||
|
ifeq ($(BUILD_UEFI_AARCH64),limine-uefi-aarch64)
|
||||||
|
$(INSTALL_DATA) '$(call SHESCAPE,$(BINDIR))/BOOTAA64.EFI' '$(call SHESCAPE,$(DESTDIR)$(datarootdir))/limine/'
|
||||||
|
endif
|
||||||
|
ifeq ($(BUILD_UEFI_RISCV64),limine-uefi-riscv64)
|
||||||
|
$(INSTALL_DATA) '$(call SHESCAPE,$(BINDIR))/BOOTRISCV64.EFI' '$(call SHESCAPE,$(DESTDIR)$(datarootdir))/limine/'
|
||||||
|
endif
|
||||||
|
ifeq ($(BUILD_UEFI_LOONGARCH64),limine-uefi-loongarch64)
|
||||||
|
$(INSTALL_DATA) '$(call SHESCAPE,$(BINDIR))/BOOTLOONGARCH64.EFI' '$(call SHESCAPE,$(DESTDIR)$(datarootdir))/limine/'
|
||||||
|
endif
|
||||||
|
ifeq ($(BUILD_UEFI_X86_64),limine-uefi-x86-64)
|
||||||
|
$(INSTALL_DATA) '$(call SHESCAPE,$(BINDIR))/BOOTX64.EFI' '$(call SHESCAPE,$(DESTDIR)$(datarootdir))/limine/'
|
||||||
|
endif
|
||||||
|
ifeq ($(BUILD_UEFI_IA32),limine-uefi-ia32)
|
||||||
|
$(INSTALL_DATA) '$(call SHESCAPE,$(BINDIR))/BOOTIA32.EFI' '$(call SHESCAPE,$(DESTDIR)$(datarootdir))/limine/'
|
||||||
|
endif
|
||||||
|
$(INSTALL) -d '$(call SHESCAPE,$(DESTDIR)$(bindir))'
|
||||||
|
$(INSTALL_PROGRAM) '$(call SHESCAPE,$(BINDIR))/limine' '$(call SHESCAPE,$(DESTDIR)$(bindir))/'
|
||||||
|
|
||||||
|
.PHONY: install-strip
|
||||||
|
install-strip: install
|
||||||
|
$(STRIP) '$(call SHESCAPE,$(DESTDIR)$(bindir))/limine'
|
||||||
|
|
||||||
|
.PHONY: uninstall
|
||||||
|
uninstall:
|
||||||
|
rm -f '$(call SHESCAPE,$(DESTDIR)$(docdir))/COPYING'
|
||||||
|
rm -rf '$(call SHESCAPE,$(DESTDIR)$(docdir))/LICENSES'
|
||||||
|
rm -f '$(call SHESCAPE,$(DESTDIR)$(docdir))/3RDPARTY.md'
|
||||||
|
rm -f '$(call SHESCAPE,$(DESTDIR)$(docdir))/CONFIG.md'
|
||||||
|
rm -f '$(call SHESCAPE,$(DESTDIR)$(docdir))/FAQ.md'
|
||||||
|
rm -f '$(call SHESCAPE,$(DESTDIR)$(docdir))/USAGE.md'
|
||||||
|
rm -f '$(call SHESCAPE,$(DESTDIR)$(mandir))/man1/limine.1'
|
||||||
|
rm -f '$(call SHESCAPE,$(DESTDIR)$(bindir))/limine'
|
||||||
|
rm -rf '$(call SHESCAPE,$(DESTDIR)$(datarootdir))/limine'
|
||||||
|
|
||||||
|
$(call MKESCAPE,$(BUILDDIR))/stage1.stamp: $(STAGE1_FILES) $(call MKESCAPE,$(BUILDDIR))/decompressor-build/decompressor.bin $(call MKESCAPE,$(BUILDDIR))/common-bios/stage2.bin.gz
|
||||||
|
$(MKDIR_P) '$(call SHESCAPE,$(BINDIR))'
|
||||||
|
cd '$(call SHESCAPE,$(SRCDIR))/stage1/hdd' && nasm bootsect.asm -Wall -w-unknown-warning -w-reloc $(WERROR_FLAG) -fbin -DBUILDDIR="'"'$(call NASMESCAPE,$(BUILDDIR))'"'" -o '$(call SHESCAPE,$(BINDIR))/limine-bios-hdd.bin'
|
||||||
|
ifneq ($(BUILD_BIOS_CD),no)
|
||||||
|
cd '$(call SHESCAPE,$(SRCDIR))/stage1/cd' && nasm bootsect.asm -Wall -w-unknown-warning -w-reloc $(WERROR_FLAG) -fbin -DBUILDDIR="'"'$(call NASMESCAPE,$(BUILDDIR))'"'" -o '$(call SHESCAPE,$(BINDIR))/limine-bios-cd.bin'
|
||||||
|
endif
|
||||||
|
ifneq ($(BUILD_BIOS_PXE),no)
|
||||||
|
cd '$(call SHESCAPE,$(SRCDIR))/stage1/pxe' && nasm bootsect.asm -Wall -w-unknown-warning -w-reloc $(WERROR_FLAG) -fbin -DBUILDDIR="'"'$(call NASMESCAPE,$(BUILDDIR))'"'" -o '$(call SHESCAPE,$(BINDIR))/limine-bios-pxe.bin'
|
||||||
|
endif
|
||||||
|
cp '$(call SHESCAPE,$(BUILDDIR))/common-bios/limine-bios.sys' '$(call SHESCAPE,$(BINDIR))/'
|
||||||
|
touch '$(call SHESCAPE,$(BUILDDIR))/stage1.stamp'
|
||||||
|
|
||||||
|
.PHONY: limine-bios
|
||||||
|
limine-bios: common-bios decompressor
|
||||||
|
$(MAKE) '$(call SHESCAPE,$(BUILDDIR))/stage1.stamp'
|
||||||
|
|
||||||
|
$(call MKESCAPE,$(BINDIR))/limine-uefi-cd.bin: $(if $(BUILD_UEFI_IA32),$(call MKESCAPE,$(BUILDDIR))/common-uefi-ia32/BOOTIA32.EFI) $(if $(BUILD_UEFI_X86_64),$(call MKESCAPE,$(BUILDDIR))/common-uefi-x86-64/BOOTX64.EFI) $(if $(BUILD_UEFI_AARCH64),$(call MKESCAPE,$(BUILDDIR))/common-uefi-aarch64/BOOTAA64.EFI) $(if $(BUILD_UEFI_RISCV64),$(call MKESCAPE,$(BUILDDIR))/common-uefi-riscv64/BOOTRISCV64.EFI) $(if $(BUILD_UEFI_LOONGARCH64),$(call MKESCAPE,$(BUILDDIR))/common-uefi-loongarch64/BOOTLOONGARCH64.EFI)
|
||||||
|
ifneq ($(BUILD_UEFI_CD),no)
|
||||||
|
$(MKDIR_P) '$(call SHESCAPE,$(BINDIR))'
|
||||||
|
rm -f '$(call SHESCAPE,$(BINDIR))/limine-uefi-cd.bin'
|
||||||
|
dd if=/dev/zero of='$(call SHESCAPE,$(BINDIR))/limine-uefi-cd.bin' bs=512 count=5760 2>/dev/null
|
||||||
|
mformat -i '$(call SHESCAPE,$(BINDIR))/limine-uefi-cd.bin' -f 2880 -N 12345678 ::
|
||||||
|
LIMINE_UEFI_CD_TMP="$$(mktemp -d)"; \
|
||||||
|
mkdir -p "$$LIMINE_UEFI_CD_TMP"/EFI/BOOT; \
|
||||||
|
cp '$(call SHESCAPE,$(BUILDDIR))/common-uefi-aarch64/BOOTAA64.EFI' "$$LIMINE_UEFI_CD_TMP"/EFI/BOOT/ 2>/dev/null; \
|
||||||
|
cp '$(call SHESCAPE,$(BUILDDIR))/common-uefi-riscv64/BOOTRISCV64.EFI' "$$LIMINE_UEFI_CD_TMP"/EFI/BOOT/ 2>/dev/null; \
|
||||||
|
cp '$(call SHESCAPE,$(BUILDDIR))/common-uefi-loongarch64/BOOTLOONGARCH64.EFI' "$$LIMINE_UEFI_CD_TMP"/EFI/BOOT/ 2>/dev/null; \
|
||||||
|
cp '$(call SHESCAPE,$(BUILDDIR))/common-uefi-x86-64/BOOTX64.EFI' "$$LIMINE_UEFI_CD_TMP"/EFI/BOOT/ 2>/dev/null; \
|
||||||
|
cp '$(call SHESCAPE,$(BUILDDIR))/common-uefi-ia32/BOOTIA32.EFI' "$$LIMINE_UEFI_CD_TMP"/EFI/BOOT/ 2>/dev/null; \
|
||||||
|
find "$$LIMINE_UEFI_CD_TMP" -exec touch -t $(SOURCE_DATE_EPOCH_TOUCH) '{}' + && \
|
||||||
|
mcopy -D o -s -m -i '$(call SHESCAPE,$(BINDIR))/limine-uefi-cd.bin' "$$LIMINE_UEFI_CD_TMP"/EFI :: && \
|
||||||
|
rm -rf "$$LIMINE_UEFI_CD_TMP"
|
||||||
|
endif
|
||||||
|
|
||||||
|
.PHONY: limine-uefi-cd
|
||||||
|
limine-uefi-cd:
|
||||||
|
$(MAKE) '$(call SHESCAPE,$(BINDIR))/limine-uefi-cd.bin'
|
||||||
|
|
||||||
|
$(call MKESCAPE,$(BINDIR))/BOOTX64.EFI: $(call MKESCAPE,$(BUILDDIR))/common-uefi-x86-64/BOOTX64.EFI
|
||||||
|
$(MKDIR_P) '$(call SHESCAPE,$(BINDIR))'
|
||||||
|
cp '$(call SHESCAPE,$(BUILDDIR))/common-uefi-x86-64/BOOTX64.EFI' '$(call SHESCAPE,$(BINDIR))/'
|
||||||
|
|
||||||
|
.PHONY: limine-uefi-x86-64
|
||||||
|
limine-uefi-x86-64:
|
||||||
|
$(MAKE) common-uefi-x86-64
|
||||||
|
$(MAKE) '$(call SHESCAPE,$(BINDIR))/BOOTX64.EFI'
|
||||||
|
|
||||||
|
$(call MKESCAPE,$(BINDIR))/BOOTIA32.EFI: $(call MKESCAPE,$(BUILDDIR))/common-uefi-ia32/BOOTIA32.EFI
|
||||||
|
$(MKDIR_P) '$(call SHESCAPE,$(BINDIR))'
|
||||||
|
cp '$(call SHESCAPE,$(BUILDDIR))/common-uefi-ia32/BOOTIA32.EFI' '$(call SHESCAPE,$(BINDIR))/'
|
||||||
|
|
||||||
|
.PHONY: limine-uefi-ia32
|
||||||
|
limine-uefi-ia32:
|
||||||
|
$(MAKE) common-uefi-ia32
|
||||||
|
$(MAKE) '$(call SHESCAPE,$(BINDIR))/BOOTIA32.EFI'
|
||||||
|
|
||||||
|
$(call MKESCAPE,$(BINDIR))/BOOTAA64.EFI: $(call MKESCAPE,$(BUILDDIR))/common-uefi-aarch64/BOOTAA64.EFI
|
||||||
|
$(MKDIR_P) '$(call SHESCAPE,$(BINDIR))'
|
||||||
|
cp '$(call SHESCAPE,$(BUILDDIR))/common-uefi-aarch64/BOOTAA64.EFI' '$(call SHESCAPE,$(BINDIR))/'
|
||||||
|
|
||||||
|
.PHONY: limine-uefi-aarch64
|
||||||
|
limine-uefi-aarch64:
|
||||||
|
$(MAKE) common-uefi-aarch64
|
||||||
|
$(MAKE) '$(call SHESCAPE,$(BINDIR))/BOOTAA64.EFI'
|
||||||
|
|
||||||
|
$(call MKESCAPE,$(BINDIR))/BOOTRISCV64.EFI: $(call MKESCAPE,$(BUILDDIR))/common-uefi-riscv64/BOOTRISCV64.EFI
|
||||||
|
$(MKDIR_P) '$(call SHESCAPE,$(BINDIR))'
|
||||||
|
cp '$(call SHESCAPE,$(BUILDDIR))/common-uefi-riscv64/BOOTRISCV64.EFI' '$(call SHESCAPE,$(BINDIR))/'
|
||||||
|
|
||||||
|
.PHONY: limine-uefi-riscv64
|
||||||
|
limine-uefi-riscv64:
|
||||||
|
$(MAKE) common-uefi-riscv64
|
||||||
|
$(MAKE) '$(call SHESCAPE,$(BINDIR))/BOOTRISCV64.EFI'
|
||||||
|
|
||||||
|
$(call MKESCAPE,$(BINDIR))/BOOTLOONGARCH64.EFI: $(call MKESCAPE,$(BUILDDIR))/common-uefi-loongarch64/BOOTLOONGARCH64.EFI
|
||||||
|
$(MKDIR_P) '$(call SHESCAPE,$(BINDIR))'
|
||||||
|
cp '$(call SHESCAPE,$(BUILDDIR))/common-uefi-loongarch64/BOOTLOONGARCH64.EFI' '$(call SHESCAPE,$(BINDIR))/'
|
||||||
|
|
||||||
|
.PHONY: limine-uefi-loongarch64
|
||||||
|
limine-uefi-loongarch64:
|
||||||
|
$(MAKE) common-uefi-loongarch64
|
||||||
|
$(MAKE) '$(call SHESCAPE,$(BINDIR))/BOOTLOONGARCH64.EFI'
|
||||||
|
|
||||||
|
.PHONY: limine-bios-clean
|
||||||
|
limine-bios-clean: common-bios-clean decompressor-clean
|
||||||
|
|
||||||
|
.PHONY: limine-uefi-x86-64-clean
|
||||||
|
limine-uefi-x86-64-clean: common-uefi-x86-64-clean
|
||||||
|
|
||||||
|
.PHONY: limine-uefi-ia32-clean
|
||||||
|
limine-uefi-ia32-clean: common-uefi-ia32-clean
|
||||||
|
|
||||||
|
.PHONY: limine-uefi-aarch64-clean
|
||||||
|
limine-uefi-aarch64-clean: common-uefi-aarch64-clean
|
||||||
|
|
||||||
|
.PHONY: limine-uefi-riscv64-clean
|
||||||
|
limine-uefi-riscv64-clean: common-uefi-riscv64-clean
|
||||||
|
|
||||||
|
.PHONY: limine-uefi-loongarch64-clean
|
||||||
|
limine-uefi-loongarch64-clean: common-uefi-loongarch64-clean
|
||||||
|
|
||||||
|
.PHONY: dist
|
||||||
|
dist:
|
||||||
|
rm -rf '$(call SHESCAPE,$(BUILDDIR))'/"$(DIST_OUTPUT)"
|
||||||
|
$(MKDIR_P) '$(call SHESCAPE,$(BUILDDIR))'/"$(DIST_OUTPUT)"
|
||||||
|
cp -r '$(call SHESCAPE,$(SRCDIR))'/.git '$(call SHESCAPE,$(BUILDDIR))'/"$(DIST_OUTPUT)"/
|
||||||
|
cd '$(call SHESCAPE,$(BUILDDIR))'/"$(DIST_OUTPUT)" && git checkout .
|
||||||
|
cd '$(call SHESCAPE,$(BUILDDIR))'/"$(DIST_OUTPUT)" && ./bootstrap
|
||||||
|
rm -rf '$(call SHESCAPE,$(BUILDDIR))'/"$(DIST_OUTPUT)/flanterm/.git"
|
||||||
|
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)/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"
|
||||||
|
rm -rf '$(call SHESCAPE,$(BUILDDIR))'/"$(DIST_OUTPUT)/common/lib/stb_image.h.nopatch"
|
||||||
|
rm -rf '$(call SHESCAPE,$(BUILDDIR))'/"$(DIST_OUTPUT)/.git"
|
||||||
|
rm -rf '$(call SHESCAPE,$(BUILDDIR))'/"$(DIST_OUTPUT)/.gitignore"
|
||||||
|
rm -rf '$(call SHESCAPE,$(BUILDDIR))'/"$(DIST_OUTPUT)/.forgejo"
|
||||||
|
rm -rf '$(call SHESCAPE,$(BUILDDIR))'/"$(DIST_OUTPUT)/README.md"
|
||||||
|
rm -rf '$(call SHESCAPE,$(BUILDDIR))'/"$(DIST_OUTPUT)/autom4te.cache"
|
||||||
|
rm -rf '$(call SHESCAPE,$(BUILDDIR))'/"$(DIST_OUTPUT)/test"
|
||||||
|
rm -rf '$(call SHESCAPE,$(BUILDDIR))'/"$(DIST_OUTPUT)/test.mk"
|
||||||
|
rm -rf '$(call SHESCAPE,$(BUILDDIR))'/"$(DIST_OUTPUT)/logo.png"
|
||||||
|
rm -rf '$(call SHESCAPE,$(BUILDDIR))'/"$(DIST_OUTPUT)/screenshot.png"
|
||||||
|
rm -rf '$(call SHESCAPE,$(BUILDDIR))'/"$(DIST_OUTPUT)/bochsrc"
|
||||||
|
echo "$(PACKAGE_VERSION)" > '$(call SHESCAPE,$(BUILDDIR))'/"$(DIST_OUTPUT)/version"
|
||||||
|
cd '$(call SHESCAPE,$(BUILDDIR))' && tar -cf "$(DIST_OUTPUT).tar" "$(DIST_OUTPUT)"
|
||||||
|
cd '$(call SHESCAPE,$(BUILDDIR))' && gzip < "$(DIST_OUTPUT).tar" > "$(DIST_OUTPUT).tar.gz"
|
||||||
|
cd '$(call SHESCAPE,$(BUILDDIR))' && ( bzip2 < "$(DIST_OUTPUT).tar" > "$(DIST_OUTPUT).tar.bz2" || rm -f "$(DIST_OUTPUT).tar.bz2" )
|
||||||
|
cd '$(call SHESCAPE,$(BUILDDIR))' && ( xz < "$(DIST_OUTPUT).tar" > "$(DIST_OUTPUT).tar.xz" || rm -f "$(DIST_OUTPUT).tar.xz" )
|
||||||
|
cd '$(call SHESCAPE,$(BUILDDIR))' && rm "$(DIST_OUTPUT).tar"
|
||||||
|
rm -rf '$(call SHESCAPE,$(BUILDDIR))'/"$(DIST_OUTPUT)"
|
||||||
|
|
||||||
|
.PHONY: distclean
|
||||||
|
distclean: clean
|
||||||
|
rm -rf edk2-ovmf config.log config.status GNUmakefile config.h man/man1/limine.1
|
||||||
|
|
||||||
|
.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 picoefi configure timestamps build-aux *'~' autom4te.cache aclocal.m4 *.tar*
|
||||||
|
|
||||||
|
.PHONY: common-uefi-x86-64
|
||||||
|
common-uefi-x86-64:
|
||||||
|
$(MAKE) -C '$(call SHESCAPE,$(SRCDIR))/common' -f common.mk \
|
||||||
|
TARGET=uefi-x86-64 \
|
||||||
|
BUILDDIR='$(call SHESCAPE,$(BUILDDIR))/common-uefi-x86-64'
|
||||||
|
|
||||||
|
.PHONY: common-uefi-x86-64-clean
|
||||||
|
common-uefi-x86-64-clean:
|
||||||
|
rm -rf '$(call SHESCAPE,$(BUILDDIR))/common-uefi-x86-64'
|
||||||
|
|
||||||
|
.PHONY: common-uefi-aarch64
|
||||||
|
common-uefi-aarch64:
|
||||||
|
$(MAKE) -C '$(call SHESCAPE,$(SRCDIR))/common' -f common.mk \
|
||||||
|
TARGET=uefi-aarch64 \
|
||||||
|
BUILDDIR='$(call SHESCAPE,$(BUILDDIR))/common-uefi-aarch64'
|
||||||
|
|
||||||
|
.PHONY: common-uefi-aarch64-clean
|
||||||
|
common-uefi-aarch64-clean:
|
||||||
|
rm -rf '$(call SHESCAPE,$(BUILDDIR))/common-uefi-aarch64'
|
||||||
|
|
||||||
|
.PHONY: common-uefi-riscv64
|
||||||
|
common-uefi-riscv64:
|
||||||
|
$(MAKE) -C '$(call SHESCAPE,$(SRCDIR))/common' -f common.mk \
|
||||||
|
TARGET=uefi-riscv64 \
|
||||||
|
BUILDDIR='$(call SHESCAPE,$(BUILDDIR))/common-uefi-riscv64'
|
||||||
|
|
||||||
|
.PHONY: common-uefi-riscv64-clean
|
||||||
|
common-uefi-riscv64-clean:
|
||||||
|
rm -rf '$(call SHESCAPE,$(BUILDDIR))/common-uefi-riscv64'
|
||||||
|
|
||||||
|
.PHONY: common-uefi-loongarch64
|
||||||
|
common-uefi-loongarch64:
|
||||||
|
$(MAKE) -C '$(call SHESCAPE,$(SRCDIR))/common' -f common.mk \
|
||||||
|
TARGET=uefi-loongarch64 \
|
||||||
|
BUILDDIR='$(call SHESCAPE,$(BUILDDIR))/common-uefi-loongarch64'
|
||||||
|
|
||||||
|
.PHONY: common-uefi-loongarch64-clean
|
||||||
|
common-uefi-loongarch64-clean:
|
||||||
|
rm -rf '$(call SHESCAPE,$(BUILDDIR))/common-uefi-loongarch64'
|
||||||
|
|
||||||
|
.PHONY: common-uefi-ia32
|
||||||
|
common-uefi-ia32:
|
||||||
|
$(MAKE) -C '$(call SHESCAPE,$(SRCDIR))/common' -f common.mk \
|
||||||
|
TARGET=uefi-ia32 \
|
||||||
|
BUILDDIR='$(call SHESCAPE,$(BUILDDIR))/common-uefi-ia32'
|
||||||
|
|
||||||
|
.PHONY: common-uefi-ia32-clean
|
||||||
|
common-uefi-ia32-clean:
|
||||||
|
rm -rf '$(call SHESCAPE,$(BUILDDIR))/common-uefi-ia32'
|
||||||
|
|
||||||
|
.PHONY: common-bios
|
||||||
|
common-bios:
|
||||||
|
$(MAKE) -C '$(call SHESCAPE,$(SRCDIR))/common' -f common.mk \
|
||||||
|
TARGET=bios \
|
||||||
|
BUILDDIR='$(call SHESCAPE,$(BUILDDIR))/common-bios'
|
||||||
|
|
||||||
|
.PHONY: common-bios-clean
|
||||||
|
common-bios-clean:
|
||||||
|
rm -rf '$(call SHESCAPE,$(BUILDDIR))/common-bios'
|
||||||
|
|
||||||
|
.PHONY: decompressor
|
||||||
|
decompressor:
|
||||||
|
$(MAKE) -C '$(call SHESCAPE,$(SRCDIR))/decompressor' -f decompressor.mk \
|
||||||
|
BUILDDIR='$(call SHESCAPE,$(BUILDDIR))/decompressor-build'
|
||||||
|
|
||||||
|
.PHONY: decompressor-clean
|
||||||
|
decompressor-clean:
|
||||||
|
rm -rf '$(call SHESCAPE,$(BUILDDIR))/decompressor-build'
|
||||||
|
|
||||||
|
-include test.mk
|
||||||
2
limine/build-host/bin/.gitignore
vendored
Normal file
2
limine/build-host/bin/.gitignore
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
limine
|
||||||
|
limine.exe
|
||||||
19
limine/build-host/bin/Makefile
Normal file
19
limine/build-host/bin/Makefile
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
.POSIX:
|
||||||
|
|
||||||
|
SHELL=/bin/sh
|
||||||
|
|
||||||
|
CC=cc
|
||||||
|
CFLAGS=-g -O2 -pipe
|
||||||
|
CPPFLAGS=
|
||||||
|
LDFLAGS=
|
||||||
|
LIBS=
|
||||||
|
|
||||||
|
.PHONY: all
|
||||||
|
all: limine
|
||||||
|
|
||||||
|
.PHONY: clean
|
||||||
|
clean:
|
||||||
|
rm -f limine limine.exe
|
||||||
|
|
||||||
|
limine: limine.c
|
||||||
|
$(CC) $(CFLAGS) -std=c99 $(CPPFLAGS) $(LDFLAGS) $< $(LIBS) -o $@
|
||||||
1444
limine/build-host/bin/limine.c
Normal file
1444
limine/build-host/bin/limine.c
Normal file
File diff suppressed because it is too large
Load diff
7
limine/build-host/config.h
Normal file
7
limine/build-host/config.h
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
#ifndef __CONFIG_H__
|
||||||
|
#define __CONFIG_H__
|
||||||
|
|
||||||
|
#define LIMINE_VERSION "UNVERSIONED"
|
||||||
|
#define LIMINE_COPYRIGHT "Copyright (C) 2019-2026 Mintsuki and contributors."
|
||||||
|
|
||||||
|
#endif
|
||||||
462
limine/build-host/config.log
Normal file
462
limine/build-host/config.log
Normal file
|
|
@ -0,0 +1,462 @@
|
||||||
|
This file contains any messages produced by compilers while
|
||||||
|
running configure, to aid debugging if configure makes a mistake.
|
||||||
|
|
||||||
|
It was created by ZOVboot configure UNVERSIONED, which was
|
||||||
|
generated by GNU Autoconf 2.72. Invocation command line was
|
||||||
|
|
||||||
|
$ ../configure LD_FOR_TARGET=ld OBJCOPY_FOR_TARGET=objcopy OBJDUMP_FOR_TARGET=objdump READELF_FOR_TARGET=readelf
|
||||||
|
|
||||||
|
## --------- ##
|
||||||
|
## Platform. ##
|
||||||
|
## --------- ##
|
||||||
|
|
||||||
|
hostname = archlinux
|
||||||
|
uname -m = x86_64
|
||||||
|
uname -r = 6.19.6-arch1-1
|
||||||
|
uname -s = Linux
|
||||||
|
uname -v = #1 SMP PREEMPT_DYNAMIC Wed, 04 Mar 2026 18:25:08 +0000
|
||||||
|
|
||||||
|
/usr/bin/uname -p = unknown
|
||||||
|
/bin/uname -X = unknown
|
||||||
|
|
||||||
|
/bin/arch = unknown
|
||||||
|
/usr/bin/arch -k = unknown
|
||||||
|
/usr/convex/getsysinfo = unknown
|
||||||
|
/usr/bin/hostinfo = unknown
|
||||||
|
/bin/machine = unknown
|
||||||
|
/usr/bin/oslevel = unknown
|
||||||
|
/bin/universe = unknown
|
||||||
|
|
||||||
|
PATH: /tmp/fakebin/
|
||||||
|
PATH: /home/wpng1337/.codex/tmp/arg0/codex-arg0tf5Bxj/
|
||||||
|
PATH: /usr/local/sbin/
|
||||||
|
PATH: /usr/local/bin/
|
||||||
|
PATH: /usr/bin/
|
||||||
|
PATH: /var/lib/flatpak/exports/bin/
|
||||||
|
PATH: /usr/bin/site_perl/
|
||||||
|
PATH: /usr/bin/vendor_perl/
|
||||||
|
PATH: /usr/bin/core_perl/
|
||||||
|
PATH: /home/wpng1337/.vscode-oss/extensions/openai.chatgpt-26.311.21342-linux-x64/bin/linux-x86_64/
|
||||||
|
|
||||||
|
|
||||||
|
## ----------- ##
|
||||||
|
## Core tests. ##
|
||||||
|
## ----------- ##
|
||||||
|
|
||||||
|
configure:2243: looking for aux files: install-sh config.guess config.sub
|
||||||
|
configure:2256: trying ../build-aux/
|
||||||
|
configure:2267: ../build-aux/install-sh found
|
||||||
|
configure:2285: ../build-aux/config.guess found
|
||||||
|
configure:2285: ../build-aux/config.sub found
|
||||||
|
configure:2421: checking build system type
|
||||||
|
configure:2437: result: x86_64-pc-linux-gnu
|
||||||
|
configure:2457: checking host system type
|
||||||
|
configure:2472: result: x86_64-pc-linux-gnu
|
||||||
|
configure:2592: checking for gcc
|
||||||
|
configure:2613: found /usr/bin/gcc
|
||||||
|
configure:2625: result: gcc
|
||||||
|
configure:2984: checking for C compiler version
|
||||||
|
configure:2993: gcc --version >&5
|
||||||
|
gcc (GCC) 15.2.1 20260209
|
||||||
|
Copyright (C) 2025 Free Software Foundation, Inc.
|
||||||
|
This is free software; see the source for copying conditions. There is NO
|
||||||
|
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
configure:3004: $? = 0
|
||||||
|
configure:2993: gcc -v >&5
|
||||||
|
Using built-in specs.
|
||||||
|
COLLECT_GCC=gcc
|
||||||
|
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/lto-wrapper
|
||||||
|
Target: x86_64-pc-linux-gnu
|
||||||
|
Configured with: /build/gcc/src/gcc/configure --enable-languages=ada,c,c++,d,fortran,go,lto,m2,objc,obj-c++,rust,cobol --enable-bootstrap --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://gitlab.archlinux.org/archlinux/packaging/packages/gcc/-/issues --with-build-config=bootstrap-lto --with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit --enable-cet=auto --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-libstdcxx-backtrace --enable-link-serialization=1 --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-werror
|
||||||
|
Thread model: posix
|
||||||
|
Supported LTO compression algorithms: zlib zstd
|
||||||
|
gcc version 15.2.1 20260209 (GCC)
|
||||||
|
configure:3004: $? = 0
|
||||||
|
configure:2993: gcc -V >&5
|
||||||
|
gcc: error: unrecognized command-line option '-V'
|
||||||
|
gcc: fatal error: no input files
|
||||||
|
compilation terminated.
|
||||||
|
configure:3004: $? = 1
|
||||||
|
configure:2993: gcc -qversion >&5
|
||||||
|
gcc: error: unrecognized command-line option '-qversion'; did you mean '--version'?
|
||||||
|
gcc: fatal error: no input files
|
||||||
|
compilation terminated.
|
||||||
|
configure:3004: $? = 1
|
||||||
|
configure:2993: gcc -version >&5
|
||||||
|
gcc: error: unrecognized command-line option '-version'
|
||||||
|
gcc: fatal error: no input files
|
||||||
|
compilation terminated.
|
||||||
|
configure:3004: $? = 1
|
||||||
|
configure:3024: checking whether the C compiler works
|
||||||
|
configure:3046: gcc -g -O2 -pipe conftest.c >&5
|
||||||
|
configure:3050: $? = 0
|
||||||
|
configure:3101: result: yes
|
||||||
|
configure:3105: checking for C compiler default output file name
|
||||||
|
configure:3107: result: a.out
|
||||||
|
configure:3113: checking for suffix of executables
|
||||||
|
configure:3120: gcc -o conftest -g -O2 -pipe conftest.c >&5
|
||||||
|
configure:3124: $? = 0
|
||||||
|
configure:3148: result:
|
||||||
|
configure:3172: checking whether we are cross compiling
|
||||||
|
configure:3180: gcc -o conftest -g -O2 -pipe conftest.c >&5
|
||||||
|
configure:3184: $? = 0
|
||||||
|
configure:3191: ./conftest
|
||||||
|
configure:3195: $? = 0
|
||||||
|
configure:3210: result: no
|
||||||
|
configure:3216: checking for suffix of object files
|
||||||
|
configure:3239: gcc -c -g -O2 -pipe conftest.c >&5
|
||||||
|
configure:3243: $? = 0
|
||||||
|
configure:3267: result: o
|
||||||
|
configure:3271: checking whether the compiler supports GNU C
|
||||||
|
configure:3291: gcc -c -g -O2 -pipe conftest.c >&5
|
||||||
|
configure:3291: $? = 0
|
||||||
|
configure:3303: result: yes
|
||||||
|
configure:3314: checking whether gcc accepts -g
|
||||||
|
configure:3335: gcc -c -g conftest.c >&5
|
||||||
|
configure:3335: $? = 0
|
||||||
|
configure:3382: result: yes
|
||||||
|
configure:3402: checking for gcc option to enable C11 features
|
||||||
|
configure:3417: gcc -c -g -O2 -pipe conftest.c >&5
|
||||||
|
configure:3417: $? = 0
|
||||||
|
configure:3436: result: none needed
|
||||||
|
configure:3572: checking for a race-free mkdir -p
|
||||||
|
configure:3615: result: /usr/bin/mkdir -p
|
||||||
|
configure:3634: checking for a BSD-compatible install
|
||||||
|
configure:3708: result: /usr/bin/install -c
|
||||||
|
configure:3720: checking for a sed that does not truncate output
|
||||||
|
configure:3792: result: /usr/bin/sed
|
||||||
|
configure:3798: checking for grep that handles long lines and -e
|
||||||
|
configure:3864: result: /usr/bin/grep
|
||||||
|
configure:3874: checking for gawk
|
||||||
|
configure:3895: found /usr/bin/gawk
|
||||||
|
configure:3907: result: gawk
|
||||||
|
configure:3922: checking for find
|
||||||
|
configure:3943: found /usr/bin/find
|
||||||
|
configure:3955: result: yes
|
||||||
|
configure:4085: checking for strip
|
||||||
|
configure:4106: found /usr/bin/strip
|
||||||
|
configure:4118: result: strip
|
||||||
|
configure:4213: checking for stdio.h
|
||||||
|
configure:4213: gcc -c -g -O2 -pipe conftest.c >&5
|
||||||
|
configure:4213: $? = 0
|
||||||
|
configure:4213: result: yes
|
||||||
|
configure:4213: checking for stdlib.h
|
||||||
|
configure:4213: gcc -c -g -O2 -pipe conftest.c >&5
|
||||||
|
configure:4213: $? = 0
|
||||||
|
configure:4213: result: yes
|
||||||
|
configure:4213: checking for string.h
|
||||||
|
configure:4213: gcc -c -g -O2 -pipe conftest.c >&5
|
||||||
|
configure:4213: $? = 0
|
||||||
|
configure:4213: result: yes
|
||||||
|
configure:4213: checking for inttypes.h
|
||||||
|
configure:4213: gcc -c -g -O2 -pipe conftest.c >&5
|
||||||
|
configure:4213: $? = 0
|
||||||
|
configure:4213: result: yes
|
||||||
|
configure:4213: checking for stdint.h
|
||||||
|
configure:4213: gcc -c -g -O2 -pipe conftest.c >&5
|
||||||
|
configure:4213: $? = 0
|
||||||
|
configure:4213: result: yes
|
||||||
|
configure:4213: checking for strings.h
|
||||||
|
configure:4213: gcc -c -g -O2 -pipe conftest.c >&5
|
||||||
|
configure:4213: $? = 0
|
||||||
|
configure:4213: result: yes
|
||||||
|
configure:4213: checking for sys/stat.h
|
||||||
|
configure:4213: gcc -c -g -O2 -pipe conftest.c >&5
|
||||||
|
configure:4213: $? = 0
|
||||||
|
configure:4213: result: yes
|
||||||
|
configure:4213: checking for sys/types.h
|
||||||
|
configure:4213: gcc -c -g -O2 -pipe conftest.c >&5
|
||||||
|
configure:4213: $? = 0
|
||||||
|
configure:4213: result: yes
|
||||||
|
configure:4213: checking for unistd.h
|
||||||
|
configure:4213: gcc -c -g -O2 -pipe conftest.c >&5
|
||||||
|
configure:4213: $? = 0
|
||||||
|
configure:4213: result: yes
|
||||||
|
configure:4241: checking for stdio.h
|
||||||
|
configure:4241: result: yes
|
||||||
|
configure:4241: checking for stdlib.h
|
||||||
|
configure:4241: result: yes
|
||||||
|
configure:4241: checking for stdint.h
|
||||||
|
configure:4241: result: yes
|
||||||
|
configure:4241: checking for stddef.h
|
||||||
|
configure:4241: gcc -c -g -O2 -pipe conftest.c >&5
|
||||||
|
configure:4241: $? = 0
|
||||||
|
configure:4241: result: yes
|
||||||
|
configure:4241: checking for stdbool.h
|
||||||
|
configure:4241: gcc -c -g -O2 -pipe conftest.c >&5
|
||||||
|
configure:4241: $? = 0
|
||||||
|
configure:4241: result: yes
|
||||||
|
configure:4241: checking for stdarg.h
|
||||||
|
configure:4241: gcc -c -g -O2 -pipe conftest.c >&5
|
||||||
|
configure:4241: $? = 0
|
||||||
|
configure:4241: result: yes
|
||||||
|
configure:4241: checking for string.h
|
||||||
|
configure:4241: result: yes
|
||||||
|
configure:4241: checking for errno.h
|
||||||
|
configure:4241: gcc -c -g -O2 -pipe conftest.c >&5
|
||||||
|
configure:4241: $? = 0
|
||||||
|
configure:4241: result: yes
|
||||||
|
configure:4241: checking for inttypes.h
|
||||||
|
configure:4241: result: yes
|
||||||
|
configure:4241: checking for limits.h
|
||||||
|
configure:4241: gcc -c -g -O2 -pipe conftest.c >&5
|
||||||
|
configure:4241: $? = 0
|
||||||
|
configure:4241: result: yes
|
||||||
|
configure:4241: checking for time.h
|
||||||
|
configure:4241: gcc -c -g -O2 -pipe conftest.c >&5
|
||||||
|
configure:4241: $? = 0
|
||||||
|
configure:4241: result: yes
|
||||||
|
configure:4302: checking for clang
|
||||||
|
configure:4323: found /usr/bin/clang
|
||||||
|
configure:4335: result: yes
|
||||||
|
configure:4538: checking for ld
|
||||||
|
configure:4559: found /usr/bin/ld
|
||||||
|
configure:4571: result: yes
|
||||||
|
configure:4774: checking for objcopy
|
||||||
|
configure:4795: found /usr/bin/objcopy
|
||||||
|
configure:4807: result: yes
|
||||||
|
configure:5010: checking for objdump
|
||||||
|
configure:5031: found /usr/bin/objdump
|
||||||
|
configure:5043: result: yes
|
||||||
|
configure:5246: checking for readelf
|
||||||
|
configure:5267: found /usr/bin/readelf
|
||||||
|
configure:5279: result: yes
|
||||||
|
configure:5949: creating ./config.status
|
||||||
|
|
||||||
|
## ---------------------- ##
|
||||||
|
## Running config.status. ##
|
||||||
|
## ---------------------- ##
|
||||||
|
|
||||||
|
This file was extended by ZOVboot config.status UNVERSIONED, which was
|
||||||
|
generated by GNU Autoconf 2.72. Invocation command line was
|
||||||
|
|
||||||
|
CONFIG_FILES =
|
||||||
|
CONFIG_HEADERS =
|
||||||
|
CONFIG_LINKS =
|
||||||
|
CONFIG_COMMANDS =
|
||||||
|
$ ./config.status
|
||||||
|
|
||||||
|
on archlinux
|
||||||
|
|
||||||
|
config.status:777: creating man/man1/limine.1
|
||||||
|
config.status:777: creating GNUmakefile
|
||||||
|
config.status:777: creating config.h
|
||||||
|
|
||||||
|
## ---------------- ##
|
||||||
|
## Cache variables. ##
|
||||||
|
## ---------------- ##
|
||||||
|
|
||||||
|
ac_cv_build=x86_64-pc-linux-gnu
|
||||||
|
ac_cv_c_compiler_gnu=yes
|
||||||
|
ac_cv_env_CC_FOR_TARGET_set=
|
||||||
|
ac_cv_env_CC_FOR_TARGET_value=
|
||||||
|
ac_cv_env_CC_set=
|
||||||
|
ac_cv_env_CC_value=
|
||||||
|
ac_cv_env_CFLAGS_FOR_TARGET_set=
|
||||||
|
ac_cv_env_CFLAGS_FOR_TARGET_value=
|
||||||
|
ac_cv_env_CFLAGS_set=
|
||||||
|
ac_cv_env_CFLAGS_value=
|
||||||
|
ac_cv_env_CPPFLAGS_FOR_TARGET_set=
|
||||||
|
ac_cv_env_CPPFLAGS_FOR_TARGET_value=
|
||||||
|
ac_cv_env_CPPFLAGS_set=
|
||||||
|
ac_cv_env_CPPFLAGS_value=
|
||||||
|
ac_cv_env_LDFLAGS_FOR_TARGET_set=
|
||||||
|
ac_cv_env_LDFLAGS_FOR_TARGET_value=
|
||||||
|
ac_cv_env_LDFLAGS_set=
|
||||||
|
ac_cv_env_LDFLAGS_value=
|
||||||
|
ac_cv_env_LD_FOR_TARGET_set=set
|
||||||
|
ac_cv_env_LD_FOR_TARGET_value=ld
|
||||||
|
ac_cv_env_LIBS_set=
|
||||||
|
ac_cv_env_LIBS_value=
|
||||||
|
ac_cv_env_NASMFLAGS_FOR_TARGET_set=
|
||||||
|
ac_cv_env_NASMFLAGS_FOR_TARGET_value=
|
||||||
|
ac_cv_env_OBJCOPY_FOR_TARGET_set=set
|
||||||
|
ac_cv_env_OBJCOPY_FOR_TARGET_value=objcopy
|
||||||
|
ac_cv_env_OBJDUMP_FOR_TARGET_set=set
|
||||||
|
ac_cv_env_OBJDUMP_FOR_TARGET_value=objdump
|
||||||
|
ac_cv_env_READELF_FOR_TARGET_set=set
|
||||||
|
ac_cv_env_READELF_FOR_TARGET_value=readelf
|
||||||
|
ac_cv_env_STRIP_set=
|
||||||
|
ac_cv_env_STRIP_value=
|
||||||
|
ac_cv_env_TOOLCHAIN_FOR_TARGET_set=
|
||||||
|
ac_cv_env_TOOLCHAIN_FOR_TARGET_value=
|
||||||
|
ac_cv_env_build_alias_set=
|
||||||
|
ac_cv_env_build_alias_value=
|
||||||
|
ac_cv_env_host_alias_set=
|
||||||
|
ac_cv_env_host_alias_value=
|
||||||
|
ac_cv_env_target_alias_set=
|
||||||
|
ac_cv_env_target_alias_value=
|
||||||
|
ac_cv_header_errno_h=yes
|
||||||
|
ac_cv_header_inttypes_h=yes
|
||||||
|
ac_cv_header_limits_h=yes
|
||||||
|
ac_cv_header_stdarg_h=yes
|
||||||
|
ac_cv_header_stdbool_h=yes
|
||||||
|
ac_cv_header_stddef_h=yes
|
||||||
|
ac_cv_header_stdint_h=yes
|
||||||
|
ac_cv_header_stdio_h=yes
|
||||||
|
ac_cv_header_stdlib_h=yes
|
||||||
|
ac_cv_header_string_h=yes
|
||||||
|
ac_cv_header_strings_h=yes
|
||||||
|
ac_cv_header_sys_stat_h=yes
|
||||||
|
ac_cv_header_sys_types_h=yes
|
||||||
|
ac_cv_header_time_h=yes
|
||||||
|
ac_cv_header_unistd_h=yes
|
||||||
|
ac_cv_host=x86_64-pc-linux-gnu
|
||||||
|
ac_cv_objext=o
|
||||||
|
ac_cv_path_GREP=/usr/bin/grep
|
||||||
|
ac_cv_path_SED=/usr/bin/sed
|
||||||
|
ac_cv_path_install='/usr/bin/install -c'
|
||||||
|
ac_cv_path_mkdir=/usr/bin/mkdir
|
||||||
|
ac_cv_prog_AWK=gawk
|
||||||
|
ac_cv_prog_CC_FOR_TARGET_FOUND=yes
|
||||||
|
ac_cv_prog_FIND_FOUND=yes
|
||||||
|
ac_cv_prog_LD_FOR_TARGET_FOUND=yes
|
||||||
|
ac_cv_prog_OBJCOPY_FOR_TARGET_FOUND=yes
|
||||||
|
ac_cv_prog_OBJDUMP_FOR_TARGET_FOUND=yes
|
||||||
|
ac_cv_prog_READELF_FOR_TARGET_FOUND=yes
|
||||||
|
ac_cv_prog_ac_ct_CC=gcc
|
||||||
|
ac_cv_prog_ac_ct_STRIP_FOUND=strip
|
||||||
|
ac_cv_prog_cc_c11=
|
||||||
|
ac_cv_prog_cc_g=yes
|
||||||
|
ac_cv_prog_cc_stdc=
|
||||||
|
|
||||||
|
## ----------------- ##
|
||||||
|
## Output variables. ##
|
||||||
|
## ----------------- ##
|
||||||
|
|
||||||
|
AWK='gawk'
|
||||||
|
BUILDDIR='/home/wpng1337/Zovboot/ZOVboot/limine/build-host'
|
||||||
|
BUILD_BIOS=''
|
||||||
|
BUILD_BIOS_CD='no'
|
||||||
|
BUILD_BIOS_PXE='no'
|
||||||
|
BUILD_UEFI_AARCH64=''
|
||||||
|
BUILD_UEFI_CD='no'
|
||||||
|
BUILD_UEFI_IA32=''
|
||||||
|
BUILD_UEFI_LOONGARCH64=''
|
||||||
|
BUILD_UEFI_RISCV64=''
|
||||||
|
BUILD_UEFI_X86_64=''
|
||||||
|
CC='gcc'
|
||||||
|
CC_FOR_TARGET='clang'
|
||||||
|
CC_FOR_TARGET_FOUND='yes'
|
||||||
|
CFLAGS='-g -O2 -pipe'
|
||||||
|
CFLAGS_FOR_TARGET=' -g -O2 -pipe'
|
||||||
|
CPPFLAGS=''
|
||||||
|
CPPFLAGS_FOR_TARGET=''
|
||||||
|
DEFS='-DPACKAGE_NAME=\"ZOVboot\" -DPACKAGE_TARNAME=\"zovboot\" -DPACKAGE_VERSION=\"UNVERSIONED\" -DPACKAGE_STRING=\"ZOVboot\ UNVERSIONED\" -DPACKAGE_BUGREPORT=\"https://git.bebrik.xyz/Zhirik1337/ZOVboot\" -DPACKAGE_URL=\"https://git.bebrik.xyz/Zhirik1337/ZOVboot\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STDINT_H=1 -DHAVE_STDDEF_H=1 -DHAVE_STDBOOL_H=1 -DHAVE_STDARG_H=1 -DHAVE_STRING_H=1 -DHAVE_ERRNO_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_TIME_H=1'
|
||||||
|
ECHO_C=''
|
||||||
|
ECHO_N='-n'
|
||||||
|
ECHO_T=''
|
||||||
|
EXEEXT=''
|
||||||
|
FIND_FOUND='yes'
|
||||||
|
GREP='/usr/bin/grep'
|
||||||
|
GZIP_FOUND=''
|
||||||
|
INSTALL_DATA='${INSTALL} -m 644'
|
||||||
|
INSTALL_PROGRAM='${INSTALL}'
|
||||||
|
INSTALL_SCRIPT='${INSTALL}'
|
||||||
|
LDFLAGS=''
|
||||||
|
LDFLAGS_FOR_TARGET=''
|
||||||
|
LD_FOR_TARGET='ld'
|
||||||
|
LD_FOR_TARGET_FOUND='yes'
|
||||||
|
LIBOBJS=''
|
||||||
|
LIBS=''
|
||||||
|
LIMINE_COPYRIGHT='Copyright (C) 2019-2026 Mintsuki and contributors.'
|
||||||
|
LTLIBOBJS=''
|
||||||
|
MKDIR_P='/usr/bin/mkdir -p'
|
||||||
|
MTOOLS_FOUND=''
|
||||||
|
NASMFLAGS_FOR_TARGET='-g'
|
||||||
|
NASM_FOUND=''
|
||||||
|
OBJCOPY_FOR_TARGET='objcopy'
|
||||||
|
OBJCOPY_FOR_TARGET_FOUND='yes'
|
||||||
|
OBJDUMP_FOR_TARGET='objdump'
|
||||||
|
OBJDUMP_FOR_TARGET_FOUND='yes'
|
||||||
|
OBJEXT='o'
|
||||||
|
PACKAGE_BUGREPORT='https://git.bebrik.xyz/Zhirik1337/ZOVboot'
|
||||||
|
PACKAGE_NAME='ZOVboot'
|
||||||
|
PACKAGE_STRING='ZOVboot UNVERSIONED'
|
||||||
|
PACKAGE_TARNAME='zovboot'
|
||||||
|
PACKAGE_URL='https://git.bebrik.xyz/Zhirik1337/ZOVboot'
|
||||||
|
PACKAGE_VERSION='UNVERSIONED'
|
||||||
|
PATH_SEPARATOR=':'
|
||||||
|
READELF_FOR_TARGET='readelf'
|
||||||
|
READELF_FOR_TARGET_FOUND='yes'
|
||||||
|
REGEN_DATE='UNVERSIONED'
|
||||||
|
SED='/usr/bin/sed'
|
||||||
|
SHELL='/bin/sh'
|
||||||
|
SOURCE_DATE_EPOCH='1546297200'
|
||||||
|
SOURCE_DATE_EPOCH_TOUCH='201901010000'
|
||||||
|
SRCDIR='/home/wpng1337/Zovboot/ZOVboot/limine'
|
||||||
|
STRIP='strip'
|
||||||
|
STRIP_FOUND='yes'
|
||||||
|
TOOLCHAIN_FOR_TARGET='llvm-'
|
||||||
|
WERROR_FLAG='-Wno-error'
|
||||||
|
ac_ct_CC='gcc'
|
||||||
|
bindir='${exec_prefix}/bin'
|
||||||
|
build='x86_64-pc-linux-gnu'
|
||||||
|
build_alias=''
|
||||||
|
build_cpu='x86_64'
|
||||||
|
build_os='linux-gnu'
|
||||||
|
build_vendor='pc'
|
||||||
|
datadir='${datarootdir}'
|
||||||
|
datarootdir='${prefix}/share'
|
||||||
|
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
|
||||||
|
dvidir='${docdir}'
|
||||||
|
exec_prefix='${prefix}'
|
||||||
|
host='x86_64-pc-linux-gnu'
|
||||||
|
host_alias=''
|
||||||
|
host_cpu='x86_64'
|
||||||
|
host_os='linux-gnu'
|
||||||
|
host_vendor='pc'
|
||||||
|
htmldir='${docdir}'
|
||||||
|
includedir='${prefix}/include'
|
||||||
|
infodir='${datarootdir}/info'
|
||||||
|
libdir='${exec_prefix}/lib'
|
||||||
|
libexecdir='${exec_prefix}/libexec'
|
||||||
|
localedir='${datarootdir}/locale'
|
||||||
|
localstatedir='${prefix}/var'
|
||||||
|
mandir='${datarootdir}/man'
|
||||||
|
oldincludedir='/usr/include'
|
||||||
|
pdfdir='${docdir}'
|
||||||
|
prefix='/usr/local'
|
||||||
|
program_transform_name='s,x,x,'
|
||||||
|
psdir='${docdir}'
|
||||||
|
runstatedir='${localstatedir}/run'
|
||||||
|
sbindir='${exec_prefix}/sbin'
|
||||||
|
sharedstatedir='${prefix}/com'
|
||||||
|
sysconfdir='${prefix}/etc'
|
||||||
|
target_alias=''
|
||||||
|
|
||||||
|
## ----------- ##
|
||||||
|
## confdefs.h. ##
|
||||||
|
## ----------- ##
|
||||||
|
|
||||||
|
/* confdefs.h */
|
||||||
|
#define PACKAGE_NAME "ZOVboot"
|
||||||
|
#define PACKAGE_TARNAME "zovboot"
|
||||||
|
#define PACKAGE_VERSION "UNVERSIONED"
|
||||||
|
#define PACKAGE_STRING "ZOVboot UNVERSIONED"
|
||||||
|
#define PACKAGE_BUGREPORT "https://git.bebrik.xyz/Zhirik1337/ZOVboot"
|
||||||
|
#define PACKAGE_URL "https://git.bebrik.xyz/Zhirik1337/ZOVboot"
|
||||||
|
#define HAVE_STDIO_H 1
|
||||||
|
#define HAVE_STDLIB_H 1
|
||||||
|
#define HAVE_STRING_H 1
|
||||||
|
#define HAVE_INTTYPES_H 1
|
||||||
|
#define HAVE_STDINT_H 1
|
||||||
|
#define HAVE_STRINGS_H 1
|
||||||
|
#define HAVE_SYS_STAT_H 1
|
||||||
|
#define HAVE_SYS_TYPES_H 1
|
||||||
|
#define HAVE_UNISTD_H 1
|
||||||
|
#define STDC_HEADERS 1
|
||||||
|
#define HAVE_STDIO_H 1
|
||||||
|
#define HAVE_STDLIB_H 1
|
||||||
|
#define HAVE_STDINT_H 1
|
||||||
|
#define HAVE_STDDEF_H 1
|
||||||
|
#define HAVE_STDBOOL_H 1
|
||||||
|
#define HAVE_STDARG_H 1
|
||||||
|
#define HAVE_STRING_H 1
|
||||||
|
#define HAVE_ERRNO_H 1
|
||||||
|
#define HAVE_INTTYPES_H 1
|
||||||
|
#define HAVE_LIMITS_H 1
|
||||||
|
#define HAVE_TIME_H 1
|
||||||
|
|
||||||
|
configure: exit 0
|
||||||
940
limine/build-host/config.status
Executable file
940
limine/build-host/config.status
Executable file
|
|
@ -0,0 +1,940 @@
|
||||||
|
#! /bin/sh
|
||||||
|
# Generated by configure.
|
||||||
|
# Run this file to recreate the current configuration.
|
||||||
|
# Compiler output produced by configure, useful for debugging
|
||||||
|
# configure, is in config.log if it exists.
|
||||||
|
|
||||||
|
debug=false
|
||||||
|
ac_cs_recheck=false
|
||||||
|
ac_cs_silent=false
|
||||||
|
|
||||||
|
SHELL=${CONFIG_SHELL-/bin/sh}
|
||||||
|
export SHELL
|
||||||
|
## -------------------- ##
|
||||||
|
## M4sh Initialization. ##
|
||||||
|
## -------------------- ##
|
||||||
|
|
||||||
|
# Be more Bourne compatible
|
||||||
|
DUALCASE=1; export DUALCASE # for MKS sh
|
||||||
|
if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
|
||||||
|
then :
|
||||||
|
emulate sh
|
||||||
|
NULLCMD=:
|
||||||
|
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
||||||
|
# is contrary to our usage. Disable this feature.
|
||||||
|
alias -g '${1+"$@"}'='"$@"'
|
||||||
|
setopt NO_GLOB_SUBST
|
||||||
|
else case e in #(
|
||||||
|
e) case `(set -o) 2>/dev/null` in #(
|
||||||
|
*posix*) :
|
||||||
|
set -o posix ;; #(
|
||||||
|
*) :
|
||||||
|
;;
|
||||||
|
esac ;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# Reset variables that may have inherited troublesome values from
|
||||||
|
# the environment.
|
||||||
|
|
||||||
|
# IFS needs to be set, to space, tab, and newline, in precisely that order.
|
||||||
|
# (If _AS_PATH_WALK were called with IFS unset, it would have the
|
||||||
|
# side effect of setting IFS to empty, thus disabling word splitting.)
|
||||||
|
# Quoting is to prevent editors from complaining about space-tab.
|
||||||
|
as_nl='
|
||||||
|
'
|
||||||
|
export as_nl
|
||||||
|
IFS=" "" $as_nl"
|
||||||
|
|
||||||
|
PS1='$ '
|
||||||
|
PS2='> '
|
||||||
|
PS4='+ '
|
||||||
|
|
||||||
|
# Ensure predictable behavior from utilities with locale-dependent output.
|
||||||
|
LC_ALL=C
|
||||||
|
export LC_ALL
|
||||||
|
LANGUAGE=C
|
||||||
|
export LANGUAGE
|
||||||
|
|
||||||
|
# We cannot yet rely on "unset" to work, but we need these variables
|
||||||
|
# to be unset--not just set to an empty or harmless value--now, to
|
||||||
|
# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
|
||||||
|
# also avoids known problems related to "unset" and subshell syntax
|
||||||
|
# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
|
||||||
|
for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
|
||||||
|
do eval test \${$as_var+y} \
|
||||||
|
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
||||||
|
done
|
||||||
|
|
||||||
|
# Ensure that fds 0, 1, and 2 are open.
|
||||||
|
if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
|
||||||
|
if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
|
||||||
|
if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
|
||||||
|
|
||||||
|
# The user is always right.
|
||||||
|
if ${PATH_SEPARATOR+false} :; then
|
||||||
|
PATH_SEPARATOR=:
|
||||||
|
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
||||||
|
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
||||||
|
PATH_SEPARATOR=';'
|
||||||
|
}
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
# Find who we are. Look in the path if we contain no directory separator.
|
||||||
|
as_myself=
|
||||||
|
case $0 in #((
|
||||||
|
*[\\/]* ) as_myself=$0 ;;
|
||||||
|
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
||||||
|
for as_dir in $PATH
|
||||||
|
do
|
||||||
|
IFS=$as_save_IFS
|
||||||
|
case $as_dir in #(((
|
||||||
|
'') as_dir=./ ;;
|
||||||
|
*/) ;;
|
||||||
|
*) as_dir=$as_dir/ ;;
|
||||||
|
esac
|
||||||
|
test -r "$as_dir$0" && as_myself=$as_dir$0 && break
|
||||||
|
done
|
||||||
|
IFS=$as_save_IFS
|
||||||
|
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
# We did not find ourselves, most probably we were run as 'sh COMMAND'
|
||||||
|
# in which case we are not to be found in the path.
|
||||||
|
if test "x$as_myself" = x; then
|
||||||
|
as_myself=$0
|
||||||
|
fi
|
||||||
|
if test ! -f "$as_myself"; then
|
||||||
|
printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# as_fn_error STATUS ERROR [LINENO LOG_FD]
|
||||||
|
# ----------------------------------------
|
||||||
|
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
|
||||||
|
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
|
||||||
|
# script with STATUS, using 1 if that was 0.
|
||||||
|
as_fn_error ()
|
||||||
|
{
|
||||||
|
as_status=$1; test $as_status -eq 0 && as_status=1
|
||||||
|
if test "$4"; then
|
||||||
|
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
||||||
|
printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
|
||||||
|
fi
|
||||||
|
printf "%s\n" "$as_me: error: $2" >&2
|
||||||
|
as_fn_exit $as_status
|
||||||
|
} # as_fn_error
|
||||||
|
|
||||||
|
|
||||||
|
# as_fn_set_status STATUS
|
||||||
|
# -----------------------
|
||||||
|
# Set $? to STATUS, without forking.
|
||||||
|
as_fn_set_status ()
|
||||||
|
{
|
||||||
|
return $1
|
||||||
|
} # as_fn_set_status
|
||||||
|
|
||||||
|
# as_fn_exit STATUS
|
||||||
|
# -----------------
|
||||||
|
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
|
||||||
|
as_fn_exit ()
|
||||||
|
{
|
||||||
|
set +e
|
||||||
|
as_fn_set_status $1
|
||||||
|
exit $1
|
||||||
|
} # as_fn_exit
|
||||||
|
|
||||||
|
# as_fn_unset VAR
|
||||||
|
# ---------------
|
||||||
|
# Portably unset VAR.
|
||||||
|
as_fn_unset ()
|
||||||
|
{
|
||||||
|
{ eval $1=; unset $1;}
|
||||||
|
}
|
||||||
|
as_unset=as_fn_unset
|
||||||
|
|
||||||
|
# as_fn_append VAR VALUE
|
||||||
|
# ----------------------
|
||||||
|
# Append the text in VALUE to the end of the definition contained in VAR. Take
|
||||||
|
# advantage of any shell optimizations that allow amortized linear growth over
|
||||||
|
# repeated appends, instead of the typical quadratic growth present in naive
|
||||||
|
# implementations.
|
||||||
|
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
|
||||||
|
then :
|
||||||
|
eval 'as_fn_append ()
|
||||||
|
{
|
||||||
|
eval $1+=\$2
|
||||||
|
}'
|
||||||
|
else case e in #(
|
||||||
|
e) as_fn_append ()
|
||||||
|
{
|
||||||
|
eval $1=\$$1\$2
|
||||||
|
} ;;
|
||||||
|
esac
|
||||||
|
fi # as_fn_append
|
||||||
|
|
||||||
|
# as_fn_arith ARG...
|
||||||
|
# ------------------
|
||||||
|
# Perform arithmetic evaluation on the ARGs, and store the result in the
|
||||||
|
# global $as_val. Take advantage of shells that can avoid forks. The arguments
|
||||||
|
# must be portable across $(()) and expr.
|
||||||
|
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
|
||||||
|
then :
|
||||||
|
eval 'as_fn_arith ()
|
||||||
|
{
|
||||||
|
as_val=$(( $* ))
|
||||||
|
}'
|
||||||
|
else case e in #(
|
||||||
|
e) as_fn_arith ()
|
||||||
|
{
|
||||||
|
as_val=`expr "$@" || test $? -eq 1`
|
||||||
|
} ;;
|
||||||
|
esac
|
||||||
|
fi # as_fn_arith
|
||||||
|
|
||||||
|
|
||||||
|
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
||||||
|
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
||||||
|
as_expr=expr
|
||||||
|
else
|
||||||
|
as_expr=false
|
||||||
|
fi
|
||||||
|
|
||||||
|
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
|
||||||
|
as_basename=basename
|
||||||
|
else
|
||||||
|
as_basename=false
|
||||||
|
fi
|
||||||
|
|
||||||
|
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
||||||
|
as_dirname=dirname
|
||||||
|
else
|
||||||
|
as_dirname=false
|
||||||
|
fi
|
||||||
|
|
||||||
|
as_me=`$as_basename -- "$0" ||
|
||||||
|
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
||||||
|
X"$0" : 'X\(//\)$' \| \
|
||||||
|
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
||||||
|
printf "%s\n" X/"$0" |
|
||||||
|
sed '/^.*\/\([^/][^/]*\)\/*$/{
|
||||||
|
s//\1/
|
||||||
|
q
|
||||||
|
}
|
||||||
|
/^X\/\(\/\/\)$/{
|
||||||
|
s//\1/
|
||||||
|
q
|
||||||
|
}
|
||||||
|
/^X\/\(\/\).*/{
|
||||||
|
s//\1/
|
||||||
|
q
|
||||||
|
}
|
||||||
|
s/.*/./; q'`
|
||||||
|
|
||||||
|
# Avoid depending upon Character Ranges.
|
||||||
|
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
||||||
|
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
||||||
|
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
||||||
|
as_cr_digits='0123456789'
|
||||||
|
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
||||||
|
|
||||||
|
|
||||||
|
# Determine whether it's possible to make 'echo' print without a newline.
|
||||||
|
# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
|
||||||
|
# for compatibility with existing Makefiles.
|
||||||
|
ECHO_C= ECHO_N= ECHO_T=
|
||||||
|
case `echo -n x` in #(((((
|
||||||
|
-n*)
|
||||||
|
case `echo 'xy\c'` in
|
||||||
|
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
||||||
|
xy) ECHO_C='\c';;
|
||||||
|
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
|
||||||
|
ECHO_T=' ';;
|
||||||
|
esac;;
|
||||||
|
*)
|
||||||
|
ECHO_N='-n';;
|
||||||
|
esac
|
||||||
|
|
||||||
|
# For backward compatibility with old third-party macros, we provide
|
||||||
|
# the shell variables $as_echo and $as_echo_n. New code should use
|
||||||
|
# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
|
||||||
|
as_echo='printf %s\n'
|
||||||
|
as_echo_n='printf %s'
|
||||||
|
|
||||||
|
rm -f conf$$ conf$$.exe conf$$.file
|
||||||
|
if test -d conf$$.dir; then
|
||||||
|
rm -f conf$$.dir/conf$$.file
|
||||||
|
else
|
||||||
|
rm -f conf$$.dir
|
||||||
|
mkdir conf$$.dir 2>/dev/null
|
||||||
|
fi
|
||||||
|
if (echo >conf$$.file) 2>/dev/null; then
|
||||||
|
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
||||||
|
as_ln_s='ln -s'
|
||||||
|
# ... but there are two gotchas:
|
||||||
|
# 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
|
||||||
|
# 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
|
||||||
|
# In both cases, we have to default to 'cp -pR'.
|
||||||
|
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
||||||
|
as_ln_s='cp -pR'
|
||||||
|
elif ln conf$$.file conf$$ 2>/dev/null; then
|
||||||
|
as_ln_s=ln
|
||||||
|
else
|
||||||
|
as_ln_s='cp -pR'
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
as_ln_s='cp -pR'
|
||||||
|
fi
|
||||||
|
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
||||||
|
rmdir conf$$.dir 2>/dev/null
|
||||||
|
|
||||||
|
|
||||||
|
# as_fn_mkdir_p
|
||||||
|
# -------------
|
||||||
|
# Create "$as_dir" as a directory, including parents if necessary.
|
||||||
|
as_fn_mkdir_p ()
|
||||||
|
{
|
||||||
|
|
||||||
|
case $as_dir in #(
|
||||||
|
-*) as_dir=./$as_dir;;
|
||||||
|
esac
|
||||||
|
test -d "$as_dir" || eval $as_mkdir_p || {
|
||||||
|
as_dirs=
|
||||||
|
while :; do
|
||||||
|
case $as_dir in #(
|
||||||
|
*\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
||||||
|
*) as_qdir=$as_dir;;
|
||||||
|
esac
|
||||||
|
as_dirs="'$as_qdir' $as_dirs"
|
||||||
|
as_dir=`$as_dirname -- "$as_dir" ||
|
||||||
|
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
||||||
|
X"$as_dir" : 'X\(//\)[^/]' \| \
|
||||||
|
X"$as_dir" : 'X\(//\)$' \| \
|
||||||
|
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
||||||
|
printf "%s\n" X"$as_dir" |
|
||||||
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
||||||
|
s//\1/
|
||||||
|
q
|
||||||
|
}
|
||||||
|
/^X\(\/\/\)[^/].*/{
|
||||||
|
s//\1/
|
||||||
|
q
|
||||||
|
}
|
||||||
|
/^X\(\/\/\)$/{
|
||||||
|
s//\1/
|
||||||
|
q
|
||||||
|
}
|
||||||
|
/^X\(\/\).*/{
|
||||||
|
s//\1/
|
||||||
|
q
|
||||||
|
}
|
||||||
|
s/.*/./; q'`
|
||||||
|
test -d "$as_dir" && break
|
||||||
|
done
|
||||||
|
test -z "$as_dirs" || eval "mkdir $as_dirs"
|
||||||
|
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
|
||||||
|
|
||||||
|
|
||||||
|
} # as_fn_mkdir_p
|
||||||
|
if mkdir -p . 2>/dev/null; then
|
||||||
|
as_mkdir_p='mkdir -p "$as_dir"'
|
||||||
|
else
|
||||||
|
test -d ./-p && rmdir ./-p
|
||||||
|
as_mkdir_p=false
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
# as_fn_executable_p FILE
|
||||||
|
# -----------------------
|
||||||
|
# Test if FILE is an executable regular file.
|
||||||
|
as_fn_executable_p ()
|
||||||
|
{
|
||||||
|
test -f "$1" && test -x "$1"
|
||||||
|
} # as_fn_executable_p
|
||||||
|
as_test_x='test -x'
|
||||||
|
as_executable_p=as_fn_executable_p
|
||||||
|
|
||||||
|
# Sed expression to map a string onto a valid CPP name.
|
||||||
|
as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
|
||||||
|
as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
|
||||||
|
|
||||||
|
# Sed expression to map a string onto a valid variable name.
|
||||||
|
as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
|
||||||
|
as_tr_sh="eval sed '$as_sed_sh'" # deprecated
|
||||||
|
|
||||||
|
|
||||||
|
exec 6>&1
|
||||||
|
## ----------------------------------- ##
|
||||||
|
## Main body of $CONFIG_STATUS script. ##
|
||||||
|
## ----------------------------------- ##
|
||||||
|
# Save the log message, to keep $0 and so on meaningful, and to
|
||||||
|
# report actual input values of CONFIG_FILES etc. instead of their
|
||||||
|
# values after options handling.
|
||||||
|
ac_log="
|
||||||
|
This file was extended by ZOVboot $as_me UNVERSIONED, which was
|
||||||
|
generated by GNU Autoconf 2.72. Invocation command line was
|
||||||
|
|
||||||
|
CONFIG_FILES = $CONFIG_FILES
|
||||||
|
CONFIG_HEADERS = $CONFIG_HEADERS
|
||||||
|
CONFIG_LINKS = $CONFIG_LINKS
|
||||||
|
CONFIG_COMMANDS = $CONFIG_COMMANDS
|
||||||
|
$ $0 $@
|
||||||
|
|
||||||
|
on `(hostname || uname -n) 2>/dev/null | sed 1q`
|
||||||
|
"
|
||||||
|
|
||||||
|
# Files that config.status was made for.
|
||||||
|
config_files=" man/man1/limine.1 GNUmakefile config.h"
|
||||||
|
|
||||||
|
ac_cs_usage="\
|
||||||
|
'$as_me' instantiates files and other configuration actions
|
||||||
|
from templates according to the current configuration. Unless the files
|
||||||
|
and actions are specified as TAGs, all are instantiated by default.
|
||||||
|
|
||||||
|
Usage: $0 [OPTION]... [TAG]...
|
||||||
|
|
||||||
|
-h, --help print this help, then exit
|
||||||
|
-V, --version print version number and configuration settings, then exit
|
||||||
|
--config print configuration, then exit
|
||||||
|
-q, --quiet, --silent
|
||||||
|
do not print progress messages
|
||||||
|
-d, --debug don't remove temporary files
|
||||||
|
--recheck update $as_me by reconfiguring in the same conditions
|
||||||
|
--file=FILE[:TEMPLATE]
|
||||||
|
instantiate the configuration file FILE
|
||||||
|
|
||||||
|
Configuration files:
|
||||||
|
$config_files
|
||||||
|
|
||||||
|
Report bugs to <https://git.bebrik.xyz/Zhirik1337/ZOVboot>.
|
||||||
|
ZOVboot home page: <https://git.bebrik.xyz/Zhirik1337/ZOVboot>."
|
||||||
|
|
||||||
|
ac_cs_config='LD_FOR_TARGET=ld OBJCOPY_FOR_TARGET=objcopy OBJDUMP_FOR_TARGET=objdump READELF_FOR_TARGET=readelf'
|
||||||
|
ac_cs_version="\
|
||||||
|
ZOVboot config.status UNVERSIONED
|
||||||
|
configured by ../configure, generated by GNU Autoconf 2.72,
|
||||||
|
with options \"$ac_cs_config\"
|
||||||
|
|
||||||
|
Copyright (C) 2023 Free Software Foundation, Inc.
|
||||||
|
This config.status script is free software; the Free Software Foundation
|
||||||
|
gives unlimited permission to copy, distribute and modify it."
|
||||||
|
|
||||||
|
ac_pwd='/home/wpng1337/Zovboot/ZOVboot/limine/build-host'
|
||||||
|
srcdir='..'
|
||||||
|
INSTALL='/usr/bin/install -c'
|
||||||
|
MKDIR_P='/usr/bin/mkdir -p'
|
||||||
|
AWK='gawk'
|
||||||
|
test -n "$AWK" || AWK=awk
|
||||||
|
# The default lists apply if the user does not specify any file.
|
||||||
|
ac_need_defaults=:
|
||||||
|
while test $# != 0
|
||||||
|
do
|
||||||
|
case $1 in
|
||||||
|
--*=?*)
|
||||||
|
ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
||||||
|
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
|
||||||
|
ac_shift=:
|
||||||
|
;;
|
||||||
|
--*=)
|
||||||
|
ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
||||||
|
ac_optarg=
|
||||||
|
ac_shift=:
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
ac_option=$1
|
||||||
|
ac_optarg=$2
|
||||||
|
ac_shift=shift
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
case $ac_option in
|
||||||
|
# Handling of the options.
|
||||||
|
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
||||||
|
ac_cs_recheck=: ;;
|
||||||
|
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
|
||||||
|
printf "%s\n" "$ac_cs_version"; exit ;;
|
||||||
|
--config | --confi | --conf | --con | --co | --c )
|
||||||
|
printf "%s\n" "$ac_cs_config"; exit ;;
|
||||||
|
--debug | --debu | --deb | --de | --d | -d )
|
||||||
|
debug=: ;;
|
||||||
|
--file | --fil | --fi | --f )
|
||||||
|
$ac_shift
|
||||||
|
case $ac_optarg in
|
||||||
|
*\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
||||||
|
'') as_fn_error $? "missing file argument" ;;
|
||||||
|
esac
|
||||||
|
as_fn_append CONFIG_FILES " '$ac_optarg'"
|
||||||
|
ac_need_defaults=false;;
|
||||||
|
--he | --h | --help | --hel | -h )
|
||||||
|
printf "%s\n" "$ac_cs_usage"; exit ;;
|
||||||
|
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
||||||
|
| -silent | --silent | --silen | --sile | --sil | --si | --s)
|
||||||
|
ac_cs_silent=: ;;
|
||||||
|
|
||||||
|
# This is an error.
|
||||||
|
-*) as_fn_error $? "unrecognized option: '$1'
|
||||||
|
Try '$0 --help' for more information." ;;
|
||||||
|
|
||||||
|
*) as_fn_append ac_config_targets " $1"
|
||||||
|
ac_need_defaults=false ;;
|
||||||
|
|
||||||
|
esac
|
||||||
|
shift
|
||||||
|
done
|
||||||
|
|
||||||
|
ac_configure_extra_args=
|
||||||
|
|
||||||
|
if $ac_cs_silent; then
|
||||||
|
exec 6>/dev/null
|
||||||
|
ac_configure_extra_args="$ac_configure_extra_args --silent"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if $ac_cs_recheck; then
|
||||||
|
set X /bin/sh '../configure' 'LD_FOR_TARGET=ld' 'OBJCOPY_FOR_TARGET=objcopy' 'OBJDUMP_FOR_TARGET=objdump' 'READELF_FOR_TARGET=readelf' $ac_configure_extra_args --no-create --no-recursion
|
||||||
|
shift
|
||||||
|
\printf "%s\n" "running CONFIG_SHELL=/bin/sh $*" >&6
|
||||||
|
CONFIG_SHELL='/bin/sh'
|
||||||
|
export CONFIG_SHELL
|
||||||
|
exec "$@"
|
||||||
|
fi
|
||||||
|
|
||||||
|
exec 5>>config.log
|
||||||
|
{
|
||||||
|
echo
|
||||||
|
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
||||||
|
## Running $as_me. ##
|
||||||
|
_ASBOX
|
||||||
|
printf "%s\n" "$ac_log"
|
||||||
|
} >&5
|
||||||
|
|
||||||
|
|
||||||
|
# Handling of arguments.
|
||||||
|
for ac_config_target in $ac_config_targets
|
||||||
|
do
|
||||||
|
case $ac_config_target in
|
||||||
|
"man/man1/limine.1") CONFIG_FILES="$CONFIG_FILES man/man1/limine.1" ;;
|
||||||
|
"GNUmakefile") CONFIG_FILES="$CONFIG_FILES GNUmakefile" ;;
|
||||||
|
"config.h") CONFIG_FILES="$CONFIG_FILES config.h" ;;
|
||||||
|
|
||||||
|
*) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
|
||||||
|
|
||||||
|
# If the user did not use the arguments to specify the items to instantiate,
|
||||||
|
# then the envvar interface is used. Set only those that are not.
|
||||||
|
# We use the long form for the default assignment because of an extremely
|
||||||
|
# bizarre bug on SunOS 4.1.3.
|
||||||
|
if $ac_need_defaults; then
|
||||||
|
test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Have a temporary directory for convenience. Make it in the build tree
|
||||||
|
# simply because there is no reason against having it here, and in addition,
|
||||||
|
# creating and moving files from /tmp can sometimes cause problems.
|
||||||
|
# Hook for its removal unless debugging.
|
||||||
|
# Note that there is a small window in which the directory will not be cleaned:
|
||||||
|
# after its creation but before its name has been assigned to '$tmp'.
|
||||||
|
$debug ||
|
||||||
|
{
|
||||||
|
tmp= ac_tmp=
|
||||||
|
trap 'exit_status=$?
|
||||||
|
: "${ac_tmp:=$tmp}"
|
||||||
|
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
|
||||||
|
' 0
|
||||||
|
trap 'as_fn_exit 1' 1 2 13 15
|
||||||
|
}
|
||||||
|
# Create a (secure) tmp directory for tmp files.
|
||||||
|
|
||||||
|
{
|
||||||
|
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
|
||||||
|
test -d "$tmp"
|
||||||
|
} ||
|
||||||
|
{
|
||||||
|
tmp=./conf$$-$RANDOM
|
||||||
|
(umask 077 && mkdir "$tmp")
|
||||||
|
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
|
||||||
|
ac_tmp=$tmp
|
||||||
|
|
||||||
|
# Set up the scripts for CONFIG_FILES section.
|
||||||
|
# No need to generate them if there are no CONFIG_FILES.
|
||||||
|
# This happens for instance with './config.status config.h'.
|
||||||
|
if test -n "$CONFIG_FILES"; then
|
||||||
|
|
||||||
|
|
||||||
|
ac_cr=`echo X | tr X '\015'`
|
||||||
|
# On cygwin, bash can eat \r inside `` if the user requested igncr.
|
||||||
|
# But we know of no other shell where ac_cr would be empty at this
|
||||||
|
# point, so we can use a bashism as a fallback.
|
||||||
|
if test "x$ac_cr" = x; then
|
||||||
|
eval ac_cr=\$\'\\r\'
|
||||||
|
fi
|
||||||
|
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
|
||||||
|
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
|
||||||
|
ac_cs_awk_cr='\\r'
|
||||||
|
else
|
||||||
|
ac_cs_awk_cr=$ac_cr
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
|
||||||
|
cat >>"$ac_tmp/subs1.awk" <<\_ACAWK &&
|
||||||
|
S["LTLIBOBJS"]=""
|
||||||
|
S["LIBOBJS"]=""
|
||||||
|
S["LIMINE_COPYRIGHT"]="Copyright (C) 2019-2026 Mintsuki and contributors."
|
||||||
|
S["NASMFLAGS_FOR_TARGET"]="-g"
|
||||||
|
S["LDFLAGS_FOR_TARGET"]=""
|
||||||
|
S["CPPFLAGS_FOR_TARGET"]=""
|
||||||
|
S["CFLAGS_FOR_TARGET"]=" -g -O2 -pipe"
|
||||||
|
S["GZIP_FOUND"]=""
|
||||||
|
S["NASM_FOUND"]=""
|
||||||
|
S["BUILD_UEFI_CD"]="no"
|
||||||
|
S["MTOOLS_FOUND"]=""
|
||||||
|
S["BUILD_UEFI_LOONGARCH64"]=""
|
||||||
|
S["BUILD_UEFI_RISCV64"]=""
|
||||||
|
S["BUILD_UEFI_AARCH64"]=""
|
||||||
|
S["BUILD_UEFI_X86_64"]=""
|
||||||
|
S["BUILD_UEFI_IA32"]=""
|
||||||
|
S["BUILD_BIOS"]=""
|
||||||
|
S["BUILD_BIOS_PXE"]="no"
|
||||||
|
S["BUILD_BIOS_CD"]="no"
|
||||||
|
S["READELF_FOR_TARGET_FOUND"]="yes"
|
||||||
|
S["OBJDUMP_FOR_TARGET_FOUND"]="yes"
|
||||||
|
S["OBJCOPY_FOR_TARGET_FOUND"]="yes"
|
||||||
|
S["LD_FOR_TARGET_FOUND"]="yes"
|
||||||
|
S["CC_FOR_TARGET_FOUND"]="yes"
|
||||||
|
S["READELF_FOR_TARGET"]="readelf"
|
||||||
|
S["OBJDUMP_FOR_TARGET"]="objdump"
|
||||||
|
S["OBJCOPY_FOR_TARGET"]="objcopy"
|
||||||
|
S["LD_FOR_TARGET"]="ld"
|
||||||
|
S["CC_FOR_TARGET"]="clang"
|
||||||
|
S["TOOLCHAIN_FOR_TARGET"]="llvm-"
|
||||||
|
S["STRIP_FOUND"]="yes"
|
||||||
|
S["STRIP"]="strip"
|
||||||
|
S["FIND_FOUND"]="yes"
|
||||||
|
S["AWK"]="gawk"
|
||||||
|
S["GREP"]="/usr/bin/grep"
|
||||||
|
S["SED"]="/usr/bin/sed"
|
||||||
|
S["INSTALL_DATA"]="${INSTALL} -m 644"
|
||||||
|
S["INSTALL_SCRIPT"]="${INSTALL}"
|
||||||
|
S["INSTALL_PROGRAM"]="${INSTALL}"
|
||||||
|
S["MKDIR_P"]="/usr/bin/mkdir -p"
|
||||||
|
S["WERROR_FLAG"]="-Wno-error"
|
||||||
|
S["OBJEXT"]="o"
|
||||||
|
S["EXEEXT"]=""
|
||||||
|
S["ac_ct_CC"]="gcc"
|
||||||
|
S["CPPFLAGS"]=""
|
||||||
|
S["LDFLAGS"]=""
|
||||||
|
S["CFLAGS"]="-g -O2 -pipe"
|
||||||
|
S["CC"]="gcc"
|
||||||
|
S["host_os"]="linux-gnu"
|
||||||
|
S["host_vendor"]="pc"
|
||||||
|
S["host_cpu"]="x86_64"
|
||||||
|
S["host"]="x86_64-pc-linux-gnu"
|
||||||
|
S["build_os"]="linux-gnu"
|
||||||
|
S["build_vendor"]="pc"
|
||||||
|
S["build_cpu"]="x86_64"
|
||||||
|
S["build"]="x86_64-pc-linux-gnu"
|
||||||
|
S["SOURCE_DATE_EPOCH_TOUCH"]="201901010000"
|
||||||
|
S["SOURCE_DATE_EPOCH"]="1546297200"
|
||||||
|
S["REGEN_DATE"]="UNVERSIONED"
|
||||||
|
S["BUILDDIR"]="/home/wpng1337/Zovboot/ZOVboot/limine/build-host"
|
||||||
|
S["SRCDIR"]="/home/wpng1337/Zovboot/ZOVboot/limine"
|
||||||
|
S["target_alias"]=""
|
||||||
|
S["host_alias"]=""
|
||||||
|
S["build_alias"]=""
|
||||||
|
S["LIBS"]=""
|
||||||
|
S["ECHO_T"]=""
|
||||||
|
S["ECHO_N"]="-n"
|
||||||
|
S["ECHO_C"]=""
|
||||||
|
S["DEFS"]="-DPACKAGE_NAME=\\\"ZOVboot\\\" -DPACKAGE_TARNAME=\\\"zovboot\\\" -DPACKAGE_VERSION=\\\"UNVERSIONED\\\" -DPACKAGE_STRING=\\\"ZOVboot\\ UNVERSIONED\\\" -DPACKAGE_BUGRE"\
|
||||||
|
"PORT=\\\"https://git.bebrik.xyz/Zhirik1337/ZOVboot\\\" -DPACKAGE_URL=\\\"https://git.bebrik.xyz/Zhirik1337/ZOVboot\\\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -D"\
|
||||||
|
"HAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1"\
|
||||||
|
" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STDINT_H=1 -DHAVE_STDDEF_H=1 -DHAVE_STDBOOL_H=1 -DHAVE_STDARG_H=1 -DHAVE_STRING_H=1 -DHAVE_ERRNO_H=1 -DHA"\
|
||||||
|
"VE_INTTYPES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_TIME_H=1"
|
||||||
|
S["mandir"]="${datarootdir}/man"
|
||||||
|
S["localedir"]="${datarootdir}/locale"
|
||||||
|
S["libdir"]="${exec_prefix}/lib"
|
||||||
|
S["psdir"]="${docdir}"
|
||||||
|
S["pdfdir"]="${docdir}"
|
||||||
|
S["dvidir"]="${docdir}"
|
||||||
|
S["htmldir"]="${docdir}"
|
||||||
|
S["infodir"]="${datarootdir}/info"
|
||||||
|
S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}"
|
||||||
|
S["oldincludedir"]="/usr/include"
|
||||||
|
S["includedir"]="${prefix}/include"
|
||||||
|
S["runstatedir"]="${localstatedir}/run"
|
||||||
|
S["localstatedir"]="${prefix}/var"
|
||||||
|
S["sharedstatedir"]="${prefix}/com"
|
||||||
|
S["sysconfdir"]="${prefix}/etc"
|
||||||
|
S["datadir"]="${datarootdir}"
|
||||||
|
S["datarootdir"]="${prefix}/share"
|
||||||
|
S["libexecdir"]="${exec_prefix}/libexec"
|
||||||
|
S["sbindir"]="${exec_prefix}/sbin"
|
||||||
|
S["bindir"]="${exec_prefix}/bin"
|
||||||
|
S["program_transform_name"]="s,x,x,"
|
||||||
|
S["prefix"]="/usr/local"
|
||||||
|
S["exec_prefix"]="${prefix}"
|
||||||
|
S["PACKAGE_URL"]="https://git.bebrik.xyz/Zhirik1337/ZOVboot"
|
||||||
|
S["PACKAGE_BUGREPORT"]="https://git.bebrik.xyz/Zhirik1337/ZOVboot"
|
||||||
|
S["PACKAGE_STRING"]="ZOVboot UNVERSIONED"
|
||||||
|
S["PACKAGE_VERSION"]="UNVERSIONED"
|
||||||
|
S["PACKAGE_TARNAME"]="zovboot"
|
||||||
|
S["PACKAGE_NAME"]="ZOVboot"
|
||||||
|
S["PATH_SEPARATOR"]=":"
|
||||||
|
S["SHELL"]="/bin/sh"
|
||||||
|
_ACAWK
|
||||||
|
cat >>"$ac_tmp/subs1.awk" <<_ACAWK &&
|
||||||
|
for (key in S) S_is_set[key] = 1
|
||||||
|
FS = ""
|
||||||
|
|
||||||
|
}
|
||||||
|
{
|
||||||
|
line = $ 0
|
||||||
|
nfields = split(line, field, "@")
|
||||||
|
substed = 0
|
||||||
|
len = length(field[1])
|
||||||
|
for (i = 2; i < nfields; i++) {
|
||||||
|
key = field[i]
|
||||||
|
keylen = length(key)
|
||||||
|
if (S_is_set[key]) {
|
||||||
|
value = S[key]
|
||||||
|
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
|
||||||
|
len += length(value) + length(field[++i])
|
||||||
|
substed = 1
|
||||||
|
} else
|
||||||
|
len += 1 + keylen
|
||||||
|
}
|
||||||
|
|
||||||
|
print line
|
||||||
|
}
|
||||||
|
|
||||||
|
_ACAWK
|
||||||
|
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
|
||||||
|
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
|
||||||
|
else
|
||||||
|
cat
|
||||||
|
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
|
||||||
|
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
|
||||||
|
fi # test -n "$CONFIG_FILES"
|
||||||
|
|
||||||
|
|
||||||
|
eval set X " :F $CONFIG_FILES "
|
||||||
|
shift
|
||||||
|
for ac_tag
|
||||||
|
do
|
||||||
|
case $ac_tag in
|
||||||
|
:[FHLC]) ac_mode=$ac_tag; continue;;
|
||||||
|
esac
|
||||||
|
case $ac_mode$ac_tag in
|
||||||
|
:[FHL]*:*);;
|
||||||
|
:L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
|
||||||
|
:[FH]-) ac_tag=-:-;;
|
||||||
|
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
|
||||||
|
esac
|
||||||
|
ac_save_IFS=$IFS
|
||||||
|
IFS=:
|
||||||
|
set x $ac_tag
|
||||||
|
IFS=$ac_save_IFS
|
||||||
|
shift
|
||||||
|
ac_file=$1
|
||||||
|
shift
|
||||||
|
|
||||||
|
case $ac_mode in
|
||||||
|
:L) ac_source=$1;;
|
||||||
|
:[FH])
|
||||||
|
ac_file_inputs=
|
||||||
|
for ac_f
|
||||||
|
do
|
||||||
|
case $ac_f in
|
||||||
|
-) ac_f="$ac_tmp/stdin";;
|
||||||
|
*) # Look for the file first in the build tree, then in the source tree
|
||||||
|
# (if the path is not absolute). The absolute path cannot be DOS-style,
|
||||||
|
# because $ac_f cannot contain ':'.
|
||||||
|
test -f "$ac_f" ||
|
||||||
|
case $ac_f in
|
||||||
|
[\\/$]*) false;;
|
||||||
|
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
|
||||||
|
esac ||
|
||||||
|
as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
|
||||||
|
esac
|
||||||
|
case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
|
||||||
|
as_fn_append ac_file_inputs " '$ac_f'"
|
||||||
|
done
|
||||||
|
|
||||||
|
# Let's still pretend it is 'configure' which instantiates (i.e., don't
|
||||||
|
# use $as_me), people would be surprised to read:
|
||||||
|
# /* config.h. Generated by config.status. */
|
||||||
|
configure_input='Generated from '`
|
||||||
|
printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
|
||||||
|
`' by configure.'
|
||||||
|
if test x"$ac_file" != x-; then
|
||||||
|
configure_input="$ac_file. $configure_input"
|
||||||
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
|
||||||
|
printf "%s\n" "$as_me: creating $ac_file" >&6;}
|
||||||
|
fi
|
||||||
|
# Neutralize special characters interpreted by sed in replacement strings.
|
||||||
|
case $configure_input in #(
|
||||||
|
*\&* | *\|* | *\\* )
|
||||||
|
ac_sed_conf_input=`printf "%s\n" "$configure_input" |
|
||||||
|
sed 's/[\\\\&|]/\\\\&/g'`;; #(
|
||||||
|
*) ac_sed_conf_input=$configure_input;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
case $ac_tag in
|
||||||
|
*:-:* | *:-) cat >"$ac_tmp/stdin" \
|
||||||
|
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
|
||||||
|
esac
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
ac_dir=`$as_dirname -- "$ac_file" ||
|
||||||
|
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
||||||
|
X"$ac_file" : 'X\(//\)[^/]' \| \
|
||||||
|
X"$ac_file" : 'X\(//\)$' \| \
|
||||||
|
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
|
||||||
|
printf "%s\n" X"$ac_file" |
|
||||||
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
||||||
|
s//\1/
|
||||||
|
q
|
||||||
|
}
|
||||||
|
/^X\(\/\/\)[^/].*/{
|
||||||
|
s//\1/
|
||||||
|
q
|
||||||
|
}
|
||||||
|
/^X\(\/\/\)$/{
|
||||||
|
s//\1/
|
||||||
|
q
|
||||||
|
}
|
||||||
|
/^X\(\/\).*/{
|
||||||
|
s//\1/
|
||||||
|
q
|
||||||
|
}
|
||||||
|
s/.*/./; q'`
|
||||||
|
as_dir="$ac_dir"; as_fn_mkdir_p
|
||||||
|
ac_builddir=.
|
||||||
|
|
||||||
|
case "$ac_dir" in
|
||||||
|
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
||||||
|
*)
|
||||||
|
ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
|
||||||
|
# A ".." for each directory in $ac_dir_suffix.
|
||||||
|
ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
||||||
|
case $ac_top_builddir_sub in
|
||||||
|
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
||||||
|
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
||||||
|
esac ;;
|
||||||
|
esac
|
||||||
|
ac_abs_top_builddir=$ac_pwd
|
||||||
|
ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
||||||
|
# for backward compatibility:
|
||||||
|
ac_top_builddir=$ac_top_build_prefix
|
||||||
|
|
||||||
|
case $srcdir in
|
||||||
|
.) # We are building in place.
|
||||||
|
ac_srcdir=.
|
||||||
|
ac_top_srcdir=$ac_top_builddir_sub
|
||||||
|
ac_abs_top_srcdir=$ac_pwd ;;
|
||||||
|
[\\/]* | ?:[\\/]* ) # Absolute name.
|
||||||
|
ac_srcdir=$srcdir$ac_dir_suffix;
|
||||||
|
ac_top_srcdir=$srcdir
|
||||||
|
ac_abs_top_srcdir=$srcdir ;;
|
||||||
|
*) # Relative name.
|
||||||
|
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
||||||
|
ac_top_srcdir=$ac_top_build_prefix$srcdir
|
||||||
|
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
||||||
|
esac
|
||||||
|
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
||||||
|
|
||||||
|
|
||||||
|
case $ac_mode in
|
||||||
|
:F)
|
||||||
|
#
|
||||||
|
# CONFIG_FILE
|
||||||
|
#
|
||||||
|
|
||||||
|
case $INSTALL in
|
||||||
|
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
|
||||||
|
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
|
||||||
|
esac
|
||||||
|
ac_MKDIR_P=$MKDIR_P
|
||||||
|
case $MKDIR_P in
|
||||||
|
[\\/$]* | ?:[\\/]* ) ;;
|
||||||
|
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
|
||||||
|
esac
|
||||||
|
# If the template does not know about datarootdir, expand it.
|
||||||
|
# FIXME: This hack should be removed a few years after 2.60.
|
||||||
|
ac_datarootdir_hack=; ac_datarootdir_seen=
|
||||||
|
ac_sed_dataroot='
|
||||||
|
/datarootdir/ {
|
||||||
|
p
|
||||||
|
q
|
||||||
|
}
|
||||||
|
/@datadir@/p
|
||||||
|
/@docdir@/p
|
||||||
|
/@infodir@/p
|
||||||
|
/@localedir@/p
|
||||||
|
/@mandir@/p'
|
||||||
|
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
|
||||||
|
*datarootdir*) ac_datarootdir_seen=yes;;
|
||||||
|
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
|
||||||
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
||||||
|
printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
||||||
|
ac_datarootdir_hack='
|
||||||
|
s&@datadir@&${datarootdir}&g
|
||||||
|
s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g
|
||||||
|
s&@infodir@&${datarootdir}/info&g
|
||||||
|
s&@localedir@&${datarootdir}/locale&g
|
||||||
|
s&@mandir@&${datarootdir}/man&g
|
||||||
|
s&\${datarootdir}&${prefix}/share&g' ;;
|
||||||
|
esac
|
||||||
|
ac_sed_extra="
|
||||||
|
|
||||||
|
:t
|
||||||
|
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
||||||
|
s|@configure_input@|$ac_sed_conf_input|;t t
|
||||||
|
s&@top_builddir@&$ac_top_builddir_sub&;t t
|
||||||
|
s&@top_build_prefix@&$ac_top_build_prefix&;t t
|
||||||
|
s&@srcdir@&$ac_srcdir&;t t
|
||||||
|
s&@abs_srcdir@&$ac_abs_srcdir&;t t
|
||||||
|
s&@top_srcdir@&$ac_top_srcdir&;t t
|
||||||
|
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
|
||||||
|
s&@builddir@&$ac_builddir&;t t
|
||||||
|
s&@abs_builddir@&$ac_abs_builddir&;t t
|
||||||
|
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
|
||||||
|
s&@INSTALL@&$ac_INSTALL&;t t
|
||||||
|
s&@MKDIR_P@&$ac_MKDIR_P&;t t
|
||||||
|
$ac_datarootdir_hack
|
||||||
|
"
|
||||||
|
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
|
||||||
|
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
||||||
|
|
||||||
|
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
|
||||||
|
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
|
||||||
|
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
|
||||||
|
"$ac_tmp/out"`; test -z "$ac_out"; } &&
|
||||||
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
|
||||||
|
which seems to be undefined. Please make sure it is defined" >&5
|
||||||
|
printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
|
||||||
|
which seems to be undefined. Please make sure it is defined" >&2;}
|
||||||
|
|
||||||
|
rm -f "$ac_tmp/stdin"
|
||||||
|
case $ac_file in
|
||||||
|
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
|
||||||
|
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
|
||||||
|
esac \
|
||||||
|
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
||||||
|
;;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
esac
|
||||||
|
|
||||||
|
done # for ac_tag
|
||||||
|
|
||||||
|
|
||||||
|
as_fn_exit 0
|
||||||
13
limine/build-host/man/man1/limine.1
Normal file
13
limine/build-host/man/man1/limine.1
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
.TH LIMINE 1 "version UNVERSIONED" "UNVERSIONED"
|
||||||
|
.SH NAME
|
||||||
|
limine \- Multiplexer to several Limine-related utilities.
|
||||||
|
.SH SYNOPSIS
|
||||||
|
.B limine
|
||||||
|
.RI "<command> <args...>"
|
||||||
|
.SH DESCRIPTION
|
||||||
|
\fBlimine\fR provides a series of Limine-related utilities condensed in a single executable.
|
||||||
|
.SH BUGS
|
||||||
|
Please report bugs via
|
||||||
|
.IR https://git.bebrik.xyz/Zhirik1337/ZOVboot .
|
||||||
|
.SH HOMEPAGE
|
||||||
|
.I https://git.bebrik.xyz/Zhirik1337/ZOVboot
|
||||||
401
limine/build-test/GNUmakefile
Normal file
401
limine/build-test/GNUmakefile
Normal file
|
|
@ -0,0 +1,401 @@
|
||||||
|
.SUFFIXES:
|
||||||
|
|
||||||
|
override SOURCE_DATE_EPOCH := 1546297200
|
||||||
|
export SOURCE_DATE_EPOCH
|
||||||
|
|
||||||
|
override SOURCE_DATE_EPOCH_TOUCH := 201901010000
|
||||||
|
|
||||||
|
override PACKAGE_TARNAME := zovboot
|
||||||
|
override PACKAGE_VERSION := UNVERSIONED
|
||||||
|
override DIST_OUTPUT := $(PACKAGE_TARNAME)-$(PACKAGE_VERSION)
|
||||||
|
|
||||||
|
override prefix := /usr/local
|
||||||
|
override exec_prefix := ${prefix}
|
||||||
|
|
||||||
|
override bindir := ${exec_prefix}/bin
|
||||||
|
override datarootdir := ${prefix}/share
|
||||||
|
override mandir := ${datarootdir}/man
|
||||||
|
override docdir := ${datarootdir}/doc/${PACKAGE_TARNAME}
|
||||||
|
|
||||||
|
override BUILDDIR := /home/wpng1337/Zovboot/ZOVboot/limine/build-test
|
||||||
|
override BINDIR := $(BUILDDIR)/bin
|
||||||
|
|
||||||
|
override SRCDIR := /home/wpng1337/Zovboot/ZOVboot/limine
|
||||||
|
|
||||||
|
override SPACE := $(subst ,, )
|
||||||
|
override COMMA := ,
|
||||||
|
|
||||||
|
override MKESCAPE = $(subst $(SPACE),\ ,$(1))
|
||||||
|
override SHESCAPE = $(subst ','\'',$(1))
|
||||||
|
override NASMESCAPE = $(subst ','"'$(COMMA) \"'\"$(COMMA) '"',$(1))
|
||||||
|
|
||||||
|
override BUILD_BIOS := limine-bios
|
||||||
|
override BUILD_UEFI_X86_64 := limine-uefi-x86-64
|
||||||
|
override BUILD_UEFI_IA32 :=
|
||||||
|
override BUILD_UEFI_AARCH64 :=
|
||||||
|
override BUILD_UEFI_RISCV64 :=
|
||||||
|
override BUILD_UEFI_LOONGARCH64 :=
|
||||||
|
override BUILD_UEFI_CD := no
|
||||||
|
override BUILD_BIOS_PXE := no
|
||||||
|
override BUILD_BIOS_CD := no
|
||||||
|
|
||||||
|
INSTALL := /usr/bin/install -c
|
||||||
|
INSTALL_PROGRAM := ${INSTALL}
|
||||||
|
INSTALL_DATA := ${INSTALL} -m 644
|
||||||
|
STRIP := strip
|
||||||
|
|
||||||
|
MKDIR_P := /usr/bin/mkdir -p
|
||||||
|
export MKDIR_P
|
||||||
|
GREP := /usr/bin/grep
|
||||||
|
export GREP
|
||||||
|
SED := /usr/bin/sed
|
||||||
|
export SED
|
||||||
|
AWK := gawk
|
||||||
|
export AWK
|
||||||
|
|
||||||
|
CC := gcc
|
||||||
|
|
||||||
|
CPPFLAGS :=
|
||||||
|
CFLAGS := -g -O2 -pipe
|
||||||
|
LDFLAGS :=
|
||||||
|
LIBS :=
|
||||||
|
|
||||||
|
CC_FOR_TARGET := clang
|
||||||
|
export CC_FOR_TARGET
|
||||||
|
LD_FOR_TARGET := ld
|
||||||
|
export LD_FOR_TARGET
|
||||||
|
OBJCOPY_FOR_TARGET := objcopy
|
||||||
|
export OBJCOPY_FOR_TARGET
|
||||||
|
OBJDUMP_FOR_TARGET := objdump
|
||||||
|
export OBJDUMP_FOR_TARGET
|
||||||
|
READELF_FOR_TARGET := readelf
|
||||||
|
export READELF_FOR_TARGET
|
||||||
|
|
||||||
|
override WERROR_FLAG := -Wno-error
|
||||||
|
export WERROR_FLAG
|
||||||
|
|
||||||
|
CFLAGS_FOR_TARGET := -g -O2 -pipe
|
||||||
|
export CFLAGS_FOR_TARGET
|
||||||
|
CPPFLAGS_FOR_TARGET :=
|
||||||
|
export CPPFLAGS_FOR_TARGET
|
||||||
|
LDFLAGS_FOR_TARGET :=
|
||||||
|
export LDFLAGS_FOR_TARGET
|
||||||
|
NASMFLAGS_FOR_TARGET := -g
|
||||||
|
export NASMFLAGS_FOR_TARGET
|
||||||
|
|
||||||
|
override STAGE1_FILES := $(shell find '$(call SHESCAPE,$(SRCDIR))/stage1' -type f -name '*.asm' | LC_ALL=C sort)
|
||||||
|
|
||||||
|
.PHONY: all
|
||||||
|
all: $(call MKESCAPE,$(BINDIR))/Makefile
|
||||||
|
$(MAKE) all1
|
||||||
|
|
||||||
|
.PHONY: all1
|
||||||
|
all1: $(BUILD_UEFI_X86_64) $(BUILD_UEFI_IA32) $(BUILD_UEFI_AARCH64) $(BUILD_UEFI_RISCV64) $(BUILD_UEFI_LOONGARCH64) $(BUILD_BIOS)
|
||||||
|
$(MAKE) '$(call SHESCAPE,$(BINDIR))/limine'
|
||||||
|
$(MAKE) '$(call SHESCAPE,$(BINDIR))/limine-uefi-cd.bin'
|
||||||
|
|
||||||
|
$(call MKESCAPE,$(BINDIR))/limine-bios-hdd.h: $(call MKESCAPE,$(BINDIR))/limine-bios-hdd.bin
|
||||||
|
$(MKDIR_P) '$(call SHESCAPE,$(BINDIR))'
|
||||||
|
cd '$(call SHESCAPE,$(BINDIR))' && '$(call SHESCAPE,$(SRCDIR))/host/hgen.sh' >limine-bios-hdd.h
|
||||||
|
|
||||||
|
override LIMINE_NO_BIOS :=
|
||||||
|
ifneq ($(BUILD_BIOS),limine-bios)
|
||||||
|
override LIMINE_NO_BIOS := -DLIMINE_NO_BIOS
|
||||||
|
endif
|
||||||
|
|
||||||
|
$(call MKESCAPE,$(BINDIR))/limine: $(call MKESCAPE,$(BINDIR))/Makefile $(call MKESCAPE,$(SRCDIR))/host/limine.c $(if $(filter $(BUILD_BIOS),limine-bios),$(call MKESCAPE,$(BINDIR))/limine-bios-hdd.h)
|
||||||
|
$(SED) 's/%VERSION%/UNVERSIONED/g;s/%COPYRIGHT%/Copyright (C) 2019-2026 Mintsuki and contributors./g' <'$(call SHESCAPE,$(SRCDIR))/host/limine.c' >'$(call SHESCAPE,$(BINDIR))/limine.c'
|
||||||
|
$(MAKE) -C '$(call SHESCAPE,$(BINDIR))' limine \
|
||||||
|
CC="$(CC)" \
|
||||||
|
CFLAGS="$(CFLAGS) -Wall -Wextra $(WERROR_FLAG)" \
|
||||||
|
CPPFLAGS='$(CPPFLAGS) $(LIMINE_NO_BIOS) -DLIMINE_DATADIR=\"$(call SHESCAPE,$(datarootdir))/limine\"' \
|
||||||
|
LDFLAGS="$(LDFLAGS)" \
|
||||||
|
LIBS="$(LIBS)"
|
||||||
|
|
||||||
|
$(call MKESCAPE,$(BINDIR))/Makefile: $(call MKESCAPE,$(SRCDIR))/host/host.mk $(call MKESCAPE,$(SRCDIR))/host/.gitignore
|
||||||
|
mkdir -p '$(call SHESCAPE,$(BINDIR))'
|
||||||
|
cp '$(call SHESCAPE,$(SRCDIR))/host/host.mk' '$(call SHESCAPE,$(BINDIR))/Makefile'
|
||||||
|
cp '$(call SHESCAPE,$(SRCDIR))/host/.gitignore' '$(call SHESCAPE,$(BINDIR))/'
|
||||||
|
|
||||||
|
.PHONY: limine
|
||||||
|
limine:
|
||||||
|
$(MAKE) '$(call SHESCAPE,$(BINDIR))/limine'
|
||||||
|
|
||||||
|
.PHONY: clean
|
||||||
|
clean: limine-bios-clean limine-uefi-ia32-clean limine-uefi-x86-64-clean limine-uefi-aarch64-clean limine-uefi-riscv64-clean limine-uefi-loongarch64-clean
|
||||||
|
rm -rf '$(call SHESCAPE,$(BINDIR))' '$(call SHESCAPE,$(BUILDDIR))/stage1.stamp'
|
||||||
|
|
||||||
|
.PHONY: install
|
||||||
|
install: all
|
||||||
|
$(INSTALL) -d '$(call SHESCAPE,$(DESTDIR)$(docdir))'
|
||||||
|
$(INSTALL_DATA) '$(call SHESCAPE,$(SRCDIR))/COPYING' '$(call SHESCAPE,$(DESTDIR)$(docdir))/'
|
||||||
|
$(INSTALL) -d '$(call SHESCAPE,$(DESTDIR)$(docdir))/LICENSES'
|
||||||
|
$(INSTALL_DATA) '$(call SHESCAPE,$(SRCDIR))/LICENSES/LicenseRef-scancode-bsd-no-disclaimer-unmodified.txt' '$(call SHESCAPE,$(DESTDIR)$(docdir))/LICENSES/'
|
||||||
|
$(INSTALL_DATA) '$(call SHESCAPE,$(SRCDIR))/3RDPARTY.md' '$(call SHESCAPE,$(DESTDIR)$(docdir))/'
|
||||||
|
$(INSTALL_DATA) '$(call SHESCAPE,$(SRCDIR))/CONFIG.md' '$(call SHESCAPE,$(DESTDIR)$(docdir))/'
|
||||||
|
$(INSTALL_DATA) '$(call SHESCAPE,$(SRCDIR))/FAQ.md' '$(call SHESCAPE,$(DESTDIR)$(docdir))/'
|
||||||
|
$(INSTALL_DATA) '$(call SHESCAPE,$(SRCDIR))/USAGE.md' '$(call SHESCAPE,$(DESTDIR)$(docdir))/'
|
||||||
|
$(INSTALL) -d '$(call SHESCAPE,$(DESTDIR)$(mandir))/man1'
|
||||||
|
$(INSTALL_DATA) '$(call SHESCAPE,$(BUILDDIR))/man/man1/limine.1' '$(call SHESCAPE,$(DESTDIR)$(mandir))/man1/'
|
||||||
|
$(INSTALL) -d '$(call SHESCAPE,$(DESTDIR)$(datarootdir))'
|
||||||
|
$(INSTALL) -d '$(call SHESCAPE,$(DESTDIR)$(datarootdir))/limine'
|
||||||
|
ifeq ($(BUILD_BIOS),limine-bios)
|
||||||
|
$(INSTALL_DATA) '$(call SHESCAPE,$(BINDIR))/limine-bios.sys' '$(call SHESCAPE,$(DESTDIR)$(datarootdir))/limine/'
|
||||||
|
endif
|
||||||
|
ifneq ($(BUILD_BIOS_CD),no)
|
||||||
|
$(INSTALL_DATA) '$(call SHESCAPE,$(BINDIR))/limine-bios-cd.bin' '$(call SHESCAPE,$(DESTDIR)$(datarootdir))/limine/'
|
||||||
|
endif
|
||||||
|
ifneq ($(BUILD_UEFI_CD),no)
|
||||||
|
$(INSTALL_DATA) '$(call SHESCAPE,$(BINDIR))/limine-uefi-cd.bin' '$(call SHESCAPE,$(DESTDIR)$(datarootdir))/limine/'
|
||||||
|
endif
|
||||||
|
ifneq ($(BUILD_BIOS_PXE),no)
|
||||||
|
$(INSTALL_DATA) '$(call SHESCAPE,$(BINDIR))/limine-bios-pxe.bin' '$(call SHESCAPE,$(DESTDIR)$(datarootdir))/limine/'
|
||||||
|
endif
|
||||||
|
ifeq ($(BUILD_UEFI_AARCH64),limine-uefi-aarch64)
|
||||||
|
$(INSTALL_DATA) '$(call SHESCAPE,$(BINDIR))/BOOTAA64.EFI' '$(call SHESCAPE,$(DESTDIR)$(datarootdir))/limine/'
|
||||||
|
endif
|
||||||
|
ifeq ($(BUILD_UEFI_RISCV64),limine-uefi-riscv64)
|
||||||
|
$(INSTALL_DATA) '$(call SHESCAPE,$(BINDIR))/BOOTRISCV64.EFI' '$(call SHESCAPE,$(DESTDIR)$(datarootdir))/limine/'
|
||||||
|
endif
|
||||||
|
ifeq ($(BUILD_UEFI_LOONGARCH64),limine-uefi-loongarch64)
|
||||||
|
$(INSTALL_DATA) '$(call SHESCAPE,$(BINDIR))/BOOTLOONGARCH64.EFI' '$(call SHESCAPE,$(DESTDIR)$(datarootdir))/limine/'
|
||||||
|
endif
|
||||||
|
ifeq ($(BUILD_UEFI_X86_64),limine-uefi-x86-64)
|
||||||
|
$(INSTALL_DATA) '$(call SHESCAPE,$(BINDIR))/BOOTX64.EFI' '$(call SHESCAPE,$(DESTDIR)$(datarootdir))/limine/'
|
||||||
|
endif
|
||||||
|
ifeq ($(BUILD_UEFI_IA32),limine-uefi-ia32)
|
||||||
|
$(INSTALL_DATA) '$(call SHESCAPE,$(BINDIR))/BOOTIA32.EFI' '$(call SHESCAPE,$(DESTDIR)$(datarootdir))/limine/'
|
||||||
|
endif
|
||||||
|
$(INSTALL) -d '$(call SHESCAPE,$(DESTDIR)$(bindir))'
|
||||||
|
$(INSTALL_PROGRAM) '$(call SHESCAPE,$(BINDIR))/limine' '$(call SHESCAPE,$(DESTDIR)$(bindir))/'
|
||||||
|
|
||||||
|
.PHONY: install-strip
|
||||||
|
install-strip: install
|
||||||
|
$(STRIP) '$(call SHESCAPE,$(DESTDIR)$(bindir))/limine'
|
||||||
|
|
||||||
|
.PHONY: uninstall
|
||||||
|
uninstall:
|
||||||
|
rm -f '$(call SHESCAPE,$(DESTDIR)$(docdir))/COPYING'
|
||||||
|
rm -rf '$(call SHESCAPE,$(DESTDIR)$(docdir))/LICENSES'
|
||||||
|
rm -f '$(call SHESCAPE,$(DESTDIR)$(docdir))/3RDPARTY.md'
|
||||||
|
rm -f '$(call SHESCAPE,$(DESTDIR)$(docdir))/CONFIG.md'
|
||||||
|
rm -f '$(call SHESCAPE,$(DESTDIR)$(docdir))/FAQ.md'
|
||||||
|
rm -f '$(call SHESCAPE,$(DESTDIR)$(docdir))/USAGE.md'
|
||||||
|
rm -f '$(call SHESCAPE,$(DESTDIR)$(mandir))/man1/limine.1'
|
||||||
|
rm -f '$(call SHESCAPE,$(DESTDIR)$(bindir))/limine'
|
||||||
|
rm -rf '$(call SHESCAPE,$(DESTDIR)$(datarootdir))/limine'
|
||||||
|
|
||||||
|
$(call MKESCAPE,$(BUILDDIR))/stage1.stamp: $(STAGE1_FILES) $(call MKESCAPE,$(BUILDDIR))/decompressor-build/decompressor.bin $(call MKESCAPE,$(BUILDDIR))/common-bios/stage2.bin.gz
|
||||||
|
$(MKDIR_P) '$(call SHESCAPE,$(BINDIR))'
|
||||||
|
cd '$(call SHESCAPE,$(SRCDIR))/stage1/hdd' && nasm bootsect.asm -Wall -w-unknown-warning -w-reloc $(WERROR_FLAG) -fbin -DBUILDDIR="'"'$(call NASMESCAPE,$(BUILDDIR))'"'" -o '$(call SHESCAPE,$(BINDIR))/limine-bios-hdd.bin'
|
||||||
|
ifneq ($(BUILD_BIOS_CD),no)
|
||||||
|
cd '$(call SHESCAPE,$(SRCDIR))/stage1/cd' && nasm bootsect.asm -Wall -w-unknown-warning -w-reloc $(WERROR_FLAG) -fbin -DBUILDDIR="'"'$(call NASMESCAPE,$(BUILDDIR))'"'" -o '$(call SHESCAPE,$(BINDIR))/limine-bios-cd.bin'
|
||||||
|
endif
|
||||||
|
ifneq ($(BUILD_BIOS_PXE),no)
|
||||||
|
cd '$(call SHESCAPE,$(SRCDIR))/stage1/pxe' && nasm bootsect.asm -Wall -w-unknown-warning -w-reloc $(WERROR_FLAG) -fbin -DBUILDDIR="'"'$(call NASMESCAPE,$(BUILDDIR))'"'" -o '$(call SHESCAPE,$(BINDIR))/limine-bios-pxe.bin'
|
||||||
|
endif
|
||||||
|
cp '$(call SHESCAPE,$(BUILDDIR))/common-bios/limine-bios.sys' '$(call SHESCAPE,$(BINDIR))/'
|
||||||
|
touch '$(call SHESCAPE,$(BUILDDIR))/stage1.stamp'
|
||||||
|
|
||||||
|
.PHONY: limine-bios
|
||||||
|
limine-bios: common-bios decompressor
|
||||||
|
$(MAKE) '$(call SHESCAPE,$(BUILDDIR))/stage1.stamp'
|
||||||
|
|
||||||
|
$(call MKESCAPE,$(BINDIR))/limine-uefi-cd.bin: $(if $(BUILD_UEFI_IA32),$(call MKESCAPE,$(BUILDDIR))/common-uefi-ia32/BOOTIA32.EFI) $(if $(BUILD_UEFI_X86_64),$(call MKESCAPE,$(BUILDDIR))/common-uefi-x86-64/BOOTX64.EFI) $(if $(BUILD_UEFI_AARCH64),$(call MKESCAPE,$(BUILDDIR))/common-uefi-aarch64/BOOTAA64.EFI) $(if $(BUILD_UEFI_RISCV64),$(call MKESCAPE,$(BUILDDIR))/common-uefi-riscv64/BOOTRISCV64.EFI) $(if $(BUILD_UEFI_LOONGARCH64),$(call MKESCAPE,$(BUILDDIR))/common-uefi-loongarch64/BOOTLOONGARCH64.EFI)
|
||||||
|
ifneq ($(BUILD_UEFI_CD),no)
|
||||||
|
$(MKDIR_P) '$(call SHESCAPE,$(BINDIR))'
|
||||||
|
rm -f '$(call SHESCAPE,$(BINDIR))/limine-uefi-cd.bin'
|
||||||
|
dd if=/dev/zero of='$(call SHESCAPE,$(BINDIR))/limine-uefi-cd.bin' bs=512 count=5760 2>/dev/null
|
||||||
|
mformat -i '$(call SHESCAPE,$(BINDIR))/limine-uefi-cd.bin' -f 2880 -N 12345678 ::
|
||||||
|
LIMINE_UEFI_CD_TMP="$$(mktemp -d)"; \
|
||||||
|
mkdir -p "$$LIMINE_UEFI_CD_TMP"/EFI/BOOT; \
|
||||||
|
cp '$(call SHESCAPE,$(BUILDDIR))/common-uefi-aarch64/BOOTAA64.EFI' "$$LIMINE_UEFI_CD_TMP"/EFI/BOOT/ 2>/dev/null; \
|
||||||
|
cp '$(call SHESCAPE,$(BUILDDIR))/common-uefi-riscv64/BOOTRISCV64.EFI' "$$LIMINE_UEFI_CD_TMP"/EFI/BOOT/ 2>/dev/null; \
|
||||||
|
cp '$(call SHESCAPE,$(BUILDDIR))/common-uefi-loongarch64/BOOTLOONGARCH64.EFI' "$$LIMINE_UEFI_CD_TMP"/EFI/BOOT/ 2>/dev/null; \
|
||||||
|
cp '$(call SHESCAPE,$(BUILDDIR))/common-uefi-x86-64/BOOTX64.EFI' "$$LIMINE_UEFI_CD_TMP"/EFI/BOOT/ 2>/dev/null; \
|
||||||
|
cp '$(call SHESCAPE,$(BUILDDIR))/common-uefi-ia32/BOOTIA32.EFI' "$$LIMINE_UEFI_CD_TMP"/EFI/BOOT/ 2>/dev/null; \
|
||||||
|
find "$$LIMINE_UEFI_CD_TMP" -exec touch -t $(SOURCE_DATE_EPOCH_TOUCH) '{}' + && \
|
||||||
|
mcopy -D o -s -m -i '$(call SHESCAPE,$(BINDIR))/limine-uefi-cd.bin' "$$LIMINE_UEFI_CD_TMP"/EFI :: && \
|
||||||
|
rm -rf "$$LIMINE_UEFI_CD_TMP"
|
||||||
|
endif
|
||||||
|
|
||||||
|
.PHONY: limine-uefi-cd
|
||||||
|
limine-uefi-cd:
|
||||||
|
$(MAKE) '$(call SHESCAPE,$(BINDIR))/limine-uefi-cd.bin'
|
||||||
|
|
||||||
|
$(call MKESCAPE,$(BINDIR))/BOOTX64.EFI: $(call MKESCAPE,$(BUILDDIR))/common-uefi-x86-64/BOOTX64.EFI
|
||||||
|
$(MKDIR_P) '$(call SHESCAPE,$(BINDIR))'
|
||||||
|
cp '$(call SHESCAPE,$(BUILDDIR))/common-uefi-x86-64/BOOTX64.EFI' '$(call SHESCAPE,$(BINDIR))/'
|
||||||
|
|
||||||
|
.PHONY: limine-uefi-x86-64
|
||||||
|
limine-uefi-x86-64:
|
||||||
|
$(MAKE) common-uefi-x86-64
|
||||||
|
$(MAKE) '$(call SHESCAPE,$(BINDIR))/BOOTX64.EFI'
|
||||||
|
|
||||||
|
$(call MKESCAPE,$(BINDIR))/BOOTIA32.EFI: $(call MKESCAPE,$(BUILDDIR))/common-uefi-ia32/BOOTIA32.EFI
|
||||||
|
$(MKDIR_P) '$(call SHESCAPE,$(BINDIR))'
|
||||||
|
cp '$(call SHESCAPE,$(BUILDDIR))/common-uefi-ia32/BOOTIA32.EFI' '$(call SHESCAPE,$(BINDIR))/'
|
||||||
|
|
||||||
|
.PHONY: limine-uefi-ia32
|
||||||
|
limine-uefi-ia32:
|
||||||
|
$(MAKE) common-uefi-ia32
|
||||||
|
$(MAKE) '$(call SHESCAPE,$(BINDIR))/BOOTIA32.EFI'
|
||||||
|
|
||||||
|
$(call MKESCAPE,$(BINDIR))/BOOTAA64.EFI: $(call MKESCAPE,$(BUILDDIR))/common-uefi-aarch64/BOOTAA64.EFI
|
||||||
|
$(MKDIR_P) '$(call SHESCAPE,$(BINDIR))'
|
||||||
|
cp '$(call SHESCAPE,$(BUILDDIR))/common-uefi-aarch64/BOOTAA64.EFI' '$(call SHESCAPE,$(BINDIR))/'
|
||||||
|
|
||||||
|
.PHONY: limine-uefi-aarch64
|
||||||
|
limine-uefi-aarch64:
|
||||||
|
$(MAKE) common-uefi-aarch64
|
||||||
|
$(MAKE) '$(call SHESCAPE,$(BINDIR))/BOOTAA64.EFI'
|
||||||
|
|
||||||
|
$(call MKESCAPE,$(BINDIR))/BOOTRISCV64.EFI: $(call MKESCAPE,$(BUILDDIR))/common-uefi-riscv64/BOOTRISCV64.EFI
|
||||||
|
$(MKDIR_P) '$(call SHESCAPE,$(BINDIR))'
|
||||||
|
cp '$(call SHESCAPE,$(BUILDDIR))/common-uefi-riscv64/BOOTRISCV64.EFI' '$(call SHESCAPE,$(BINDIR))/'
|
||||||
|
|
||||||
|
.PHONY: limine-uefi-riscv64
|
||||||
|
limine-uefi-riscv64:
|
||||||
|
$(MAKE) common-uefi-riscv64
|
||||||
|
$(MAKE) '$(call SHESCAPE,$(BINDIR))/BOOTRISCV64.EFI'
|
||||||
|
|
||||||
|
$(call MKESCAPE,$(BINDIR))/BOOTLOONGARCH64.EFI: $(call MKESCAPE,$(BUILDDIR))/common-uefi-loongarch64/BOOTLOONGARCH64.EFI
|
||||||
|
$(MKDIR_P) '$(call SHESCAPE,$(BINDIR))'
|
||||||
|
cp '$(call SHESCAPE,$(BUILDDIR))/common-uefi-loongarch64/BOOTLOONGARCH64.EFI' '$(call SHESCAPE,$(BINDIR))/'
|
||||||
|
|
||||||
|
.PHONY: limine-uefi-loongarch64
|
||||||
|
limine-uefi-loongarch64:
|
||||||
|
$(MAKE) common-uefi-loongarch64
|
||||||
|
$(MAKE) '$(call SHESCAPE,$(BINDIR))/BOOTLOONGARCH64.EFI'
|
||||||
|
|
||||||
|
.PHONY: limine-bios-clean
|
||||||
|
limine-bios-clean: common-bios-clean decompressor-clean
|
||||||
|
|
||||||
|
.PHONY: limine-uefi-x86-64-clean
|
||||||
|
limine-uefi-x86-64-clean: common-uefi-x86-64-clean
|
||||||
|
|
||||||
|
.PHONY: limine-uefi-ia32-clean
|
||||||
|
limine-uefi-ia32-clean: common-uefi-ia32-clean
|
||||||
|
|
||||||
|
.PHONY: limine-uefi-aarch64-clean
|
||||||
|
limine-uefi-aarch64-clean: common-uefi-aarch64-clean
|
||||||
|
|
||||||
|
.PHONY: limine-uefi-riscv64-clean
|
||||||
|
limine-uefi-riscv64-clean: common-uefi-riscv64-clean
|
||||||
|
|
||||||
|
.PHONY: limine-uefi-loongarch64-clean
|
||||||
|
limine-uefi-loongarch64-clean: common-uefi-loongarch64-clean
|
||||||
|
|
||||||
|
.PHONY: dist
|
||||||
|
dist:
|
||||||
|
rm -rf '$(call SHESCAPE,$(BUILDDIR))'/"$(DIST_OUTPUT)"
|
||||||
|
$(MKDIR_P) '$(call SHESCAPE,$(BUILDDIR))'/"$(DIST_OUTPUT)"
|
||||||
|
cp -r '$(call SHESCAPE,$(SRCDIR))'/.git '$(call SHESCAPE,$(BUILDDIR))'/"$(DIST_OUTPUT)"/
|
||||||
|
cd '$(call SHESCAPE,$(BUILDDIR))'/"$(DIST_OUTPUT)" && git checkout .
|
||||||
|
cd '$(call SHESCAPE,$(BUILDDIR))'/"$(DIST_OUTPUT)" && ./bootstrap
|
||||||
|
rm -rf '$(call SHESCAPE,$(BUILDDIR))'/"$(DIST_OUTPUT)/flanterm/.git"
|
||||||
|
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)/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"
|
||||||
|
rm -rf '$(call SHESCAPE,$(BUILDDIR))'/"$(DIST_OUTPUT)/common/lib/stb_image.h.nopatch"
|
||||||
|
rm -rf '$(call SHESCAPE,$(BUILDDIR))'/"$(DIST_OUTPUT)/.git"
|
||||||
|
rm -rf '$(call SHESCAPE,$(BUILDDIR))'/"$(DIST_OUTPUT)/.gitignore"
|
||||||
|
rm -rf '$(call SHESCAPE,$(BUILDDIR))'/"$(DIST_OUTPUT)/.forgejo"
|
||||||
|
rm -rf '$(call SHESCAPE,$(BUILDDIR))'/"$(DIST_OUTPUT)/README.md"
|
||||||
|
rm -rf '$(call SHESCAPE,$(BUILDDIR))'/"$(DIST_OUTPUT)/autom4te.cache"
|
||||||
|
rm -rf '$(call SHESCAPE,$(BUILDDIR))'/"$(DIST_OUTPUT)/test"
|
||||||
|
rm -rf '$(call SHESCAPE,$(BUILDDIR))'/"$(DIST_OUTPUT)/test.mk"
|
||||||
|
rm -rf '$(call SHESCAPE,$(BUILDDIR))'/"$(DIST_OUTPUT)/logo.png"
|
||||||
|
rm -rf '$(call SHESCAPE,$(BUILDDIR))'/"$(DIST_OUTPUT)/screenshot.png"
|
||||||
|
rm -rf '$(call SHESCAPE,$(BUILDDIR))'/"$(DIST_OUTPUT)/bochsrc"
|
||||||
|
echo "$(PACKAGE_VERSION)" > '$(call SHESCAPE,$(BUILDDIR))'/"$(DIST_OUTPUT)/version"
|
||||||
|
cd '$(call SHESCAPE,$(BUILDDIR))' && tar -cf "$(DIST_OUTPUT).tar" "$(DIST_OUTPUT)"
|
||||||
|
cd '$(call SHESCAPE,$(BUILDDIR))' && gzip < "$(DIST_OUTPUT).tar" > "$(DIST_OUTPUT).tar.gz"
|
||||||
|
cd '$(call SHESCAPE,$(BUILDDIR))' && ( bzip2 < "$(DIST_OUTPUT).tar" > "$(DIST_OUTPUT).tar.bz2" || rm -f "$(DIST_OUTPUT).tar.bz2" )
|
||||||
|
cd '$(call SHESCAPE,$(BUILDDIR))' && ( xz < "$(DIST_OUTPUT).tar" > "$(DIST_OUTPUT).tar.xz" || rm -f "$(DIST_OUTPUT).tar.xz" )
|
||||||
|
cd '$(call SHESCAPE,$(BUILDDIR))' && rm "$(DIST_OUTPUT).tar"
|
||||||
|
rm -rf '$(call SHESCAPE,$(BUILDDIR))'/"$(DIST_OUTPUT)"
|
||||||
|
|
||||||
|
.PHONY: distclean
|
||||||
|
distclean: clean
|
||||||
|
rm -rf edk2-ovmf config.log config.status GNUmakefile config.h man/man1/limine.1
|
||||||
|
|
||||||
|
.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 picoefi configure timestamps build-aux *'~' autom4te.cache aclocal.m4 *.tar*
|
||||||
|
|
||||||
|
.PHONY: common-uefi-x86-64
|
||||||
|
common-uefi-x86-64:
|
||||||
|
$(MAKE) -C '$(call SHESCAPE,$(SRCDIR))/common' -f common.mk \
|
||||||
|
TARGET=uefi-x86-64 \
|
||||||
|
BUILDDIR='$(call SHESCAPE,$(BUILDDIR))/common-uefi-x86-64'
|
||||||
|
|
||||||
|
.PHONY: common-uefi-x86-64-clean
|
||||||
|
common-uefi-x86-64-clean:
|
||||||
|
rm -rf '$(call SHESCAPE,$(BUILDDIR))/common-uefi-x86-64'
|
||||||
|
|
||||||
|
.PHONY: common-uefi-aarch64
|
||||||
|
common-uefi-aarch64:
|
||||||
|
$(MAKE) -C '$(call SHESCAPE,$(SRCDIR))/common' -f common.mk \
|
||||||
|
TARGET=uefi-aarch64 \
|
||||||
|
BUILDDIR='$(call SHESCAPE,$(BUILDDIR))/common-uefi-aarch64'
|
||||||
|
|
||||||
|
.PHONY: common-uefi-aarch64-clean
|
||||||
|
common-uefi-aarch64-clean:
|
||||||
|
rm -rf '$(call SHESCAPE,$(BUILDDIR))/common-uefi-aarch64'
|
||||||
|
|
||||||
|
.PHONY: common-uefi-riscv64
|
||||||
|
common-uefi-riscv64:
|
||||||
|
$(MAKE) -C '$(call SHESCAPE,$(SRCDIR))/common' -f common.mk \
|
||||||
|
TARGET=uefi-riscv64 \
|
||||||
|
BUILDDIR='$(call SHESCAPE,$(BUILDDIR))/common-uefi-riscv64'
|
||||||
|
|
||||||
|
.PHONY: common-uefi-riscv64-clean
|
||||||
|
common-uefi-riscv64-clean:
|
||||||
|
rm -rf '$(call SHESCAPE,$(BUILDDIR))/common-uefi-riscv64'
|
||||||
|
|
||||||
|
.PHONY: common-uefi-loongarch64
|
||||||
|
common-uefi-loongarch64:
|
||||||
|
$(MAKE) -C '$(call SHESCAPE,$(SRCDIR))/common' -f common.mk \
|
||||||
|
TARGET=uefi-loongarch64 \
|
||||||
|
BUILDDIR='$(call SHESCAPE,$(BUILDDIR))/common-uefi-loongarch64'
|
||||||
|
|
||||||
|
.PHONY: common-uefi-loongarch64-clean
|
||||||
|
common-uefi-loongarch64-clean:
|
||||||
|
rm -rf '$(call SHESCAPE,$(BUILDDIR))/common-uefi-loongarch64'
|
||||||
|
|
||||||
|
.PHONY: common-uefi-ia32
|
||||||
|
common-uefi-ia32:
|
||||||
|
$(MAKE) -C '$(call SHESCAPE,$(SRCDIR))/common' -f common.mk \
|
||||||
|
TARGET=uefi-ia32 \
|
||||||
|
BUILDDIR='$(call SHESCAPE,$(BUILDDIR))/common-uefi-ia32'
|
||||||
|
|
||||||
|
.PHONY: common-uefi-ia32-clean
|
||||||
|
common-uefi-ia32-clean:
|
||||||
|
rm -rf '$(call SHESCAPE,$(BUILDDIR))/common-uefi-ia32'
|
||||||
|
|
||||||
|
.PHONY: common-bios
|
||||||
|
common-bios:
|
||||||
|
$(MAKE) -C '$(call SHESCAPE,$(SRCDIR))/common' -f common.mk \
|
||||||
|
TARGET=bios \
|
||||||
|
BUILDDIR='$(call SHESCAPE,$(BUILDDIR))/common-bios'
|
||||||
|
|
||||||
|
.PHONY: common-bios-clean
|
||||||
|
common-bios-clean:
|
||||||
|
rm -rf '$(call SHESCAPE,$(BUILDDIR))/common-bios'
|
||||||
|
|
||||||
|
.PHONY: decompressor
|
||||||
|
decompressor:
|
||||||
|
$(MAKE) -C '$(call SHESCAPE,$(SRCDIR))/decompressor' -f decompressor.mk \
|
||||||
|
BUILDDIR='$(call SHESCAPE,$(BUILDDIR))/decompressor-build'
|
||||||
|
|
||||||
|
.PHONY: decompressor-clean
|
||||||
|
decompressor-clean:
|
||||||
|
rm -rf '$(call SHESCAPE,$(BUILDDIR))/decompressor-build'
|
||||||
|
|
||||||
|
-include test.mk
|
||||||
2
limine/build-test/bin/.gitignore
vendored
Normal file
2
limine/build-test/bin/.gitignore
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
limine
|
||||||
|
limine.exe
|
||||||
19
limine/build-test/bin/Makefile
Normal file
19
limine/build-test/bin/Makefile
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
.POSIX:
|
||||||
|
|
||||||
|
SHELL=/bin/sh
|
||||||
|
|
||||||
|
CC=cc
|
||||||
|
CFLAGS=-g -O2 -pipe
|
||||||
|
CPPFLAGS=
|
||||||
|
LDFLAGS=
|
||||||
|
LIBS=
|
||||||
|
|
||||||
|
.PHONY: all
|
||||||
|
all: limine
|
||||||
|
|
||||||
|
.PHONY: clean
|
||||||
|
clean:
|
||||||
|
rm -f limine limine.exe
|
||||||
|
|
||||||
|
limine: limine.c
|
||||||
|
$(CC) $(CFLAGS) -std=c99 $(CPPFLAGS) $(LDFLAGS) $< $(LIBS) -o $@
|
||||||
58
limine/build-test/common-uefi-x86-64/linker_nomap.ld
Normal file
58
limine/build-test/common-uefi-x86-64/linker_nomap.ld
Normal file
|
|
@ -0,0 +1,58 @@
|
||||||
|
OUTPUT_FORMAT(elf64-x86-64)
|
||||||
|
ENTRY(_start)
|
||||||
|
PHDRS
|
||||||
|
{
|
||||||
|
text PT_LOAD FLAGS(0x05);
|
||||||
|
rodata PT_LOAD FLAGS(0x04);
|
||||||
|
data PT_LOAD FLAGS(0x06);
|
||||||
|
dynamic PT_DYNAMIC FLAGS(0x06);
|
||||||
|
}
|
||||||
|
SECTIONS
|
||||||
|
{
|
||||||
|
. = 0;
|
||||||
|
__slide = .;
|
||||||
|
__image_base = ABSOLUTE(.);
|
||||||
|
__image_size = ABSOLUTE(__image_end - __image_base);
|
||||||
|
.text : {
|
||||||
|
KEEP(*(.pe_header))
|
||||||
|
. = ALIGN(0x1000);
|
||||||
|
__text_start = ABSOLUTE(.);
|
||||||
|
*(.text .text.*)
|
||||||
|
} :text
|
||||||
|
. = ALIGN(0x1000);
|
||||||
|
__text_end = ABSOLUTE(.);
|
||||||
|
__text_size = ABSOLUTE(__text_end - __text_start);
|
||||||
|
.rodata : {
|
||||||
|
__reloc_start = ABSOLUTE(.);
|
||||||
|
*(.dummy_reloc)
|
||||||
|
. = ALIGN(0x1000);
|
||||||
|
__reloc_end = ABSOLUTE(.);
|
||||||
|
__reloc_size = ABSOLUTE(__reloc_end - __reloc_start);
|
||||||
|
__data_start = ABSOLUTE(.);
|
||||||
|
*(.rodata .rodata.*)
|
||||||
|
full_map = .;
|
||||||
|
} :rodata
|
||||||
|
.data : {
|
||||||
|
data_begin = .;
|
||||||
|
*(.data .data.*)
|
||||||
|
} :data
|
||||||
|
.bss : {
|
||||||
|
*(.bss .bss.*)
|
||||||
|
*(COMMON)
|
||||||
|
data_end = .;
|
||||||
|
} :data
|
||||||
|
.no_unwind : {
|
||||||
|
*(.no_unwind)
|
||||||
|
} :data
|
||||||
|
.dynamic : {
|
||||||
|
*(.dynamic)
|
||||||
|
} :data :dynamic
|
||||||
|
__data_end = ABSOLUTE(ALIGN(0x1000));
|
||||||
|
__data_size = ABSOLUTE(__data_end - __data_start);
|
||||||
|
__image_end = ABSOLUTE(ALIGN(0x1000));
|
||||||
|
/DISCARD/ : {
|
||||||
|
*(.eh_frame*)
|
||||||
|
*(.note .note.*)
|
||||||
|
*(.interp)
|
||||||
|
}
|
||||||
|
}
|
||||||
7
limine/build-test/config.h
Normal file
7
limine/build-test/config.h
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
#ifndef __CONFIG_H__
|
||||||
|
#define __CONFIG_H__
|
||||||
|
|
||||||
|
#define LIMINE_VERSION "UNVERSIONED"
|
||||||
|
#define LIMINE_COPYRIGHT "Copyright (C) 2019-2026 Mintsuki and contributors."
|
||||||
|
|
||||||
|
#endif
|
||||||
470
limine/build-test/config.log
Normal file
470
limine/build-test/config.log
Normal file
|
|
@ -0,0 +1,470 @@
|
||||||
|
This file contains any messages produced by compilers while
|
||||||
|
running configure, to aid debugging if configure makes a mistake.
|
||||||
|
|
||||||
|
It was created by ZOVboot configure UNVERSIONED, which was
|
||||||
|
generated by GNU Autoconf 2.72. Invocation command line was
|
||||||
|
|
||||||
|
$ ../configure --enable-bios --enable-uefi-x86-64 LD_FOR_TARGET=ld OBJCOPY_FOR_TARGET=objcopy OBJDUMP_FOR_TARGET=objdump READELF_FOR_TARGET=readelf
|
||||||
|
|
||||||
|
## --------- ##
|
||||||
|
## Platform. ##
|
||||||
|
## --------- ##
|
||||||
|
|
||||||
|
hostname = archlinux
|
||||||
|
uname -m = x86_64
|
||||||
|
uname -r = 6.19.6-arch1-1
|
||||||
|
uname -s = Linux
|
||||||
|
uname -v = #1 SMP PREEMPT_DYNAMIC Wed, 04 Mar 2026 18:25:08 +0000
|
||||||
|
|
||||||
|
/usr/bin/uname -p = unknown
|
||||||
|
/bin/uname -X = unknown
|
||||||
|
|
||||||
|
/bin/arch = unknown
|
||||||
|
/usr/bin/arch -k = unknown
|
||||||
|
/usr/convex/getsysinfo = unknown
|
||||||
|
/usr/bin/hostinfo = unknown
|
||||||
|
/bin/machine = unknown
|
||||||
|
/usr/bin/oslevel = unknown
|
||||||
|
/bin/universe = unknown
|
||||||
|
|
||||||
|
PATH: /tmp/fakebin/
|
||||||
|
PATH: /home/wpng1337/.codex/tmp/arg0/codex-arg0tf5Bxj/
|
||||||
|
PATH: /usr/local/sbin/
|
||||||
|
PATH: /usr/local/bin/
|
||||||
|
PATH: /usr/bin/
|
||||||
|
PATH: /var/lib/flatpak/exports/bin/
|
||||||
|
PATH: /usr/bin/site_perl/
|
||||||
|
PATH: /usr/bin/vendor_perl/
|
||||||
|
PATH: /usr/bin/core_perl/
|
||||||
|
PATH: /home/wpng1337/.vscode-oss/extensions/openai.chatgpt-26.311.21342-linux-x64/bin/linux-x86_64/
|
||||||
|
|
||||||
|
|
||||||
|
## ----------- ##
|
||||||
|
## Core tests. ##
|
||||||
|
## ----------- ##
|
||||||
|
|
||||||
|
configure:2243: looking for aux files: install-sh config.guess config.sub
|
||||||
|
configure:2256: trying ../build-aux/
|
||||||
|
configure:2267: ../build-aux/install-sh found
|
||||||
|
configure:2285: ../build-aux/config.guess found
|
||||||
|
configure:2285: ../build-aux/config.sub found
|
||||||
|
configure:2421: checking build system type
|
||||||
|
configure:2437: result: x86_64-pc-linux-gnu
|
||||||
|
configure:2457: checking host system type
|
||||||
|
configure:2472: result: x86_64-pc-linux-gnu
|
||||||
|
configure:2592: checking for gcc
|
||||||
|
configure:2613: found /usr/bin/gcc
|
||||||
|
configure:2625: result: gcc
|
||||||
|
configure:2984: checking for C compiler version
|
||||||
|
configure:2993: gcc --version >&5
|
||||||
|
gcc (GCC) 15.2.1 20260209
|
||||||
|
Copyright (C) 2025 Free Software Foundation, Inc.
|
||||||
|
This is free software; see the source for copying conditions. There is NO
|
||||||
|
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
configure:3004: $? = 0
|
||||||
|
configure:2993: gcc -v >&5
|
||||||
|
Using built-in specs.
|
||||||
|
COLLECT_GCC=gcc
|
||||||
|
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/lto-wrapper
|
||||||
|
Target: x86_64-pc-linux-gnu
|
||||||
|
Configured with: /build/gcc/src/gcc/configure --enable-languages=ada,c,c++,d,fortran,go,lto,m2,objc,obj-c++,rust,cobol --enable-bootstrap --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://gitlab.archlinux.org/archlinux/packaging/packages/gcc/-/issues --with-build-config=bootstrap-lto --with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit --enable-cet=auto --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-libstdcxx-backtrace --enable-link-serialization=1 --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-werror
|
||||||
|
Thread model: posix
|
||||||
|
Supported LTO compression algorithms: zlib zstd
|
||||||
|
gcc version 15.2.1 20260209 (GCC)
|
||||||
|
configure:3004: $? = 0
|
||||||
|
configure:2993: gcc -V >&5
|
||||||
|
gcc: error: unrecognized command-line option '-V'
|
||||||
|
gcc: fatal error: no input files
|
||||||
|
compilation terminated.
|
||||||
|
configure:3004: $? = 1
|
||||||
|
configure:2993: gcc -qversion >&5
|
||||||
|
gcc: error: unrecognized command-line option '-qversion'; did you mean '--version'?
|
||||||
|
gcc: fatal error: no input files
|
||||||
|
compilation terminated.
|
||||||
|
configure:3004: $? = 1
|
||||||
|
configure:2993: gcc -version >&5
|
||||||
|
gcc: error: unrecognized command-line option '-version'
|
||||||
|
gcc: fatal error: no input files
|
||||||
|
compilation terminated.
|
||||||
|
configure:3004: $? = 1
|
||||||
|
configure:3024: checking whether the C compiler works
|
||||||
|
configure:3046: gcc -g -O2 -pipe conftest.c >&5
|
||||||
|
configure:3050: $? = 0
|
||||||
|
configure:3101: result: yes
|
||||||
|
configure:3105: checking for C compiler default output file name
|
||||||
|
configure:3107: result: a.out
|
||||||
|
configure:3113: checking for suffix of executables
|
||||||
|
configure:3120: gcc -o conftest -g -O2 -pipe conftest.c >&5
|
||||||
|
configure:3124: $? = 0
|
||||||
|
configure:3148: result:
|
||||||
|
configure:3172: checking whether we are cross compiling
|
||||||
|
configure:3180: gcc -o conftest -g -O2 -pipe conftest.c >&5
|
||||||
|
configure:3184: $? = 0
|
||||||
|
configure:3191: ./conftest
|
||||||
|
configure:3195: $? = 0
|
||||||
|
configure:3210: result: no
|
||||||
|
configure:3216: checking for suffix of object files
|
||||||
|
configure:3239: gcc -c -g -O2 -pipe conftest.c >&5
|
||||||
|
configure:3243: $? = 0
|
||||||
|
configure:3267: result: o
|
||||||
|
configure:3271: checking whether the compiler supports GNU C
|
||||||
|
configure:3291: gcc -c -g -O2 -pipe conftest.c >&5
|
||||||
|
configure:3291: $? = 0
|
||||||
|
configure:3303: result: yes
|
||||||
|
configure:3314: checking whether gcc accepts -g
|
||||||
|
configure:3335: gcc -c -g conftest.c >&5
|
||||||
|
configure:3335: $? = 0
|
||||||
|
configure:3382: result: yes
|
||||||
|
configure:3402: checking for gcc option to enable C11 features
|
||||||
|
configure:3417: gcc -c -g -O2 -pipe conftest.c >&5
|
||||||
|
configure:3417: $? = 0
|
||||||
|
configure:3436: result: none needed
|
||||||
|
configure:3572: checking for a race-free mkdir -p
|
||||||
|
configure:3615: result: /usr/bin/mkdir -p
|
||||||
|
configure:3634: checking for a BSD-compatible install
|
||||||
|
configure:3708: result: /usr/bin/install -c
|
||||||
|
configure:3720: checking for a sed that does not truncate output
|
||||||
|
configure:3792: result: /usr/bin/sed
|
||||||
|
configure:3798: checking for grep that handles long lines and -e
|
||||||
|
configure:3864: result: /usr/bin/grep
|
||||||
|
configure:3874: checking for gawk
|
||||||
|
configure:3895: found /usr/bin/gawk
|
||||||
|
configure:3907: result: gawk
|
||||||
|
configure:3922: checking for find
|
||||||
|
configure:3943: found /usr/bin/find
|
||||||
|
configure:3955: result: yes
|
||||||
|
configure:4085: checking for strip
|
||||||
|
configure:4106: found /usr/bin/strip
|
||||||
|
configure:4118: result: strip
|
||||||
|
configure:4213: checking for stdio.h
|
||||||
|
configure:4213: gcc -c -g -O2 -pipe conftest.c >&5
|
||||||
|
configure:4213: $? = 0
|
||||||
|
configure:4213: result: yes
|
||||||
|
configure:4213: checking for stdlib.h
|
||||||
|
configure:4213: gcc -c -g -O2 -pipe conftest.c >&5
|
||||||
|
configure:4213: $? = 0
|
||||||
|
configure:4213: result: yes
|
||||||
|
configure:4213: checking for string.h
|
||||||
|
configure:4213: gcc -c -g -O2 -pipe conftest.c >&5
|
||||||
|
configure:4213: $? = 0
|
||||||
|
configure:4213: result: yes
|
||||||
|
configure:4213: checking for inttypes.h
|
||||||
|
configure:4213: gcc -c -g -O2 -pipe conftest.c >&5
|
||||||
|
configure:4213: $? = 0
|
||||||
|
configure:4213: result: yes
|
||||||
|
configure:4213: checking for stdint.h
|
||||||
|
configure:4213: gcc -c -g -O2 -pipe conftest.c >&5
|
||||||
|
configure:4213: $? = 0
|
||||||
|
configure:4213: result: yes
|
||||||
|
configure:4213: checking for strings.h
|
||||||
|
configure:4213: gcc -c -g -O2 -pipe conftest.c >&5
|
||||||
|
configure:4213: $? = 0
|
||||||
|
configure:4213: result: yes
|
||||||
|
configure:4213: checking for sys/stat.h
|
||||||
|
configure:4213: gcc -c -g -O2 -pipe conftest.c >&5
|
||||||
|
configure:4213: $? = 0
|
||||||
|
configure:4213: result: yes
|
||||||
|
configure:4213: checking for sys/types.h
|
||||||
|
configure:4213: gcc -c -g -O2 -pipe conftest.c >&5
|
||||||
|
configure:4213: $? = 0
|
||||||
|
configure:4213: result: yes
|
||||||
|
configure:4213: checking for unistd.h
|
||||||
|
configure:4213: gcc -c -g -O2 -pipe conftest.c >&5
|
||||||
|
configure:4213: $? = 0
|
||||||
|
configure:4213: result: yes
|
||||||
|
configure:4241: checking for stdio.h
|
||||||
|
configure:4241: result: yes
|
||||||
|
configure:4241: checking for stdlib.h
|
||||||
|
configure:4241: result: yes
|
||||||
|
configure:4241: checking for stdint.h
|
||||||
|
configure:4241: result: yes
|
||||||
|
configure:4241: checking for stddef.h
|
||||||
|
configure:4241: gcc -c -g -O2 -pipe conftest.c >&5
|
||||||
|
configure:4241: $? = 0
|
||||||
|
configure:4241: result: yes
|
||||||
|
configure:4241: checking for stdbool.h
|
||||||
|
configure:4241: gcc -c -g -O2 -pipe conftest.c >&5
|
||||||
|
configure:4241: $? = 0
|
||||||
|
configure:4241: result: yes
|
||||||
|
configure:4241: checking for stdarg.h
|
||||||
|
configure:4241: gcc -c -g -O2 -pipe conftest.c >&5
|
||||||
|
configure:4241: $? = 0
|
||||||
|
configure:4241: result: yes
|
||||||
|
configure:4241: checking for string.h
|
||||||
|
configure:4241: result: yes
|
||||||
|
configure:4241: checking for errno.h
|
||||||
|
configure:4241: gcc -c -g -O2 -pipe conftest.c >&5
|
||||||
|
configure:4241: $? = 0
|
||||||
|
configure:4241: result: yes
|
||||||
|
configure:4241: checking for inttypes.h
|
||||||
|
configure:4241: result: yes
|
||||||
|
configure:4241: checking for limits.h
|
||||||
|
configure:4241: gcc -c -g -O2 -pipe conftest.c >&5
|
||||||
|
configure:4241: $? = 0
|
||||||
|
configure:4241: result: yes
|
||||||
|
configure:4241: checking for time.h
|
||||||
|
configure:4241: gcc -c -g -O2 -pipe conftest.c >&5
|
||||||
|
configure:4241: $? = 0
|
||||||
|
configure:4241: result: yes
|
||||||
|
configure:4302: checking for clang
|
||||||
|
configure:4323: found /usr/bin/clang
|
||||||
|
configure:4335: result: yes
|
||||||
|
configure:4538: checking for ld
|
||||||
|
configure:4559: found /usr/bin/ld
|
||||||
|
configure:4571: result: yes
|
||||||
|
configure:4774: checking for objcopy
|
||||||
|
configure:4795: found /usr/bin/objcopy
|
||||||
|
configure:4807: result: yes
|
||||||
|
configure:5010: checking for objdump
|
||||||
|
configure:5031: found /usr/bin/objdump
|
||||||
|
configure:5043: result: yes
|
||||||
|
configure:5246: checking for readelf
|
||||||
|
configure:5267: found /usr/bin/readelf
|
||||||
|
configure:5279: result: yes
|
||||||
|
configure:5678: checking for nasm
|
||||||
|
configure:5699: found /tmp/fakebin/nasm
|
||||||
|
configure:5711: result: yes
|
||||||
|
configure:5727: checking for gzip
|
||||||
|
configure:5748: found /usr/bin/gzip
|
||||||
|
configure:5760: result: yes
|
||||||
|
configure:5949: creating ./config.status
|
||||||
|
|
||||||
|
## ---------------------- ##
|
||||||
|
## Running config.status. ##
|
||||||
|
## ---------------------- ##
|
||||||
|
|
||||||
|
This file was extended by ZOVboot config.status UNVERSIONED, which was
|
||||||
|
generated by GNU Autoconf 2.72. Invocation command line was
|
||||||
|
|
||||||
|
CONFIG_FILES =
|
||||||
|
CONFIG_HEADERS =
|
||||||
|
CONFIG_LINKS =
|
||||||
|
CONFIG_COMMANDS =
|
||||||
|
$ ./config.status
|
||||||
|
|
||||||
|
on archlinux
|
||||||
|
|
||||||
|
config.status:777: creating man/man1/limine.1
|
||||||
|
config.status:777: creating GNUmakefile
|
||||||
|
config.status:777: creating config.h
|
||||||
|
|
||||||
|
## ---------------- ##
|
||||||
|
## Cache variables. ##
|
||||||
|
## ---------------- ##
|
||||||
|
|
||||||
|
ac_cv_build=x86_64-pc-linux-gnu
|
||||||
|
ac_cv_c_compiler_gnu=yes
|
||||||
|
ac_cv_env_CC_FOR_TARGET_set=
|
||||||
|
ac_cv_env_CC_FOR_TARGET_value=
|
||||||
|
ac_cv_env_CC_set=
|
||||||
|
ac_cv_env_CC_value=
|
||||||
|
ac_cv_env_CFLAGS_FOR_TARGET_set=
|
||||||
|
ac_cv_env_CFLAGS_FOR_TARGET_value=
|
||||||
|
ac_cv_env_CFLAGS_set=
|
||||||
|
ac_cv_env_CFLAGS_value=
|
||||||
|
ac_cv_env_CPPFLAGS_FOR_TARGET_set=
|
||||||
|
ac_cv_env_CPPFLAGS_FOR_TARGET_value=
|
||||||
|
ac_cv_env_CPPFLAGS_set=
|
||||||
|
ac_cv_env_CPPFLAGS_value=
|
||||||
|
ac_cv_env_LDFLAGS_FOR_TARGET_set=
|
||||||
|
ac_cv_env_LDFLAGS_FOR_TARGET_value=
|
||||||
|
ac_cv_env_LDFLAGS_set=
|
||||||
|
ac_cv_env_LDFLAGS_value=
|
||||||
|
ac_cv_env_LD_FOR_TARGET_set=set
|
||||||
|
ac_cv_env_LD_FOR_TARGET_value=ld
|
||||||
|
ac_cv_env_LIBS_set=
|
||||||
|
ac_cv_env_LIBS_value=
|
||||||
|
ac_cv_env_NASMFLAGS_FOR_TARGET_set=
|
||||||
|
ac_cv_env_NASMFLAGS_FOR_TARGET_value=
|
||||||
|
ac_cv_env_OBJCOPY_FOR_TARGET_set=set
|
||||||
|
ac_cv_env_OBJCOPY_FOR_TARGET_value=objcopy
|
||||||
|
ac_cv_env_OBJDUMP_FOR_TARGET_set=set
|
||||||
|
ac_cv_env_OBJDUMP_FOR_TARGET_value=objdump
|
||||||
|
ac_cv_env_READELF_FOR_TARGET_set=set
|
||||||
|
ac_cv_env_READELF_FOR_TARGET_value=readelf
|
||||||
|
ac_cv_env_STRIP_set=
|
||||||
|
ac_cv_env_STRIP_value=
|
||||||
|
ac_cv_env_TOOLCHAIN_FOR_TARGET_set=
|
||||||
|
ac_cv_env_TOOLCHAIN_FOR_TARGET_value=
|
||||||
|
ac_cv_env_build_alias_set=
|
||||||
|
ac_cv_env_build_alias_value=
|
||||||
|
ac_cv_env_host_alias_set=
|
||||||
|
ac_cv_env_host_alias_value=
|
||||||
|
ac_cv_env_target_alias_set=
|
||||||
|
ac_cv_env_target_alias_value=
|
||||||
|
ac_cv_header_errno_h=yes
|
||||||
|
ac_cv_header_inttypes_h=yes
|
||||||
|
ac_cv_header_limits_h=yes
|
||||||
|
ac_cv_header_stdarg_h=yes
|
||||||
|
ac_cv_header_stdbool_h=yes
|
||||||
|
ac_cv_header_stddef_h=yes
|
||||||
|
ac_cv_header_stdint_h=yes
|
||||||
|
ac_cv_header_stdio_h=yes
|
||||||
|
ac_cv_header_stdlib_h=yes
|
||||||
|
ac_cv_header_string_h=yes
|
||||||
|
ac_cv_header_strings_h=yes
|
||||||
|
ac_cv_header_sys_stat_h=yes
|
||||||
|
ac_cv_header_sys_types_h=yes
|
||||||
|
ac_cv_header_time_h=yes
|
||||||
|
ac_cv_header_unistd_h=yes
|
||||||
|
ac_cv_host=x86_64-pc-linux-gnu
|
||||||
|
ac_cv_objext=o
|
||||||
|
ac_cv_path_GREP=/usr/bin/grep
|
||||||
|
ac_cv_path_SED=/usr/bin/sed
|
||||||
|
ac_cv_path_install='/usr/bin/install -c'
|
||||||
|
ac_cv_path_mkdir=/usr/bin/mkdir
|
||||||
|
ac_cv_prog_AWK=gawk
|
||||||
|
ac_cv_prog_CC_FOR_TARGET_FOUND=yes
|
||||||
|
ac_cv_prog_FIND_FOUND=yes
|
||||||
|
ac_cv_prog_GZIP_FOUND=yes
|
||||||
|
ac_cv_prog_LD_FOR_TARGET_FOUND=yes
|
||||||
|
ac_cv_prog_NASM_FOUND=yes
|
||||||
|
ac_cv_prog_OBJCOPY_FOR_TARGET_FOUND=yes
|
||||||
|
ac_cv_prog_OBJDUMP_FOR_TARGET_FOUND=yes
|
||||||
|
ac_cv_prog_READELF_FOR_TARGET_FOUND=yes
|
||||||
|
ac_cv_prog_ac_ct_CC=gcc
|
||||||
|
ac_cv_prog_ac_ct_STRIP_FOUND=strip
|
||||||
|
ac_cv_prog_cc_c11=
|
||||||
|
ac_cv_prog_cc_g=yes
|
||||||
|
ac_cv_prog_cc_stdc=
|
||||||
|
|
||||||
|
## ----------------- ##
|
||||||
|
## Output variables. ##
|
||||||
|
## ----------------- ##
|
||||||
|
|
||||||
|
AWK='gawk'
|
||||||
|
BUILDDIR='/home/wpng1337/Zovboot/ZOVboot/limine/build-test'
|
||||||
|
BUILD_BIOS='limine-bios'
|
||||||
|
BUILD_BIOS_CD='no'
|
||||||
|
BUILD_BIOS_PXE='no'
|
||||||
|
BUILD_UEFI_AARCH64=''
|
||||||
|
BUILD_UEFI_CD='no'
|
||||||
|
BUILD_UEFI_IA32=''
|
||||||
|
BUILD_UEFI_LOONGARCH64=''
|
||||||
|
BUILD_UEFI_RISCV64=''
|
||||||
|
BUILD_UEFI_X86_64='limine-uefi-x86-64'
|
||||||
|
CC='gcc'
|
||||||
|
CC_FOR_TARGET='clang'
|
||||||
|
CC_FOR_TARGET_FOUND='yes'
|
||||||
|
CFLAGS='-g -O2 -pipe'
|
||||||
|
CFLAGS_FOR_TARGET=' -g -O2 -pipe'
|
||||||
|
CPPFLAGS=''
|
||||||
|
CPPFLAGS_FOR_TARGET=''
|
||||||
|
DEFS='-DPACKAGE_NAME=\"ZOVboot\" -DPACKAGE_TARNAME=\"zovboot\" -DPACKAGE_VERSION=\"UNVERSIONED\" -DPACKAGE_STRING=\"ZOVboot\ UNVERSIONED\" -DPACKAGE_BUGREPORT=\"https://git.bebrik.xyz/Zhirik1337/ZOVboot\" -DPACKAGE_URL=\"https://git.bebrik.xyz/Zhirik1337/ZOVboot\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STDINT_H=1 -DHAVE_STDDEF_H=1 -DHAVE_STDBOOL_H=1 -DHAVE_STDARG_H=1 -DHAVE_STRING_H=1 -DHAVE_ERRNO_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_TIME_H=1'
|
||||||
|
ECHO_C=''
|
||||||
|
ECHO_N='-n'
|
||||||
|
ECHO_T=''
|
||||||
|
EXEEXT=''
|
||||||
|
FIND_FOUND='yes'
|
||||||
|
GREP='/usr/bin/grep'
|
||||||
|
GZIP_FOUND='yes'
|
||||||
|
INSTALL_DATA='${INSTALL} -m 644'
|
||||||
|
INSTALL_PROGRAM='${INSTALL}'
|
||||||
|
INSTALL_SCRIPT='${INSTALL}'
|
||||||
|
LDFLAGS=''
|
||||||
|
LDFLAGS_FOR_TARGET=''
|
||||||
|
LD_FOR_TARGET='ld'
|
||||||
|
LD_FOR_TARGET_FOUND='yes'
|
||||||
|
LIBOBJS=''
|
||||||
|
LIBS=''
|
||||||
|
LIMINE_COPYRIGHT='Copyright (C) 2019-2026 Mintsuki and contributors.'
|
||||||
|
LTLIBOBJS=''
|
||||||
|
MKDIR_P='/usr/bin/mkdir -p'
|
||||||
|
MTOOLS_FOUND=''
|
||||||
|
NASMFLAGS_FOR_TARGET='-g'
|
||||||
|
NASM_FOUND='yes'
|
||||||
|
OBJCOPY_FOR_TARGET='objcopy'
|
||||||
|
OBJCOPY_FOR_TARGET_FOUND='yes'
|
||||||
|
OBJDUMP_FOR_TARGET='objdump'
|
||||||
|
OBJDUMP_FOR_TARGET_FOUND='yes'
|
||||||
|
OBJEXT='o'
|
||||||
|
PACKAGE_BUGREPORT='https://git.bebrik.xyz/Zhirik1337/ZOVboot'
|
||||||
|
PACKAGE_NAME='ZOVboot'
|
||||||
|
PACKAGE_STRING='ZOVboot UNVERSIONED'
|
||||||
|
PACKAGE_TARNAME='zovboot'
|
||||||
|
PACKAGE_URL='https://git.bebrik.xyz/Zhirik1337/ZOVboot'
|
||||||
|
PACKAGE_VERSION='UNVERSIONED'
|
||||||
|
PATH_SEPARATOR=':'
|
||||||
|
READELF_FOR_TARGET='readelf'
|
||||||
|
READELF_FOR_TARGET_FOUND='yes'
|
||||||
|
REGEN_DATE='UNVERSIONED'
|
||||||
|
SED='/usr/bin/sed'
|
||||||
|
SHELL='/bin/sh'
|
||||||
|
SOURCE_DATE_EPOCH='1546297200'
|
||||||
|
SOURCE_DATE_EPOCH_TOUCH='201901010000'
|
||||||
|
SRCDIR='/home/wpng1337/Zovboot/ZOVboot/limine'
|
||||||
|
STRIP='strip'
|
||||||
|
STRIP_FOUND='yes'
|
||||||
|
TOOLCHAIN_FOR_TARGET='llvm-'
|
||||||
|
WERROR_FLAG='-Wno-error'
|
||||||
|
ac_ct_CC='gcc'
|
||||||
|
bindir='${exec_prefix}/bin'
|
||||||
|
build='x86_64-pc-linux-gnu'
|
||||||
|
build_alias=''
|
||||||
|
build_cpu='x86_64'
|
||||||
|
build_os='linux-gnu'
|
||||||
|
build_vendor='pc'
|
||||||
|
datadir='${datarootdir}'
|
||||||
|
datarootdir='${prefix}/share'
|
||||||
|
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
|
||||||
|
dvidir='${docdir}'
|
||||||
|
exec_prefix='${prefix}'
|
||||||
|
host='x86_64-pc-linux-gnu'
|
||||||
|
host_alias=''
|
||||||
|
host_cpu='x86_64'
|
||||||
|
host_os='linux-gnu'
|
||||||
|
host_vendor='pc'
|
||||||
|
htmldir='${docdir}'
|
||||||
|
includedir='${prefix}/include'
|
||||||
|
infodir='${datarootdir}/info'
|
||||||
|
libdir='${exec_prefix}/lib'
|
||||||
|
libexecdir='${exec_prefix}/libexec'
|
||||||
|
localedir='${datarootdir}/locale'
|
||||||
|
localstatedir='${prefix}/var'
|
||||||
|
mandir='${datarootdir}/man'
|
||||||
|
oldincludedir='/usr/include'
|
||||||
|
pdfdir='${docdir}'
|
||||||
|
prefix='/usr/local'
|
||||||
|
program_transform_name='s,x,x,'
|
||||||
|
psdir='${docdir}'
|
||||||
|
runstatedir='${localstatedir}/run'
|
||||||
|
sbindir='${exec_prefix}/sbin'
|
||||||
|
sharedstatedir='${prefix}/com'
|
||||||
|
sysconfdir='${prefix}/etc'
|
||||||
|
target_alias=''
|
||||||
|
|
||||||
|
## ----------- ##
|
||||||
|
## confdefs.h. ##
|
||||||
|
## ----------- ##
|
||||||
|
|
||||||
|
/* confdefs.h */
|
||||||
|
#define PACKAGE_NAME "ZOVboot"
|
||||||
|
#define PACKAGE_TARNAME "zovboot"
|
||||||
|
#define PACKAGE_VERSION "UNVERSIONED"
|
||||||
|
#define PACKAGE_STRING "ZOVboot UNVERSIONED"
|
||||||
|
#define PACKAGE_BUGREPORT "https://git.bebrik.xyz/Zhirik1337/ZOVboot"
|
||||||
|
#define PACKAGE_URL "https://git.bebrik.xyz/Zhirik1337/ZOVboot"
|
||||||
|
#define HAVE_STDIO_H 1
|
||||||
|
#define HAVE_STDLIB_H 1
|
||||||
|
#define HAVE_STRING_H 1
|
||||||
|
#define HAVE_INTTYPES_H 1
|
||||||
|
#define HAVE_STDINT_H 1
|
||||||
|
#define HAVE_STRINGS_H 1
|
||||||
|
#define HAVE_SYS_STAT_H 1
|
||||||
|
#define HAVE_SYS_TYPES_H 1
|
||||||
|
#define HAVE_UNISTD_H 1
|
||||||
|
#define STDC_HEADERS 1
|
||||||
|
#define HAVE_STDIO_H 1
|
||||||
|
#define HAVE_STDLIB_H 1
|
||||||
|
#define HAVE_STDINT_H 1
|
||||||
|
#define HAVE_STDDEF_H 1
|
||||||
|
#define HAVE_STDBOOL_H 1
|
||||||
|
#define HAVE_STDARG_H 1
|
||||||
|
#define HAVE_STRING_H 1
|
||||||
|
#define HAVE_ERRNO_H 1
|
||||||
|
#define HAVE_INTTYPES_H 1
|
||||||
|
#define HAVE_LIMITS_H 1
|
||||||
|
#define HAVE_TIME_H 1
|
||||||
|
|
||||||
|
configure: exit 0
|
||||||
940
limine/build-test/config.status
Executable file
940
limine/build-test/config.status
Executable file
|
|
@ -0,0 +1,940 @@
|
||||||
|
#! /bin/sh
|
||||||
|
# Generated by configure.
|
||||||
|
# Run this file to recreate the current configuration.
|
||||||
|
# Compiler output produced by configure, useful for debugging
|
||||||
|
# configure, is in config.log if it exists.
|
||||||
|
|
||||||
|
debug=false
|
||||||
|
ac_cs_recheck=false
|
||||||
|
ac_cs_silent=false
|
||||||
|
|
||||||
|
SHELL=${CONFIG_SHELL-/bin/sh}
|
||||||
|
export SHELL
|
||||||
|
## -------------------- ##
|
||||||
|
## M4sh Initialization. ##
|
||||||
|
## -------------------- ##
|
||||||
|
|
||||||
|
# Be more Bourne compatible
|
||||||
|
DUALCASE=1; export DUALCASE # for MKS sh
|
||||||
|
if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
|
||||||
|
then :
|
||||||
|
emulate sh
|
||||||
|
NULLCMD=:
|
||||||
|
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
||||||
|
# is contrary to our usage. Disable this feature.
|
||||||
|
alias -g '${1+"$@"}'='"$@"'
|
||||||
|
setopt NO_GLOB_SUBST
|
||||||
|
else case e in #(
|
||||||
|
e) case `(set -o) 2>/dev/null` in #(
|
||||||
|
*posix*) :
|
||||||
|
set -o posix ;; #(
|
||||||
|
*) :
|
||||||
|
;;
|
||||||
|
esac ;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# Reset variables that may have inherited troublesome values from
|
||||||
|
# the environment.
|
||||||
|
|
||||||
|
# IFS needs to be set, to space, tab, and newline, in precisely that order.
|
||||||
|
# (If _AS_PATH_WALK were called with IFS unset, it would have the
|
||||||
|
# side effect of setting IFS to empty, thus disabling word splitting.)
|
||||||
|
# Quoting is to prevent editors from complaining about space-tab.
|
||||||
|
as_nl='
|
||||||
|
'
|
||||||
|
export as_nl
|
||||||
|
IFS=" "" $as_nl"
|
||||||
|
|
||||||
|
PS1='$ '
|
||||||
|
PS2='> '
|
||||||
|
PS4='+ '
|
||||||
|
|
||||||
|
# Ensure predictable behavior from utilities with locale-dependent output.
|
||||||
|
LC_ALL=C
|
||||||
|
export LC_ALL
|
||||||
|
LANGUAGE=C
|
||||||
|
export LANGUAGE
|
||||||
|
|
||||||
|
# We cannot yet rely on "unset" to work, but we need these variables
|
||||||
|
# to be unset--not just set to an empty or harmless value--now, to
|
||||||
|
# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
|
||||||
|
# also avoids known problems related to "unset" and subshell syntax
|
||||||
|
# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
|
||||||
|
for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
|
||||||
|
do eval test \${$as_var+y} \
|
||||||
|
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
||||||
|
done
|
||||||
|
|
||||||
|
# Ensure that fds 0, 1, and 2 are open.
|
||||||
|
if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
|
||||||
|
if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
|
||||||
|
if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
|
||||||
|
|
||||||
|
# The user is always right.
|
||||||
|
if ${PATH_SEPARATOR+false} :; then
|
||||||
|
PATH_SEPARATOR=:
|
||||||
|
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
||||||
|
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
||||||
|
PATH_SEPARATOR=';'
|
||||||
|
}
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
# Find who we are. Look in the path if we contain no directory separator.
|
||||||
|
as_myself=
|
||||||
|
case $0 in #((
|
||||||
|
*[\\/]* ) as_myself=$0 ;;
|
||||||
|
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
||||||
|
for as_dir in $PATH
|
||||||
|
do
|
||||||
|
IFS=$as_save_IFS
|
||||||
|
case $as_dir in #(((
|
||||||
|
'') as_dir=./ ;;
|
||||||
|
*/) ;;
|
||||||
|
*) as_dir=$as_dir/ ;;
|
||||||
|
esac
|
||||||
|
test -r "$as_dir$0" && as_myself=$as_dir$0 && break
|
||||||
|
done
|
||||||
|
IFS=$as_save_IFS
|
||||||
|
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
# We did not find ourselves, most probably we were run as 'sh COMMAND'
|
||||||
|
# in which case we are not to be found in the path.
|
||||||
|
if test "x$as_myself" = x; then
|
||||||
|
as_myself=$0
|
||||||
|
fi
|
||||||
|
if test ! -f "$as_myself"; then
|
||||||
|
printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# as_fn_error STATUS ERROR [LINENO LOG_FD]
|
||||||
|
# ----------------------------------------
|
||||||
|
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
|
||||||
|
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
|
||||||
|
# script with STATUS, using 1 if that was 0.
|
||||||
|
as_fn_error ()
|
||||||
|
{
|
||||||
|
as_status=$1; test $as_status -eq 0 && as_status=1
|
||||||
|
if test "$4"; then
|
||||||
|
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
||||||
|
printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
|
||||||
|
fi
|
||||||
|
printf "%s\n" "$as_me: error: $2" >&2
|
||||||
|
as_fn_exit $as_status
|
||||||
|
} # as_fn_error
|
||||||
|
|
||||||
|
|
||||||
|
# as_fn_set_status STATUS
|
||||||
|
# -----------------------
|
||||||
|
# Set $? to STATUS, without forking.
|
||||||
|
as_fn_set_status ()
|
||||||
|
{
|
||||||
|
return $1
|
||||||
|
} # as_fn_set_status
|
||||||
|
|
||||||
|
# as_fn_exit STATUS
|
||||||
|
# -----------------
|
||||||
|
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
|
||||||
|
as_fn_exit ()
|
||||||
|
{
|
||||||
|
set +e
|
||||||
|
as_fn_set_status $1
|
||||||
|
exit $1
|
||||||
|
} # as_fn_exit
|
||||||
|
|
||||||
|
# as_fn_unset VAR
|
||||||
|
# ---------------
|
||||||
|
# Portably unset VAR.
|
||||||
|
as_fn_unset ()
|
||||||
|
{
|
||||||
|
{ eval $1=; unset $1;}
|
||||||
|
}
|
||||||
|
as_unset=as_fn_unset
|
||||||
|
|
||||||
|
# as_fn_append VAR VALUE
|
||||||
|
# ----------------------
|
||||||
|
# Append the text in VALUE to the end of the definition contained in VAR. Take
|
||||||
|
# advantage of any shell optimizations that allow amortized linear growth over
|
||||||
|
# repeated appends, instead of the typical quadratic growth present in naive
|
||||||
|
# implementations.
|
||||||
|
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
|
||||||
|
then :
|
||||||
|
eval 'as_fn_append ()
|
||||||
|
{
|
||||||
|
eval $1+=\$2
|
||||||
|
}'
|
||||||
|
else case e in #(
|
||||||
|
e) as_fn_append ()
|
||||||
|
{
|
||||||
|
eval $1=\$$1\$2
|
||||||
|
} ;;
|
||||||
|
esac
|
||||||
|
fi # as_fn_append
|
||||||
|
|
||||||
|
# as_fn_arith ARG...
|
||||||
|
# ------------------
|
||||||
|
# Perform arithmetic evaluation on the ARGs, and store the result in the
|
||||||
|
# global $as_val. Take advantage of shells that can avoid forks. The arguments
|
||||||
|
# must be portable across $(()) and expr.
|
||||||
|
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
|
||||||
|
then :
|
||||||
|
eval 'as_fn_arith ()
|
||||||
|
{
|
||||||
|
as_val=$(( $* ))
|
||||||
|
}'
|
||||||
|
else case e in #(
|
||||||
|
e) as_fn_arith ()
|
||||||
|
{
|
||||||
|
as_val=`expr "$@" || test $? -eq 1`
|
||||||
|
} ;;
|
||||||
|
esac
|
||||||
|
fi # as_fn_arith
|
||||||
|
|
||||||
|
|
||||||
|
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
||||||
|
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
||||||
|
as_expr=expr
|
||||||
|
else
|
||||||
|
as_expr=false
|
||||||
|
fi
|
||||||
|
|
||||||
|
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
|
||||||
|
as_basename=basename
|
||||||
|
else
|
||||||
|
as_basename=false
|
||||||
|
fi
|
||||||
|
|
||||||
|
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
||||||
|
as_dirname=dirname
|
||||||
|
else
|
||||||
|
as_dirname=false
|
||||||
|
fi
|
||||||
|
|
||||||
|
as_me=`$as_basename -- "$0" ||
|
||||||
|
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
||||||
|
X"$0" : 'X\(//\)$' \| \
|
||||||
|
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
||||||
|
printf "%s\n" X/"$0" |
|
||||||
|
sed '/^.*\/\([^/][^/]*\)\/*$/{
|
||||||
|
s//\1/
|
||||||
|
q
|
||||||
|
}
|
||||||
|
/^X\/\(\/\/\)$/{
|
||||||
|
s//\1/
|
||||||
|
q
|
||||||
|
}
|
||||||
|
/^X\/\(\/\).*/{
|
||||||
|
s//\1/
|
||||||
|
q
|
||||||
|
}
|
||||||
|
s/.*/./; q'`
|
||||||
|
|
||||||
|
# Avoid depending upon Character Ranges.
|
||||||
|
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
||||||
|
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
||||||
|
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
||||||
|
as_cr_digits='0123456789'
|
||||||
|
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
||||||
|
|
||||||
|
|
||||||
|
# Determine whether it's possible to make 'echo' print without a newline.
|
||||||
|
# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
|
||||||
|
# for compatibility with existing Makefiles.
|
||||||
|
ECHO_C= ECHO_N= ECHO_T=
|
||||||
|
case `echo -n x` in #(((((
|
||||||
|
-n*)
|
||||||
|
case `echo 'xy\c'` in
|
||||||
|
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
||||||
|
xy) ECHO_C='\c';;
|
||||||
|
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
|
||||||
|
ECHO_T=' ';;
|
||||||
|
esac;;
|
||||||
|
*)
|
||||||
|
ECHO_N='-n';;
|
||||||
|
esac
|
||||||
|
|
||||||
|
# For backward compatibility with old third-party macros, we provide
|
||||||
|
# the shell variables $as_echo and $as_echo_n. New code should use
|
||||||
|
# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
|
||||||
|
as_echo='printf %s\n'
|
||||||
|
as_echo_n='printf %s'
|
||||||
|
|
||||||
|
rm -f conf$$ conf$$.exe conf$$.file
|
||||||
|
if test -d conf$$.dir; then
|
||||||
|
rm -f conf$$.dir/conf$$.file
|
||||||
|
else
|
||||||
|
rm -f conf$$.dir
|
||||||
|
mkdir conf$$.dir 2>/dev/null
|
||||||
|
fi
|
||||||
|
if (echo >conf$$.file) 2>/dev/null; then
|
||||||
|
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
||||||
|
as_ln_s='ln -s'
|
||||||
|
# ... but there are two gotchas:
|
||||||
|
# 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
|
||||||
|
# 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
|
||||||
|
# In both cases, we have to default to 'cp -pR'.
|
||||||
|
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
||||||
|
as_ln_s='cp -pR'
|
||||||
|
elif ln conf$$.file conf$$ 2>/dev/null; then
|
||||||
|
as_ln_s=ln
|
||||||
|
else
|
||||||
|
as_ln_s='cp -pR'
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
as_ln_s='cp -pR'
|
||||||
|
fi
|
||||||
|
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
||||||
|
rmdir conf$$.dir 2>/dev/null
|
||||||
|
|
||||||
|
|
||||||
|
# as_fn_mkdir_p
|
||||||
|
# -------------
|
||||||
|
# Create "$as_dir" as a directory, including parents if necessary.
|
||||||
|
as_fn_mkdir_p ()
|
||||||
|
{
|
||||||
|
|
||||||
|
case $as_dir in #(
|
||||||
|
-*) as_dir=./$as_dir;;
|
||||||
|
esac
|
||||||
|
test -d "$as_dir" || eval $as_mkdir_p || {
|
||||||
|
as_dirs=
|
||||||
|
while :; do
|
||||||
|
case $as_dir in #(
|
||||||
|
*\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
||||||
|
*) as_qdir=$as_dir;;
|
||||||
|
esac
|
||||||
|
as_dirs="'$as_qdir' $as_dirs"
|
||||||
|
as_dir=`$as_dirname -- "$as_dir" ||
|
||||||
|
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
||||||
|
X"$as_dir" : 'X\(//\)[^/]' \| \
|
||||||
|
X"$as_dir" : 'X\(//\)$' \| \
|
||||||
|
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
||||||
|
printf "%s\n" X"$as_dir" |
|
||||||
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
||||||
|
s//\1/
|
||||||
|
q
|
||||||
|
}
|
||||||
|
/^X\(\/\/\)[^/].*/{
|
||||||
|
s//\1/
|
||||||
|
q
|
||||||
|
}
|
||||||
|
/^X\(\/\/\)$/{
|
||||||
|
s//\1/
|
||||||
|
q
|
||||||
|
}
|
||||||
|
/^X\(\/\).*/{
|
||||||
|
s//\1/
|
||||||
|
q
|
||||||
|
}
|
||||||
|
s/.*/./; q'`
|
||||||
|
test -d "$as_dir" && break
|
||||||
|
done
|
||||||
|
test -z "$as_dirs" || eval "mkdir $as_dirs"
|
||||||
|
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
|
||||||
|
|
||||||
|
|
||||||
|
} # as_fn_mkdir_p
|
||||||
|
if mkdir -p . 2>/dev/null; then
|
||||||
|
as_mkdir_p='mkdir -p "$as_dir"'
|
||||||
|
else
|
||||||
|
test -d ./-p && rmdir ./-p
|
||||||
|
as_mkdir_p=false
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
# as_fn_executable_p FILE
|
||||||
|
# -----------------------
|
||||||
|
# Test if FILE is an executable regular file.
|
||||||
|
as_fn_executable_p ()
|
||||||
|
{
|
||||||
|
test -f "$1" && test -x "$1"
|
||||||
|
} # as_fn_executable_p
|
||||||
|
as_test_x='test -x'
|
||||||
|
as_executable_p=as_fn_executable_p
|
||||||
|
|
||||||
|
# Sed expression to map a string onto a valid CPP name.
|
||||||
|
as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
|
||||||
|
as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
|
||||||
|
|
||||||
|
# Sed expression to map a string onto a valid variable name.
|
||||||
|
as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
|
||||||
|
as_tr_sh="eval sed '$as_sed_sh'" # deprecated
|
||||||
|
|
||||||
|
|
||||||
|
exec 6>&1
|
||||||
|
## ----------------------------------- ##
|
||||||
|
## Main body of $CONFIG_STATUS script. ##
|
||||||
|
## ----------------------------------- ##
|
||||||
|
# Save the log message, to keep $0 and so on meaningful, and to
|
||||||
|
# report actual input values of CONFIG_FILES etc. instead of their
|
||||||
|
# values after options handling.
|
||||||
|
ac_log="
|
||||||
|
This file was extended by ZOVboot $as_me UNVERSIONED, which was
|
||||||
|
generated by GNU Autoconf 2.72. Invocation command line was
|
||||||
|
|
||||||
|
CONFIG_FILES = $CONFIG_FILES
|
||||||
|
CONFIG_HEADERS = $CONFIG_HEADERS
|
||||||
|
CONFIG_LINKS = $CONFIG_LINKS
|
||||||
|
CONFIG_COMMANDS = $CONFIG_COMMANDS
|
||||||
|
$ $0 $@
|
||||||
|
|
||||||
|
on `(hostname || uname -n) 2>/dev/null | sed 1q`
|
||||||
|
"
|
||||||
|
|
||||||
|
# Files that config.status was made for.
|
||||||
|
config_files=" man/man1/limine.1 GNUmakefile config.h"
|
||||||
|
|
||||||
|
ac_cs_usage="\
|
||||||
|
'$as_me' instantiates files and other configuration actions
|
||||||
|
from templates according to the current configuration. Unless the files
|
||||||
|
and actions are specified as TAGs, all are instantiated by default.
|
||||||
|
|
||||||
|
Usage: $0 [OPTION]... [TAG]...
|
||||||
|
|
||||||
|
-h, --help print this help, then exit
|
||||||
|
-V, --version print version number and configuration settings, then exit
|
||||||
|
--config print configuration, then exit
|
||||||
|
-q, --quiet, --silent
|
||||||
|
do not print progress messages
|
||||||
|
-d, --debug don't remove temporary files
|
||||||
|
--recheck update $as_me by reconfiguring in the same conditions
|
||||||
|
--file=FILE[:TEMPLATE]
|
||||||
|
instantiate the configuration file FILE
|
||||||
|
|
||||||
|
Configuration files:
|
||||||
|
$config_files
|
||||||
|
|
||||||
|
Report bugs to <https://git.bebrik.xyz/Zhirik1337/ZOVboot>.
|
||||||
|
ZOVboot home page: <https://git.bebrik.xyz/Zhirik1337/ZOVboot>."
|
||||||
|
|
||||||
|
ac_cs_config='--enable-bios --enable-uefi-x86-64 LD_FOR_TARGET=ld OBJCOPY_FOR_TARGET=objcopy OBJDUMP_FOR_TARGET=objdump READELF_FOR_TARGET=readelf'
|
||||||
|
ac_cs_version="\
|
||||||
|
ZOVboot config.status UNVERSIONED
|
||||||
|
configured by ../configure, generated by GNU Autoconf 2.72,
|
||||||
|
with options \"$ac_cs_config\"
|
||||||
|
|
||||||
|
Copyright (C) 2023 Free Software Foundation, Inc.
|
||||||
|
This config.status script is free software; the Free Software Foundation
|
||||||
|
gives unlimited permission to copy, distribute and modify it."
|
||||||
|
|
||||||
|
ac_pwd='/home/wpng1337/Zovboot/ZOVboot/limine/build-test'
|
||||||
|
srcdir='..'
|
||||||
|
INSTALL='/usr/bin/install -c'
|
||||||
|
MKDIR_P='/usr/bin/mkdir -p'
|
||||||
|
AWK='gawk'
|
||||||
|
test -n "$AWK" || AWK=awk
|
||||||
|
# The default lists apply if the user does not specify any file.
|
||||||
|
ac_need_defaults=:
|
||||||
|
while test $# != 0
|
||||||
|
do
|
||||||
|
case $1 in
|
||||||
|
--*=?*)
|
||||||
|
ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
||||||
|
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
|
||||||
|
ac_shift=:
|
||||||
|
;;
|
||||||
|
--*=)
|
||||||
|
ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
||||||
|
ac_optarg=
|
||||||
|
ac_shift=:
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
ac_option=$1
|
||||||
|
ac_optarg=$2
|
||||||
|
ac_shift=shift
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
case $ac_option in
|
||||||
|
# Handling of the options.
|
||||||
|
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
||||||
|
ac_cs_recheck=: ;;
|
||||||
|
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
|
||||||
|
printf "%s\n" "$ac_cs_version"; exit ;;
|
||||||
|
--config | --confi | --conf | --con | --co | --c )
|
||||||
|
printf "%s\n" "$ac_cs_config"; exit ;;
|
||||||
|
--debug | --debu | --deb | --de | --d | -d )
|
||||||
|
debug=: ;;
|
||||||
|
--file | --fil | --fi | --f )
|
||||||
|
$ac_shift
|
||||||
|
case $ac_optarg in
|
||||||
|
*\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
||||||
|
'') as_fn_error $? "missing file argument" ;;
|
||||||
|
esac
|
||||||
|
as_fn_append CONFIG_FILES " '$ac_optarg'"
|
||||||
|
ac_need_defaults=false;;
|
||||||
|
--he | --h | --help | --hel | -h )
|
||||||
|
printf "%s\n" "$ac_cs_usage"; exit ;;
|
||||||
|
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
||||||
|
| -silent | --silent | --silen | --sile | --sil | --si | --s)
|
||||||
|
ac_cs_silent=: ;;
|
||||||
|
|
||||||
|
# This is an error.
|
||||||
|
-*) as_fn_error $? "unrecognized option: '$1'
|
||||||
|
Try '$0 --help' for more information." ;;
|
||||||
|
|
||||||
|
*) as_fn_append ac_config_targets " $1"
|
||||||
|
ac_need_defaults=false ;;
|
||||||
|
|
||||||
|
esac
|
||||||
|
shift
|
||||||
|
done
|
||||||
|
|
||||||
|
ac_configure_extra_args=
|
||||||
|
|
||||||
|
if $ac_cs_silent; then
|
||||||
|
exec 6>/dev/null
|
||||||
|
ac_configure_extra_args="$ac_configure_extra_args --silent"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if $ac_cs_recheck; then
|
||||||
|
set X /bin/sh '../configure' '--enable-bios' '--enable-uefi-x86-64' 'LD_FOR_TARGET=ld' 'OBJCOPY_FOR_TARGET=objcopy' 'OBJDUMP_FOR_TARGET=objdump' 'READELF_FOR_TARGET=readelf' $ac_configure_extra_args --no-create --no-recursion
|
||||||
|
shift
|
||||||
|
\printf "%s\n" "running CONFIG_SHELL=/bin/sh $*" >&6
|
||||||
|
CONFIG_SHELL='/bin/sh'
|
||||||
|
export CONFIG_SHELL
|
||||||
|
exec "$@"
|
||||||
|
fi
|
||||||
|
|
||||||
|
exec 5>>config.log
|
||||||
|
{
|
||||||
|
echo
|
||||||
|
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
||||||
|
## Running $as_me. ##
|
||||||
|
_ASBOX
|
||||||
|
printf "%s\n" "$ac_log"
|
||||||
|
} >&5
|
||||||
|
|
||||||
|
|
||||||
|
# Handling of arguments.
|
||||||
|
for ac_config_target in $ac_config_targets
|
||||||
|
do
|
||||||
|
case $ac_config_target in
|
||||||
|
"man/man1/limine.1") CONFIG_FILES="$CONFIG_FILES man/man1/limine.1" ;;
|
||||||
|
"GNUmakefile") CONFIG_FILES="$CONFIG_FILES GNUmakefile" ;;
|
||||||
|
"config.h") CONFIG_FILES="$CONFIG_FILES config.h" ;;
|
||||||
|
|
||||||
|
*) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
|
||||||
|
|
||||||
|
# If the user did not use the arguments to specify the items to instantiate,
|
||||||
|
# then the envvar interface is used. Set only those that are not.
|
||||||
|
# We use the long form for the default assignment because of an extremely
|
||||||
|
# bizarre bug on SunOS 4.1.3.
|
||||||
|
if $ac_need_defaults; then
|
||||||
|
test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Have a temporary directory for convenience. Make it in the build tree
|
||||||
|
# simply because there is no reason against having it here, and in addition,
|
||||||
|
# creating and moving files from /tmp can sometimes cause problems.
|
||||||
|
# Hook for its removal unless debugging.
|
||||||
|
# Note that there is a small window in which the directory will not be cleaned:
|
||||||
|
# after its creation but before its name has been assigned to '$tmp'.
|
||||||
|
$debug ||
|
||||||
|
{
|
||||||
|
tmp= ac_tmp=
|
||||||
|
trap 'exit_status=$?
|
||||||
|
: "${ac_tmp:=$tmp}"
|
||||||
|
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
|
||||||
|
' 0
|
||||||
|
trap 'as_fn_exit 1' 1 2 13 15
|
||||||
|
}
|
||||||
|
# Create a (secure) tmp directory for tmp files.
|
||||||
|
|
||||||
|
{
|
||||||
|
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
|
||||||
|
test -d "$tmp"
|
||||||
|
} ||
|
||||||
|
{
|
||||||
|
tmp=./conf$$-$RANDOM
|
||||||
|
(umask 077 && mkdir "$tmp")
|
||||||
|
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
|
||||||
|
ac_tmp=$tmp
|
||||||
|
|
||||||
|
# Set up the scripts for CONFIG_FILES section.
|
||||||
|
# No need to generate them if there are no CONFIG_FILES.
|
||||||
|
# This happens for instance with './config.status config.h'.
|
||||||
|
if test -n "$CONFIG_FILES"; then
|
||||||
|
|
||||||
|
|
||||||
|
ac_cr=`echo X | tr X '\015'`
|
||||||
|
# On cygwin, bash can eat \r inside `` if the user requested igncr.
|
||||||
|
# But we know of no other shell where ac_cr would be empty at this
|
||||||
|
# point, so we can use a bashism as a fallback.
|
||||||
|
if test "x$ac_cr" = x; then
|
||||||
|
eval ac_cr=\$\'\\r\'
|
||||||
|
fi
|
||||||
|
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
|
||||||
|
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
|
||||||
|
ac_cs_awk_cr='\\r'
|
||||||
|
else
|
||||||
|
ac_cs_awk_cr=$ac_cr
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
|
||||||
|
cat >>"$ac_tmp/subs1.awk" <<\_ACAWK &&
|
||||||
|
S["LTLIBOBJS"]=""
|
||||||
|
S["LIBOBJS"]=""
|
||||||
|
S["LIMINE_COPYRIGHT"]="Copyright (C) 2019-2026 Mintsuki and contributors."
|
||||||
|
S["NASMFLAGS_FOR_TARGET"]="-g"
|
||||||
|
S["LDFLAGS_FOR_TARGET"]=""
|
||||||
|
S["CPPFLAGS_FOR_TARGET"]=""
|
||||||
|
S["CFLAGS_FOR_TARGET"]=" -g -O2 -pipe"
|
||||||
|
S["GZIP_FOUND"]="yes"
|
||||||
|
S["NASM_FOUND"]="yes"
|
||||||
|
S["BUILD_UEFI_CD"]="no"
|
||||||
|
S["MTOOLS_FOUND"]=""
|
||||||
|
S["BUILD_UEFI_LOONGARCH64"]=""
|
||||||
|
S["BUILD_UEFI_RISCV64"]=""
|
||||||
|
S["BUILD_UEFI_AARCH64"]=""
|
||||||
|
S["BUILD_UEFI_X86_64"]="limine-uefi-x86-64"
|
||||||
|
S["BUILD_UEFI_IA32"]=""
|
||||||
|
S["BUILD_BIOS"]="limine-bios"
|
||||||
|
S["BUILD_BIOS_PXE"]="no"
|
||||||
|
S["BUILD_BIOS_CD"]="no"
|
||||||
|
S["READELF_FOR_TARGET_FOUND"]="yes"
|
||||||
|
S["OBJDUMP_FOR_TARGET_FOUND"]="yes"
|
||||||
|
S["OBJCOPY_FOR_TARGET_FOUND"]="yes"
|
||||||
|
S["LD_FOR_TARGET_FOUND"]="yes"
|
||||||
|
S["CC_FOR_TARGET_FOUND"]="yes"
|
||||||
|
S["READELF_FOR_TARGET"]="readelf"
|
||||||
|
S["OBJDUMP_FOR_TARGET"]="objdump"
|
||||||
|
S["OBJCOPY_FOR_TARGET"]="objcopy"
|
||||||
|
S["LD_FOR_TARGET"]="ld"
|
||||||
|
S["CC_FOR_TARGET"]="clang"
|
||||||
|
S["TOOLCHAIN_FOR_TARGET"]="llvm-"
|
||||||
|
S["STRIP_FOUND"]="yes"
|
||||||
|
S["STRIP"]="strip"
|
||||||
|
S["FIND_FOUND"]="yes"
|
||||||
|
S["AWK"]="gawk"
|
||||||
|
S["GREP"]="/usr/bin/grep"
|
||||||
|
S["SED"]="/usr/bin/sed"
|
||||||
|
S["INSTALL_DATA"]="${INSTALL} -m 644"
|
||||||
|
S["INSTALL_SCRIPT"]="${INSTALL}"
|
||||||
|
S["INSTALL_PROGRAM"]="${INSTALL}"
|
||||||
|
S["MKDIR_P"]="/usr/bin/mkdir -p"
|
||||||
|
S["WERROR_FLAG"]="-Wno-error"
|
||||||
|
S["OBJEXT"]="o"
|
||||||
|
S["EXEEXT"]=""
|
||||||
|
S["ac_ct_CC"]="gcc"
|
||||||
|
S["CPPFLAGS"]=""
|
||||||
|
S["LDFLAGS"]=""
|
||||||
|
S["CFLAGS"]="-g -O2 -pipe"
|
||||||
|
S["CC"]="gcc"
|
||||||
|
S["host_os"]="linux-gnu"
|
||||||
|
S["host_vendor"]="pc"
|
||||||
|
S["host_cpu"]="x86_64"
|
||||||
|
S["host"]="x86_64-pc-linux-gnu"
|
||||||
|
S["build_os"]="linux-gnu"
|
||||||
|
S["build_vendor"]="pc"
|
||||||
|
S["build_cpu"]="x86_64"
|
||||||
|
S["build"]="x86_64-pc-linux-gnu"
|
||||||
|
S["SOURCE_DATE_EPOCH_TOUCH"]="201901010000"
|
||||||
|
S["SOURCE_DATE_EPOCH"]="1546297200"
|
||||||
|
S["REGEN_DATE"]="UNVERSIONED"
|
||||||
|
S["BUILDDIR"]="/home/wpng1337/Zovboot/ZOVboot/limine/build-test"
|
||||||
|
S["SRCDIR"]="/home/wpng1337/Zovboot/ZOVboot/limine"
|
||||||
|
S["target_alias"]=""
|
||||||
|
S["host_alias"]=""
|
||||||
|
S["build_alias"]=""
|
||||||
|
S["LIBS"]=""
|
||||||
|
S["ECHO_T"]=""
|
||||||
|
S["ECHO_N"]="-n"
|
||||||
|
S["ECHO_C"]=""
|
||||||
|
S["DEFS"]="-DPACKAGE_NAME=\\\"ZOVboot\\\" -DPACKAGE_TARNAME=\\\"zovboot\\\" -DPACKAGE_VERSION=\\\"UNVERSIONED\\\" -DPACKAGE_STRING=\\\"ZOVboot\\ UNVERSIONED\\\" -DPACKAGE_BUGRE"\
|
||||||
|
"PORT=\\\"https://git.bebrik.xyz/Zhirik1337/ZOVboot\\\" -DPACKAGE_URL=\\\"https://git.bebrik.xyz/Zhirik1337/ZOVboot\\\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -D"\
|
||||||
|
"HAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1"\
|
||||||
|
" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STDINT_H=1 -DHAVE_STDDEF_H=1 -DHAVE_STDBOOL_H=1 -DHAVE_STDARG_H=1 -DHAVE_STRING_H=1 -DHAVE_ERRNO_H=1 -DHA"\
|
||||||
|
"VE_INTTYPES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_TIME_H=1"
|
||||||
|
S["mandir"]="${datarootdir}/man"
|
||||||
|
S["localedir"]="${datarootdir}/locale"
|
||||||
|
S["libdir"]="${exec_prefix}/lib"
|
||||||
|
S["psdir"]="${docdir}"
|
||||||
|
S["pdfdir"]="${docdir}"
|
||||||
|
S["dvidir"]="${docdir}"
|
||||||
|
S["htmldir"]="${docdir}"
|
||||||
|
S["infodir"]="${datarootdir}/info"
|
||||||
|
S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}"
|
||||||
|
S["oldincludedir"]="/usr/include"
|
||||||
|
S["includedir"]="${prefix}/include"
|
||||||
|
S["runstatedir"]="${localstatedir}/run"
|
||||||
|
S["localstatedir"]="${prefix}/var"
|
||||||
|
S["sharedstatedir"]="${prefix}/com"
|
||||||
|
S["sysconfdir"]="${prefix}/etc"
|
||||||
|
S["datadir"]="${datarootdir}"
|
||||||
|
S["datarootdir"]="${prefix}/share"
|
||||||
|
S["libexecdir"]="${exec_prefix}/libexec"
|
||||||
|
S["sbindir"]="${exec_prefix}/sbin"
|
||||||
|
S["bindir"]="${exec_prefix}/bin"
|
||||||
|
S["program_transform_name"]="s,x,x,"
|
||||||
|
S["prefix"]="/usr/local"
|
||||||
|
S["exec_prefix"]="${prefix}"
|
||||||
|
S["PACKAGE_URL"]="https://git.bebrik.xyz/Zhirik1337/ZOVboot"
|
||||||
|
S["PACKAGE_BUGREPORT"]="https://git.bebrik.xyz/Zhirik1337/ZOVboot"
|
||||||
|
S["PACKAGE_STRING"]="ZOVboot UNVERSIONED"
|
||||||
|
S["PACKAGE_VERSION"]="UNVERSIONED"
|
||||||
|
S["PACKAGE_TARNAME"]="zovboot"
|
||||||
|
S["PACKAGE_NAME"]="ZOVboot"
|
||||||
|
S["PATH_SEPARATOR"]=":"
|
||||||
|
S["SHELL"]="/bin/sh"
|
||||||
|
_ACAWK
|
||||||
|
cat >>"$ac_tmp/subs1.awk" <<_ACAWK &&
|
||||||
|
for (key in S) S_is_set[key] = 1
|
||||||
|
FS = ""
|
||||||
|
|
||||||
|
}
|
||||||
|
{
|
||||||
|
line = $ 0
|
||||||
|
nfields = split(line, field, "@")
|
||||||
|
substed = 0
|
||||||
|
len = length(field[1])
|
||||||
|
for (i = 2; i < nfields; i++) {
|
||||||
|
key = field[i]
|
||||||
|
keylen = length(key)
|
||||||
|
if (S_is_set[key]) {
|
||||||
|
value = S[key]
|
||||||
|
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
|
||||||
|
len += length(value) + length(field[++i])
|
||||||
|
substed = 1
|
||||||
|
} else
|
||||||
|
len += 1 + keylen
|
||||||
|
}
|
||||||
|
|
||||||
|
print line
|
||||||
|
}
|
||||||
|
|
||||||
|
_ACAWK
|
||||||
|
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
|
||||||
|
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
|
||||||
|
else
|
||||||
|
cat
|
||||||
|
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
|
||||||
|
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
|
||||||
|
fi # test -n "$CONFIG_FILES"
|
||||||
|
|
||||||
|
|
||||||
|
eval set X " :F $CONFIG_FILES "
|
||||||
|
shift
|
||||||
|
for ac_tag
|
||||||
|
do
|
||||||
|
case $ac_tag in
|
||||||
|
:[FHLC]) ac_mode=$ac_tag; continue;;
|
||||||
|
esac
|
||||||
|
case $ac_mode$ac_tag in
|
||||||
|
:[FHL]*:*);;
|
||||||
|
:L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
|
||||||
|
:[FH]-) ac_tag=-:-;;
|
||||||
|
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
|
||||||
|
esac
|
||||||
|
ac_save_IFS=$IFS
|
||||||
|
IFS=:
|
||||||
|
set x $ac_tag
|
||||||
|
IFS=$ac_save_IFS
|
||||||
|
shift
|
||||||
|
ac_file=$1
|
||||||
|
shift
|
||||||
|
|
||||||
|
case $ac_mode in
|
||||||
|
:L) ac_source=$1;;
|
||||||
|
:[FH])
|
||||||
|
ac_file_inputs=
|
||||||
|
for ac_f
|
||||||
|
do
|
||||||
|
case $ac_f in
|
||||||
|
-) ac_f="$ac_tmp/stdin";;
|
||||||
|
*) # Look for the file first in the build tree, then in the source tree
|
||||||
|
# (if the path is not absolute). The absolute path cannot be DOS-style,
|
||||||
|
# because $ac_f cannot contain ':'.
|
||||||
|
test -f "$ac_f" ||
|
||||||
|
case $ac_f in
|
||||||
|
[\\/$]*) false;;
|
||||||
|
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
|
||||||
|
esac ||
|
||||||
|
as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
|
||||||
|
esac
|
||||||
|
case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
|
||||||
|
as_fn_append ac_file_inputs " '$ac_f'"
|
||||||
|
done
|
||||||
|
|
||||||
|
# Let's still pretend it is 'configure' which instantiates (i.e., don't
|
||||||
|
# use $as_me), people would be surprised to read:
|
||||||
|
# /* config.h. Generated by config.status. */
|
||||||
|
configure_input='Generated from '`
|
||||||
|
printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
|
||||||
|
`' by configure.'
|
||||||
|
if test x"$ac_file" != x-; then
|
||||||
|
configure_input="$ac_file. $configure_input"
|
||||||
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
|
||||||
|
printf "%s\n" "$as_me: creating $ac_file" >&6;}
|
||||||
|
fi
|
||||||
|
# Neutralize special characters interpreted by sed in replacement strings.
|
||||||
|
case $configure_input in #(
|
||||||
|
*\&* | *\|* | *\\* )
|
||||||
|
ac_sed_conf_input=`printf "%s\n" "$configure_input" |
|
||||||
|
sed 's/[\\\\&|]/\\\\&/g'`;; #(
|
||||||
|
*) ac_sed_conf_input=$configure_input;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
case $ac_tag in
|
||||||
|
*:-:* | *:-) cat >"$ac_tmp/stdin" \
|
||||||
|
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
|
||||||
|
esac
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
ac_dir=`$as_dirname -- "$ac_file" ||
|
||||||
|
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
||||||
|
X"$ac_file" : 'X\(//\)[^/]' \| \
|
||||||
|
X"$ac_file" : 'X\(//\)$' \| \
|
||||||
|
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
|
||||||
|
printf "%s\n" X"$ac_file" |
|
||||||
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
||||||
|
s//\1/
|
||||||
|
q
|
||||||
|
}
|
||||||
|
/^X\(\/\/\)[^/].*/{
|
||||||
|
s//\1/
|
||||||
|
q
|
||||||
|
}
|
||||||
|
/^X\(\/\/\)$/{
|
||||||
|
s//\1/
|
||||||
|
q
|
||||||
|
}
|
||||||
|
/^X\(\/\).*/{
|
||||||
|
s//\1/
|
||||||
|
q
|
||||||
|
}
|
||||||
|
s/.*/./; q'`
|
||||||
|
as_dir="$ac_dir"; as_fn_mkdir_p
|
||||||
|
ac_builddir=.
|
||||||
|
|
||||||
|
case "$ac_dir" in
|
||||||
|
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
||||||
|
*)
|
||||||
|
ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
|
||||||
|
# A ".." for each directory in $ac_dir_suffix.
|
||||||
|
ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
||||||
|
case $ac_top_builddir_sub in
|
||||||
|
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
||||||
|
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
||||||
|
esac ;;
|
||||||
|
esac
|
||||||
|
ac_abs_top_builddir=$ac_pwd
|
||||||
|
ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
||||||
|
# for backward compatibility:
|
||||||
|
ac_top_builddir=$ac_top_build_prefix
|
||||||
|
|
||||||
|
case $srcdir in
|
||||||
|
.) # We are building in place.
|
||||||
|
ac_srcdir=.
|
||||||
|
ac_top_srcdir=$ac_top_builddir_sub
|
||||||
|
ac_abs_top_srcdir=$ac_pwd ;;
|
||||||
|
[\\/]* | ?:[\\/]* ) # Absolute name.
|
||||||
|
ac_srcdir=$srcdir$ac_dir_suffix;
|
||||||
|
ac_top_srcdir=$srcdir
|
||||||
|
ac_abs_top_srcdir=$srcdir ;;
|
||||||
|
*) # Relative name.
|
||||||
|
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
||||||
|
ac_top_srcdir=$ac_top_build_prefix$srcdir
|
||||||
|
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
||||||
|
esac
|
||||||
|
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
||||||
|
|
||||||
|
|
||||||
|
case $ac_mode in
|
||||||
|
:F)
|
||||||
|
#
|
||||||
|
# CONFIG_FILE
|
||||||
|
#
|
||||||
|
|
||||||
|
case $INSTALL in
|
||||||
|
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
|
||||||
|
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
|
||||||
|
esac
|
||||||
|
ac_MKDIR_P=$MKDIR_P
|
||||||
|
case $MKDIR_P in
|
||||||
|
[\\/$]* | ?:[\\/]* ) ;;
|
||||||
|
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
|
||||||
|
esac
|
||||||
|
# If the template does not know about datarootdir, expand it.
|
||||||
|
# FIXME: This hack should be removed a few years after 2.60.
|
||||||
|
ac_datarootdir_hack=; ac_datarootdir_seen=
|
||||||
|
ac_sed_dataroot='
|
||||||
|
/datarootdir/ {
|
||||||
|
p
|
||||||
|
q
|
||||||
|
}
|
||||||
|
/@datadir@/p
|
||||||
|
/@docdir@/p
|
||||||
|
/@infodir@/p
|
||||||
|
/@localedir@/p
|
||||||
|
/@mandir@/p'
|
||||||
|
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
|
||||||
|
*datarootdir*) ac_datarootdir_seen=yes;;
|
||||||
|
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
|
||||||
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
||||||
|
printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
||||||
|
ac_datarootdir_hack='
|
||||||
|
s&@datadir@&${datarootdir}&g
|
||||||
|
s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g
|
||||||
|
s&@infodir@&${datarootdir}/info&g
|
||||||
|
s&@localedir@&${datarootdir}/locale&g
|
||||||
|
s&@mandir@&${datarootdir}/man&g
|
||||||
|
s&\${datarootdir}&${prefix}/share&g' ;;
|
||||||
|
esac
|
||||||
|
ac_sed_extra="
|
||||||
|
|
||||||
|
:t
|
||||||
|
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
||||||
|
s|@configure_input@|$ac_sed_conf_input|;t t
|
||||||
|
s&@top_builddir@&$ac_top_builddir_sub&;t t
|
||||||
|
s&@top_build_prefix@&$ac_top_build_prefix&;t t
|
||||||
|
s&@srcdir@&$ac_srcdir&;t t
|
||||||
|
s&@abs_srcdir@&$ac_abs_srcdir&;t t
|
||||||
|
s&@top_srcdir@&$ac_top_srcdir&;t t
|
||||||
|
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
|
||||||
|
s&@builddir@&$ac_builddir&;t t
|
||||||
|
s&@abs_builddir@&$ac_abs_builddir&;t t
|
||||||
|
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
|
||||||
|
s&@INSTALL@&$ac_INSTALL&;t t
|
||||||
|
s&@MKDIR_P@&$ac_MKDIR_P&;t t
|
||||||
|
$ac_datarootdir_hack
|
||||||
|
"
|
||||||
|
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
|
||||||
|
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
||||||
|
|
||||||
|
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
|
||||||
|
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
|
||||||
|
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
|
||||||
|
"$ac_tmp/out"`; test -z "$ac_out"; } &&
|
||||||
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
|
||||||
|
which seems to be undefined. Please make sure it is defined" >&5
|
||||||
|
printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
|
||||||
|
which seems to be undefined. Please make sure it is defined" >&2;}
|
||||||
|
|
||||||
|
rm -f "$ac_tmp/stdin"
|
||||||
|
case $ac_file in
|
||||||
|
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
|
||||||
|
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
|
||||||
|
esac \
|
||||||
|
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
||||||
|
;;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
esac
|
||||||
|
|
||||||
|
done # for ac_tag
|
||||||
|
|
||||||
|
|
||||||
|
as_fn_exit 0
|
||||||
13
limine/build-test/man/man1/limine.1
Normal file
13
limine/build-test/man/man1/limine.1
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
.TH LIMINE 1 "version UNVERSIONED" "UNVERSIONED"
|
||||||
|
.SH NAME
|
||||||
|
limine \- Multiplexer to several Limine-related utilities.
|
||||||
|
.SH SYNOPSIS
|
||||||
|
.B limine
|
||||||
|
.RI "<command> <args...>"
|
||||||
|
.SH DESCRIPTION
|
||||||
|
\fBlimine\fR provides a series of Limine-related utilities condensed in a single executable.
|
||||||
|
.SH BUGS
|
||||||
|
Please report bugs via
|
||||||
|
.IR https://git.bebrik.xyz/Zhirik1337/ZOVboot .
|
||||||
|
.SH HOMEPAGE
|
||||||
|
.I https://git.bebrik.xyz/Zhirik1337/ZOVboot
|
||||||
|
|
@ -737,7 +737,7 @@ void disk_create_index(void) {
|
||||||
|
|
||||||
if (status != EFI_SUCCESS) {
|
if (status != EFI_SUCCESS) {
|
||||||
fail:
|
fail:
|
||||||
panic(false, "LocateHandle for BLOCK_IO_PROTOCOL failed. Machine not supported by Limine UEFI.");
|
panic(false, "LocateHandle for BLOCK_IO_PROTOCOL failed. Machine not supported by ZOVboot UEFI.");
|
||||||
}
|
}
|
||||||
|
|
||||||
int optical_indices = 1, hdd_indices = 1;
|
int optical_indices = 1, hdd_indices = 1;
|
||||||
|
|
|
||||||
|
|
@ -56,7 +56,7 @@ noreturn void uefi_entry(EFI_HANDLE ImageHandle, EFI_SYSTEM_TABLE *SystemTable)
|
||||||
goto new_base_gotten;
|
goto new_base_gotten;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
deferred_error = "Limine does not support being loaded above 4GiB and no alternative loading spot found";
|
deferred_error = "ZOVboot does not support being loaded above 4GiB and no alternative loading spot found";
|
||||||
goto defer_error;
|
goto defer_error;
|
||||||
new_base_gotten:
|
new_base_gotten:
|
||||||
memcpy((void *)new_base, __slide, (size_t)image_size);
|
memcpy((void *)new_base, __slide, (size_t)image_size);
|
||||||
|
|
@ -98,7 +98,7 @@ defer_error:
|
||||||
if (current_handle == NULL) {
|
if (current_handle == NULL) {
|
||||||
could_not_match:
|
could_not_match:
|
||||||
print("WARNING: Could not meaningfully match the boot device handle with a volume.\n");
|
print("WARNING: Could not meaningfully match the boot device handle with a volume.\n");
|
||||||
print(" Using the first volume containing a Limine configuration!\n");
|
print(" Using the first volume containing a ZOVboot configuration!\n");
|
||||||
print("\n");
|
print("\n");
|
||||||
print("THIS IS A BUG! Please report this issue upstream.\n");
|
print("THIS IS A BUG! Please report this issue upstream.\n");
|
||||||
print("Press any key to continue...\n");
|
print("Press any key to continue...\n");
|
||||||
|
|
@ -149,7 +149,7 @@ opened:
|
||||||
stage3_common();
|
stage3_common();
|
||||||
}
|
}
|
||||||
|
|
||||||
panic(false, "No volume contained a Limine configuration file");
|
panic(false, "No volume contained a ZOVboot configuration file");
|
||||||
}
|
}
|
||||||
|
|
||||||
EFI_GUID loaded_img_prot_guid = EFI_LOADED_IMAGE_PROTOCOL_GUID;
|
EFI_GUID loaded_img_prot_guid = EFI_LOADED_IMAGE_PROTOCOL_GUID;
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
#include <lib/guid.h>
|
#include <lib/guid.h>
|
||||||
#include <lib/misc.h>
|
#include <lib/misc.h>
|
||||||
|
|
||||||
#define LIMINE_BRAND L"Limine " LIMINE_VERSION
|
#define LIMINE_BRAND L"ZOVboot " LIMINE_VERSION
|
||||||
|
|
||||||
static EFI_GUID bli_vendor_guid = { 0x4a67b082, 0x0a4c, 0x41cf, { 0xb6, 0xc7, 0x44, 0x0b, 0x29, 0xbb, 0x8c, 0x4f } };
|
static EFI_GUID bli_vendor_guid = { 0x4a67b082, 0x0a4c, 0x41cf, { 0xb6, 0xc7, 0x44, 0x0b, 0x29, 0xbb, 0x8c, 0x4f } };
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -867,9 +867,9 @@ noreturn void _menu(bool first_run) {
|
||||||
{
|
{
|
||||||
uint32_t eax, ebx, ecx, edx;
|
uint32_t eax, ebx, ecx, edx;
|
||||||
if (!cpuid(0x80000001, 0, &eax, &ebx, &ecx, &edx) || !(edx & (1 << 29))) {
|
if (!cpuid(0x80000001, 0, &eax, &ebx, &ecx, &edx) || !(edx & (1 << 29))) {
|
||||||
menu_branding = "Limine " LIMINE_VERSION " (ia-32, BIOS)";
|
menu_branding = "ZOVboot " LIMINE_VERSION " (ia-32, BIOS)";
|
||||||
} else {
|
} else {
|
||||||
menu_branding = "Limine " LIMINE_VERSION " (x86-64, BIOS)";
|
menu_branding = "ZOVboot " LIMINE_VERSION " (x86-64, BIOS)";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#elif defined (UEFI)
|
#elif defined (UEFI)
|
||||||
|
|
@ -877,13 +877,13 @@ noreturn void _menu(bool first_run) {
|
||||||
{
|
{
|
||||||
uint32_t eax, ebx, ecx, edx;
|
uint32_t eax, ebx, ecx, edx;
|
||||||
if (!cpuid(0x80000001, 0, &eax, &ebx, &ecx, &edx) || !(edx & (1 << 29))) {
|
if (!cpuid(0x80000001, 0, &eax, &ebx, &ecx, &edx) || !(edx & (1 << 29))) {
|
||||||
menu_branding = "Limine " LIMINE_VERSION " (ia-32, UEFI32)";
|
menu_branding = "ZOVboot " LIMINE_VERSION " (ia-32, UEFI32)";
|
||||||
} else {
|
} else {
|
||||||
menu_branding = "Limine " LIMINE_VERSION " (x86-64, UEFI32)";
|
menu_branding = "ZOVboot " LIMINE_VERSION " (x86-64, UEFI32)";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
menu_branding = "Limine " LIMINE_VERSION " ("
|
menu_branding = "ZOVboot " LIMINE_VERSION " ("
|
||||||
#if defined (__x86_64__)
|
#if defined (__x86_64__)
|
||||||
"x86-64"
|
"x86-64"
|
||||||
#elif defined (__riscv)
|
#elif defined (__riscv)
|
||||||
|
|
|
||||||
|
|
@ -932,7 +932,7 @@ FEAT_START
|
||||||
struct limine_bootloader_info_response *bootloader_info_response =
|
struct limine_bootloader_info_response *bootloader_info_response =
|
||||||
ext_mem_alloc(sizeof(struct limine_bootloader_info_response));
|
ext_mem_alloc(sizeof(struct limine_bootloader_info_response));
|
||||||
|
|
||||||
bootloader_info_response->name = reported_addr("Limine");
|
bootloader_info_response->name = reported_addr("ZOVboot");
|
||||||
bootloader_info_response->version = reported_addr(LIMINE_VERSION);
|
bootloader_info_response->version = reported_addr(LIMINE_VERSION);
|
||||||
|
|
||||||
bootloader_info_request->response = reported_addr(bootloader_info_response);
|
bootloader_info_request->response = reported_addr(bootloader_info_response);
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@
|
||||||
#include <mm/pmm.h>
|
#include <mm/pmm.h>
|
||||||
#include <drivers/vga_textmode.h>
|
#include <drivers/vga_textmode.h>
|
||||||
|
|
||||||
#define LIMINE_BRAND "Limine " LIMINE_VERSION
|
#define LIMINE_BRAND "ZOVboot " LIMINE_VERSION
|
||||||
|
|
||||||
#define MEMMAP_MAX 256
|
#define MEMMAP_MAX 256
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@
|
||||||
#include <drivers/vga_textmode.h>
|
#include <drivers/vga_textmode.h>
|
||||||
#include <pxe/pxe.h>
|
#include <pxe/pxe.h>
|
||||||
|
|
||||||
#define LIMINE_BRAND "Limine " LIMINE_VERSION
|
#define LIMINE_BRAND "ZOVboot " LIMINE_VERSION
|
||||||
|
|
||||||
#define MEMMAP_MAX 256
|
#define MEMMAP_MAX 256
|
||||||
#define EFI_MEMMAP_MAX 1024
|
#define EFI_MEMMAP_MAX 1024
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
AC_INIT([Limine], [m4_esyscmd([./version.sh])], [https://codeberg.org/Limine/Limine/issues], [limine], [https://limine-bootloader.org/])
|
AC_INIT([ZOVboot], [m4_esyscmd([./version.sh])], [https://git.bebrik.xyz/Zhirik1337/ZOVboot], [zovboot], [https://git.bebrik.xyz/Zhirik1337/ZOVboot])
|
||||||
|
|
||||||
AC_PREREQ([2.69])
|
AC_PREREQ([2.69])
|
||||||
|
|
||||||
|
|
@ -132,9 +132,9 @@ GET_PROG([STRIP], [strip], [tool])
|
||||||
AC_CHECK_HEADERS([stdio.h stdlib.h stdint.h stddef.h stdbool.h stdarg.h string.h errno.h inttypes.h limits.h time.h],
|
AC_CHECK_HEADERS([stdio.h stdlib.h stdint.h stddef.h stdbool.h stdarg.h string.h errno.h inttypes.h limits.h time.h],
|
||||||
[], [AC_MSG_ERROR([required header not found])])
|
[], [AC_MSG_ERROR([required header not found])])
|
||||||
|
|
||||||
AC_ARG_VAR([TOOLCHAIN_FOR_TARGET], [alternative toolchain prefix for Limine])
|
AC_ARG_VAR([TOOLCHAIN_FOR_TARGET], [alternative toolchain prefix for ZOVboot])
|
||||||
|
|
||||||
AC_ARG_VAR([CC_FOR_TARGET], [C compiler command for Limine])
|
AC_ARG_VAR([CC_FOR_TARGET], [C compiler command for ZOVboot])
|
||||||
if test "x${CC_FOR_TARGET+set}" = "x"; then
|
if test "x${CC_FOR_TARGET+set}" = "x"; then
|
||||||
if test "x${TOOLCHAIN_FOR_TARGET+set}" = "x"; then
|
if test "x${TOOLCHAIN_FOR_TARGET+set}" = "x"; then
|
||||||
CC_FOR_TARGET="clang"
|
CC_FOR_TARGET="clang"
|
||||||
|
|
@ -142,7 +142,7 @@ if test "x${CC_FOR_TARGET+set}" = "x"; then
|
||||||
CC_FOR_TARGET="${TOOLCHAIN_FOR_TARGET}gcc"
|
CC_FOR_TARGET="${TOOLCHAIN_FOR_TARGET}gcc"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
AC_ARG_VAR([LD_FOR_TARGET], [linker command for Limine])
|
AC_ARG_VAR([LD_FOR_TARGET], [linker command for ZOVboot])
|
||||||
if test "x${LD_FOR_TARGET+set}" = "x"; then
|
if test "x${LD_FOR_TARGET+set}" = "x"; then
|
||||||
if test "x${TOOLCHAIN_FOR_TARGET+set}" = "x"; then
|
if test "x${TOOLCHAIN_FOR_TARGET+set}" = "x"; then
|
||||||
LD_FOR_TARGET="ld.lld"
|
LD_FOR_TARGET="ld.lld"
|
||||||
|
|
@ -153,11 +153,11 @@ fi
|
||||||
|
|
||||||
test "x${TOOLCHAIN_FOR_TARGET+set}" = "x" && TOOLCHAIN_FOR_TARGET=llvm-
|
test "x${TOOLCHAIN_FOR_TARGET+set}" = "x" && TOOLCHAIN_FOR_TARGET=llvm-
|
||||||
|
|
||||||
AC_ARG_VAR([OBJCOPY_FOR_TARGET], [objcopy command for Limine])
|
AC_ARG_VAR([OBJCOPY_FOR_TARGET], [objcopy command for ZOVboot])
|
||||||
test "x${OBJCOPY_FOR_TARGET+set}" = "x" && OBJCOPY_FOR_TARGET="${TOOLCHAIN_FOR_TARGET}objcopy"
|
test "x${OBJCOPY_FOR_TARGET+set}" = "x" && OBJCOPY_FOR_TARGET="${TOOLCHAIN_FOR_TARGET}objcopy"
|
||||||
AC_ARG_VAR([OBJDUMP_FOR_TARGET], [objdump command for Limine])
|
AC_ARG_VAR([OBJDUMP_FOR_TARGET], [objdump command for ZOVboot])
|
||||||
test "x${OBJDUMP_FOR_TARGET+set}" = "x" && OBJDUMP_FOR_TARGET="${TOOLCHAIN_FOR_TARGET}objdump"
|
test "x${OBJDUMP_FOR_TARGET+set}" = "x" && OBJDUMP_FOR_TARGET="${TOOLCHAIN_FOR_TARGET}objdump"
|
||||||
AC_ARG_VAR([READELF_FOR_TARGET], [readelf command for Limine])
|
AC_ARG_VAR([READELF_FOR_TARGET], [readelf command for ZOVboot])
|
||||||
test "x${READELF_FOR_TARGET+set}" = "x" && READELF_FOR_TARGET="${TOOLCHAIN_FOR_TARGET}readelf"
|
test "x${READELF_FOR_TARGET+set}" = "x" && READELF_FOR_TARGET="${TOOLCHAIN_FOR_TARGET}readelf"
|
||||||
|
|
||||||
GET_PROG([CC_FOR_TARGET])
|
GET_PROG([CC_FOR_TARGET])
|
||||||
|
|
@ -327,16 +327,16 @@ for cflag in $CFLAGS; do
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
AC_ARG_VAR([CFLAGS_FOR_TARGET], [C flags for Limine])
|
AC_ARG_VAR([CFLAGS_FOR_TARGET], [C flags for ZOVboot])
|
||||||
test "x${CFLAGS_FOR_TARGET+set}" = "x" && CFLAGS_FOR_TARGET="$BORROWED_CFLAGS"
|
test "x${CFLAGS_FOR_TARGET+set}" = "x" && CFLAGS_FOR_TARGET="$BORROWED_CFLAGS"
|
||||||
|
|
||||||
AC_ARG_VAR([CPPFLAGS_FOR_TARGET], [C preprocessor flags for Limine])
|
AC_ARG_VAR([CPPFLAGS_FOR_TARGET], [C preprocessor flags for ZOVboot])
|
||||||
test "x${CPPFLAGS_FOR_TARGET+set}" = "x" && CPPFLAGS_FOR_TARGET=""
|
test "x${CPPFLAGS_FOR_TARGET+set}" = "x" && CPPFLAGS_FOR_TARGET=""
|
||||||
|
|
||||||
AC_ARG_VAR([LDFLAGS_FOR_TARGET], [linker flags for Limine])
|
AC_ARG_VAR([LDFLAGS_FOR_TARGET], [linker flags for ZOVboot])
|
||||||
test "x${LDFLAGS_FOR_TARGET+set}" = "x" && LDFLAGS_FOR_TARGET=""
|
test "x${LDFLAGS_FOR_TARGET+set}" = "x" && LDFLAGS_FOR_TARGET=""
|
||||||
|
|
||||||
AC_ARG_VAR([NASMFLAGS_FOR_TARGET], [nasm flags for Limine])
|
AC_ARG_VAR([NASMFLAGS_FOR_TARGET], [nasm flags for ZOVboot])
|
||||||
test "x${NASMFLAGS_FOR_TARGET+set}" = "x" && NASMFLAGS_FOR_TARGET="-g"
|
test "x${NASMFLAGS_FOR_TARGET+set}" = "x" && NASMFLAGS_FOR_TARGET="-g"
|
||||||
|
|
||||||
LIMINE_COPYRIGHT=$($GREP Copyright "$SRCDIR/COPYING")
|
LIMINE_COPYRIGHT=$($GREP Copyright "$SRCDIR/COPYING")
|
||||||
|
|
|
||||||
|
|
@ -1194,7 +1194,7 @@ bios_boot_autodetected:;
|
||||||
" the root, /boot, /limine, or /boot/limine directories of\n"
|
" the root, /boot, /limine, or /boot/limine directories of\n"
|
||||||
" one of the partitions on the device, or boot will fail!\n");
|
" one of the partitions on the device, or boot will fail!\n");
|
||||||
|
|
||||||
fprintf(stderr, "Limine BIOS stages installed successfully.\n");
|
fprintf(stderr, "ZOVboot BIOS stages installed successfully.\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
ok = EXIT_SUCCESS;
|
ok = EXIT_SUCCESS;
|
||||||
|
|
@ -1222,7 +1222,7 @@ uninstall_mode_cleanup:
|
||||||
#define CONFIG_B2SUM_SIGNATURE "++CONFIG_B2SUM_SIGNATURE++"
|
#define CONFIG_B2SUM_SIGNATURE "++CONFIG_B2SUM_SIGNATURE++"
|
||||||
|
|
||||||
static void enroll_config_usage(void) {
|
static void enroll_config_usage(void) {
|
||||||
printf("usage: %s enroll-config <Limine executable> <BLAKE2B of config file>\n", program_name);
|
printf("usage: %s enroll-config <ZOVboot executable> <BLAKE2B of config file>\n", program_name);
|
||||||
printf("\n");
|
printf("\n");
|
||||||
printf(" --reset Remove enrolled BLAKE2B, will not check config integrity\n");
|
printf(" --reset Remove enrolled BLAKE2B, will not check config integrity\n");
|
||||||
printf("\n");
|
printf("\n");
|
||||||
|
|
@ -1380,9 +1380,9 @@ static int version(int argc, char *argv[]) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
puts("Limine " LIMINE_VERSION);
|
puts("ZOVboot " LIMINE_VERSION);
|
||||||
puts(LIMINE_COPYRIGHT);
|
puts(LIMINE_COPYRIGHT);
|
||||||
puts("Limine is distributed under the terms of the BSD-2-Clause license.");
|
puts("ZOVboot is distributed under the terms of the BSD-2-Clause license.");
|
||||||
puts("There is ABSOLUTELY NO WARRANTY, to the extent permitted by law.");
|
puts("There is ABSOLUTELY NO WARRANTY, to the extent permitted by law.");
|
||||||
return EXIT_SUCCESS;
|
return EXIT_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
@ -1392,7 +1392,7 @@ static void general_usage(void) {
|
||||||
printf("\n");
|
printf("\n");
|
||||||
printf(" --print-datadir Print the directory containing the bootloader files\n");
|
printf(" --print-datadir Print the directory containing the bootloader files\n");
|
||||||
printf("\n");
|
printf("\n");
|
||||||
printf(" --version Print the Limine version (like the `version` command)\n");
|
printf(" --version Print the ZOVboot version (like the `version` command)\n");
|
||||||
printf("\n");
|
printf("\n");
|
||||||
printf(" --help | -h Display this help message\n");
|
printf(" --help | -h Display this help message\n");
|
||||||
printf("\n");
|
printf("\n");
|
||||||
|
|
@ -1405,7 +1405,7 @@ static int print_datadir(void) {
|
||||||
puts(LIMINE_DATADIR);
|
puts(LIMINE_DATADIR);
|
||||||
return EXIT_SUCCESS;
|
return EXIT_SUCCESS;
|
||||||
#else
|
#else
|
||||||
fprintf(stderr, "error: Cannot print datadir for `limine` built standalone.\n");
|
fprintf(stderr, "error: Cannot print datadir for standalone ZOVboot.\n");
|
||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
@ -1427,7 +1427,7 @@ int main(int argc, char *argv[]) {
|
||||||
#ifndef LIMINE_NO_BIOS
|
#ifndef LIMINE_NO_BIOS
|
||||||
return bios_install(argc - 1, &argv[1]);
|
return bios_install(argc - 1, &argv[1]);
|
||||||
#else
|
#else
|
||||||
fprintf(stderr, "error: Limine has been compiled without BIOS support.\n");
|
fprintf(stderr, "error: ZOVboot has been compiled without BIOS support.\n");
|
||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
#endif
|
#endif
|
||||||
} else if (strcmp(argv[1], "enroll-config") == 0) {
|
} else if (strcmp(argv[1], "enroll-config") == 0) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue