build: autogen.sh -> bootstrap

This commit is contained in:
mintsuki 2022-06-15 00:35:16 +02:00
parent ee69dacb08
commit e906d0597d
5 changed files with 9 additions and 8 deletions

View File

@ -15,7 +15,7 @@ jobs:
run: sudo apt-get update && sudo apt-get install git build-essential autoconf automake nasm curl mtools llvm clang lld -y run: sudo apt-get update && sudo apt-get install git build-essential autoconf automake nasm curl mtools llvm clang lld -y
- name: Build the bootloader (GNU) - name: Build the bootloader (GNU)
run: ./autogen.sh --enable-werror && make all && make maintainer-clean run: ./bootstrap && ./configure --enable-werror && make all && make maintainer-clean
- name: Build the bootloader (LLVM) - name: Build the bootloader (LLVM)
run: ./autogen.sh TOOLCHAIN=llvm --enable-werror && make all && make maintainer-clean run: ./bootstrap && ./configure TOOLCHAIN=llvm --enable-werror && make all && make maintainer-clean

View File

@ -29,7 +29,7 @@ jobs:
run: ./make_toolchain.sh run: ./make_toolchain.sh
- name: Regenerate - name: Regenerate
run: NOCONFIGURE=yes ./autogen.sh run: ./bootstrap
- name: Create build dir - name: Create build dir
run: mkdir -p build run: mkdir -p build
@ -80,7 +80,7 @@ jobs:
run: git checkout $TAG_NAME && rm -rf * && git checkout . run: git checkout $TAG_NAME && rm -rf * && git checkout .
- name: Package release tarball - name: Package release tarball
run: ./autogen.sh && make dist run: ./bootstrap && ./configure && make dist
- name: Create release notes - name: Create release notes
run: echo "Binary release can be found at https://github.com/limine-bootloader/limine/tree/$TAG_NAME-binary" > rel_notes.txt run: echo "Binary release can be found at https://github.com/limine-bootloader/limine/tree/$TAG_NAME-binary" > rel_notes.txt

View File

@ -196,7 +196,7 @@ dist:
mkdir -p '$(call SHESCAPE,$(BUILDDIR))'/"limine-$(LIMINE_VERSION)" mkdir -p '$(call SHESCAPE,$(BUILDDIR))'/"limine-$(LIMINE_VERSION)"
cp -r '$(call SHESCAPE,$(SRCDIR))'/.git '$(call SHESCAPE,$(BUILDDIR))'/"limine-$(LIMINE_VERSION)"/ cp -r '$(call SHESCAPE,$(SRCDIR))'/.git '$(call SHESCAPE,$(BUILDDIR))'/"limine-$(LIMINE_VERSION)"/
cd '$(call SHESCAPE,$(BUILDDIR))'/"limine-$(LIMINE_VERSION)" && git checkout . cd '$(call SHESCAPE,$(BUILDDIR))'/"limine-$(LIMINE_VERSION)" && git checkout .
cd '$(call SHESCAPE,$(BUILDDIR))'/"limine-$(LIMINE_VERSION)" && NOCONFIGURE=yes ./autogen.sh cd '$(call SHESCAPE,$(BUILDDIR))'/"limine-$(LIMINE_VERSION)" && ./bootstrap
rm -rf '$(call SHESCAPE,$(BUILDDIR))'/"limine-$(LIMINE_VERSION)/freestanding_headers/.git" rm -rf '$(call SHESCAPE,$(BUILDDIR))'/"limine-$(LIMINE_VERSION)/freestanding_headers/.git"
rm -rf '$(call SHESCAPE,$(BUILDDIR))'/"limine-$(LIMINE_VERSION)/limine-efi/.git" rm -rf '$(call SHESCAPE,$(BUILDDIR))'/"limine-$(LIMINE_VERSION)/limine-efi/.git"
rm -rf '$(call SHESCAPE,$(BUILDDIR))'/"limine-$(LIMINE_VERSION)/.git" rm -rf '$(call SHESCAPE,$(BUILDDIR))'/"limine-$(LIMINE_VERSION)/.git"

View File

@ -90,10 +90,11 @@ paragraph as it is built as part of it.
If using a release tarball (recommended, see https://github.com/limine-bootloader/limine/releases), If using a release tarball (recommended, see https://github.com/limine-bootloader/limine/releases),
run `./configure` directly. run `./configure` directly.
If checking out from the repository, run `./autogen.sh` first (`GNU autoconf` and `GNU automake` required). If checking out from the repository, run `./bootstrap` first in order to download the
necessary dependencies and generate the configure script (`GNU autoconf` and `GNU automake` required).
Both `./autogen.sh` and `./configure` take arguments and environment variables; `./configure` takes arguments and environment variables; for more information on
for more information on these, run `./configure --help`. these, run `./configure --help`.
To build using the LLVM toolchain, pass `TOOLCHAIN=llvm` to `./configure`. To build using the LLVM toolchain, pass `TOOLCHAIN=llvm` to `./configure`.