misc: stage23 -> common
This commit is contained in:
parent
86c1dfbb76
commit
f6c81e4e82
76
.gitignore
vendored
76
.gitignore
vendored
@ -1,38 +1,38 @@
|
|||||||
bin
|
/bin
|
||||||
build
|
/build
|
||||||
toolchain
|
/toolchain
|
||||||
reduced-gnu-efi
|
/reduced-gnu-efi
|
||||||
ovmf*
|
/ovmf*
|
||||||
*.o
|
/*.o
|
||||||
*.d
|
/*.d
|
||||||
*.a
|
/*.a
|
||||||
*.exe
|
/*.exe
|
||||||
*.EFI
|
/*.EFI
|
||||||
*.bin
|
/*.bin
|
||||||
*.bin.gz
|
/*.bin.gz
|
||||||
*.tar.xz
|
/*.tar.xz
|
||||||
*.tar.gz
|
/*.tar.gz
|
||||||
*.elf
|
/*.elf
|
||||||
*.hdd
|
/*.hdd
|
||||||
*.iso
|
/*.iso
|
||||||
*.sys
|
/*.sys
|
||||||
bochsout.txt
|
/bochsout.txt
|
||||||
bx_enh_dbg.ini
|
/bx_enh_dbg.ini
|
||||||
.vscode
|
/.vscode
|
||||||
stivale
|
/stivale
|
||||||
test_image
|
/test_image
|
||||||
!stage23/font.bin
|
!/common/font.bin
|
||||||
configure
|
/configure
|
||||||
configure.ac.save
|
/configure.ac.save
|
||||||
build-aux
|
/build-aux
|
||||||
*~
|
/*~
|
||||||
config.status
|
/config.status
|
||||||
config.log
|
/config.log
|
||||||
autom4te.cache
|
/autom4te.cache
|
||||||
GNUmakefile
|
/GNUmakefile
|
||||||
stage23-bios
|
/common-bios
|
||||||
stage23-uefi32
|
/common-uefi32
|
||||||
stage23-uefi64
|
/common-uefi64
|
||||||
decompressor-build
|
/decompressor-build
|
||||||
stage1.stamp
|
/stage1.stamp
|
||||||
hgen
|
/hgen
|
||||||
|
@ -125,16 +125,16 @@ uninstall:
|
|||||||
rm -f '$(DESTDIR)$(PREFIX)/bin/limine-install'
|
rm -f '$(DESTDIR)$(PREFIX)/bin/limine-install'
|
||||||
rm -f '$(DESTDIR)$(PREFIX)/share/limine'
|
rm -f '$(DESTDIR)$(PREFIX)/share/limine'
|
||||||
|
|
||||||
$(call MKESCAPE,$(BUILDDIR))/stage1.stamp: $(STAGE1_FILES) $(call MKESCAPE,$(BUILDDIR))/decompressor-build/decompressor.bin $(call MKESCAPE,$(BUILDDIR))/stage23-bios/stage2.bin.gz
|
$(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))'
|
mkdir -p '$(call SHESCAPE,$(BINDIR))'
|
||||||
cd '$(call SHESCAPE,$(SRCDIR))/stage1/hdd' && nasm bootsect.asm @werror@ -fbin -DBUILDDIR="'"'$(call NASMESCAPE,$(BUILDDIR))'"'" -o '$(call SHESCAPE,$(BINDIR))/limine-hdd.bin'
|
cd '$(call SHESCAPE,$(SRCDIR))/stage1/hdd' && nasm bootsect.asm @werror@ -fbin -DBUILDDIR="'"'$(call NASMESCAPE,$(BUILDDIR))'"'" -o '$(call SHESCAPE,$(BINDIR))/limine-hdd.bin'
|
||||||
cd '$(call SHESCAPE,$(SRCDIR))/stage1/cd' && nasm bootsect.asm @werror@ -fbin -DBUILDDIR="'"'$(call NASMESCAPE,$(BUILDDIR))'"'" -o '$(call SHESCAPE,$(BINDIR))/limine-cd.bin'
|
cd '$(call SHESCAPE,$(SRCDIR))/stage1/cd' && nasm bootsect.asm @werror@ -fbin -DBUILDDIR="'"'$(call NASMESCAPE,$(BUILDDIR))'"'" -o '$(call SHESCAPE,$(BINDIR))/limine-cd.bin'
|
||||||
cd '$(call SHESCAPE,$(SRCDIR))/stage1/pxe' && nasm bootsect.asm @werror@ -fbin -DBUILDDIR="'"'$(call NASMESCAPE,$(BUILDDIR))'"'" -o '$(call SHESCAPE,$(BINDIR))/limine-pxe.bin'
|
cd '$(call SHESCAPE,$(SRCDIR))/stage1/pxe' && nasm bootsect.asm @werror@ -fbin -DBUILDDIR="'"'$(call NASMESCAPE,$(BUILDDIR))'"'" -o '$(call SHESCAPE,$(BINDIR))/limine-pxe.bin'
|
||||||
cp '$(call SHESCAPE,$(BUILDDIR))/stage23-bios/limine.sys' '$(call SHESCAPE,$(BINDIR))/'
|
cp '$(call SHESCAPE,$(BUILDDIR))/common-bios/limine.sys' '$(call SHESCAPE,$(BINDIR))/'
|
||||||
touch '$(call SHESCAPE,$(BUILDDIR))/stage1.stamp'
|
touch '$(call SHESCAPE,$(BUILDDIR))/stage1.stamp'
|
||||||
|
|
||||||
.PHONY: limine-bios
|
.PHONY: limine-bios
|
||||||
limine-bios: stage23-bios decompressor
|
limine-bios: common-bios decompressor
|
||||||
$(MAKE) '$(call SHESCAPE,$(BUILDDIR))/stage1.stamp'
|
$(MAKE) '$(call SHESCAPE,$(BUILDDIR))/stage1.stamp'
|
||||||
$(MAKE) limine-install
|
$(MAKE) limine-install
|
||||||
|
|
||||||
@ -145,10 +145,10 @@ limine-eltorito-efi:
|
|||||||
( mformat -i '$(call SHESCAPE,$(BINDIR))/limine-eltorito-efi.bin' -f 1440 :: && \
|
( mformat -i '$(call SHESCAPE,$(BINDIR))/limine-eltorito-efi.bin' -f 1440 :: && \
|
||||||
mmd -D s -i '$(call SHESCAPE,$(BINDIR))/limine-eltorito-efi.bin' ::/EFI && \
|
mmd -D s -i '$(call SHESCAPE,$(BINDIR))/limine-eltorito-efi.bin' ::/EFI && \
|
||||||
mmd -D s -i '$(call SHESCAPE,$(BINDIR))/limine-eltorito-efi.bin' ::/EFI/BOOT && \
|
mmd -D s -i '$(call SHESCAPE,$(BINDIR))/limine-eltorito-efi.bin' ::/EFI/BOOT && \
|
||||||
( ( [ -f '$(call SHESCAPE,$(BUILDDIR))/stage23-uefi64/BOOTX64.EFI' ] && \
|
( ( [ -f '$(call SHESCAPE,$(BUILDDIR))/common-uefi64/BOOTX64.EFI' ] && \
|
||||||
mcopy -D o -i '$(call SHESCAPE,$(BINDIR))/limine-eltorito-efi.bin' '$(call SHESCAPE,$(BUILDDIR))/stage23-uefi64/BOOTX64.EFI' ::/EFI/BOOT ) || true ) && \
|
mcopy -D o -i '$(call SHESCAPE,$(BINDIR))/limine-eltorito-efi.bin' '$(call SHESCAPE,$(BUILDDIR))/common-uefi64/BOOTX64.EFI' ::/EFI/BOOT ) || true ) && \
|
||||||
( ( [ -f '$(call SHESCAPE,$(BUILDDIR))/stage23-uefi32/BOOTIA32.EFI' ] && \
|
( ( [ -f '$(call SHESCAPE,$(BUILDDIR))/common-uefi32/BOOTIA32.EFI' ] && \
|
||||||
mcopy -D o -i '$(call SHESCAPE,$(BINDIR))/limine-eltorito-efi.bin' '$(call SHESCAPE,$(BUILDDIR))/stage23-uefi32/BOOTIA32.EFI' ::/EFI/BOOT ) || true ) \
|
mcopy -D o -i '$(call SHESCAPE,$(BINDIR))/limine-eltorito-efi.bin' '$(call SHESCAPE,$(BUILDDIR))/common-uefi32/BOOTIA32.EFI' ::/EFI/BOOT ) || true ) \
|
||||||
) || rm -f '$(call SHESCAPE,$(BINDIR))/limine-eltorito-efi.bin'
|
) || rm -f '$(call SHESCAPE,$(BINDIR))/limine-eltorito-efi.bin'
|
||||||
|
|
||||||
.PHONY: limine-uefi
|
.PHONY: limine-uefi
|
||||||
@ -157,24 +157,24 @@ limine-uefi: limine-uefi32 limine-uefi64
|
|||||||
|
|
||||||
.PHONY: limine-uefi64
|
.PHONY: limine-uefi64
|
||||||
limine-uefi64: $(call MKESCAPE,$(SRCDIR))/reduced-gnu-efi
|
limine-uefi64: $(call MKESCAPE,$(SRCDIR))/reduced-gnu-efi
|
||||||
$(MAKE) stage23-uefi64
|
$(MAKE) common-uefi64
|
||||||
mkdir -p '$(call SHESCAPE,$(BINDIR))'
|
mkdir -p '$(call SHESCAPE,$(BINDIR))'
|
||||||
cp '$(call SHESCAPE,$(BUILDDIR))/stage23-uefi64/BOOTX64.EFI' '$(call SHESCAPE,$(BINDIR))/'
|
cp '$(call SHESCAPE,$(BUILDDIR))/common-uefi64/BOOTX64.EFI' '$(call SHESCAPE,$(BINDIR))/'
|
||||||
|
|
||||||
.PHONY: limine-uefi32
|
.PHONY: limine-uefi32
|
||||||
limine-uefi32: $(call MKESCAPE,$(SRCDIR))/reduced-gnu-efi
|
limine-uefi32: $(call MKESCAPE,$(SRCDIR))/reduced-gnu-efi
|
||||||
$(MAKE) stage23-uefi32
|
$(MAKE) common-uefi32
|
||||||
mkdir -p '$(call SHESCAPE,$(BINDIR))'
|
mkdir -p '$(call SHESCAPE,$(BINDIR))'
|
||||||
cp '$(call SHESCAPE,$(BUILDDIR))/stage23-uefi32/BOOTIA32.EFI' '$(call SHESCAPE,$(BINDIR))/'
|
cp '$(call SHESCAPE,$(BUILDDIR))/common-uefi32/BOOTIA32.EFI' '$(call SHESCAPE,$(BINDIR))/'
|
||||||
|
|
||||||
.PHONY: limine-bios-clean
|
.PHONY: limine-bios-clean
|
||||||
limine-bios-clean: stage23-bios-clean decompressor-clean
|
limine-bios-clean: common-bios-clean decompressor-clean
|
||||||
|
|
||||||
.PHONY: limine-uefi64-clean
|
.PHONY: limine-uefi64-clean
|
||||||
limine-uefi64-clean: stage23-uefi64-clean
|
limine-uefi64-clean: common-uefi64-clean
|
||||||
|
|
||||||
.PHONY: limine-uefi32-clean
|
.PHONY: limine-uefi32-clean
|
||||||
limine-uefi32-clean: stage23-uefi32-clean
|
limine-uefi32-clean: common-uefi32-clean
|
||||||
|
|
||||||
.PHONY: dist
|
.PHONY: dist
|
||||||
dist:
|
dist:
|
||||||
@ -200,29 +200,29 @@ distclean: clean
|
|||||||
maintainer-clean: distclean
|
maintainer-clean: distclean
|
||||||
cd '$(call SHESCAPE,$(SRCDIR))' && rm -rf stivale reduced-gnu-efi configure build-aux *'~' autom4te.cache *.tar.xz *.tar.gz
|
cd '$(call SHESCAPE,$(SRCDIR))' && rm -rf stivale reduced-gnu-efi configure build-aux *'~' autom4te.cache *.tar.xz *.tar.gz
|
||||||
|
|
||||||
.PHONY: stage23-uefi64
|
.PHONY: common-uefi64
|
||||||
stage23-uefi64: $(call MKESCAPE,$(SRCDIR))/stivale
|
common-uefi64: $(call MKESCAPE,$(SRCDIR))/stivale
|
||||||
$(MAKE) -C '$(call SHESCAPE,$(SRCDIR))/stage23' all TARGET=uefi64 BUILDDIR='$(call SHESCAPE,$(BUILDDIR))/stage23-uefi64'
|
$(MAKE) -C '$(call SHESCAPE,$(SRCDIR))/common' all TARGET=uefi64 BUILDDIR='$(call SHESCAPE,$(BUILDDIR))/common-uefi64'
|
||||||
|
|
||||||
.PHONY: stage23-uefi64-clean
|
.PHONY: common-uefi64-clean
|
||||||
stage23-uefi64-clean:
|
common-uefi64-clean:
|
||||||
$(MAKE) -C '$(call SHESCAPE,$(SRCDIR))/stage23' clean TARGET=uefi64 BUILDDIR='$(call SHESCAPE,$(BUILDDIR))/stage23-uefi64'
|
$(MAKE) -C '$(call SHESCAPE,$(SRCDIR))/common' clean TARGET=uefi64 BUILDDIR='$(call SHESCAPE,$(BUILDDIR))/common-uefi64'
|
||||||
|
|
||||||
.PHONY: stage23-uefi32
|
.PHONY: common-uefi32
|
||||||
stage23-uefi32: $(call MKESCAPE,$(SRCDIR))/stivale
|
common-uefi32: $(call MKESCAPE,$(SRCDIR))/stivale
|
||||||
$(MAKE) -C '$(call SHESCAPE,$(SRCDIR))/stage23' all TARGET=uefi32 BUILDDIR='$(call SHESCAPE,$(BUILDDIR))/stage23-uefi32'
|
$(MAKE) -C '$(call SHESCAPE,$(SRCDIR))/common' all TARGET=uefi32 BUILDDIR='$(call SHESCAPE,$(BUILDDIR))/common-uefi32'
|
||||||
|
|
||||||
.PHONY: stage23-uefi32-clean
|
.PHONY: common-uefi32-clean
|
||||||
stage23-uefi32-clean:
|
common-uefi32-clean:
|
||||||
$(MAKE) -C '$(call SHESCAPE,$(SRCDIR))/stage23' clean TARGET=uefi32 BUILDDIR='$(call SHESCAPE,$(BUILDDIR))/stage23-uefi32'
|
$(MAKE) -C '$(call SHESCAPE,$(SRCDIR))/common' clean TARGET=uefi32 BUILDDIR='$(call SHESCAPE,$(BUILDDIR))/common-uefi32'
|
||||||
|
|
||||||
.PHONY: stage23-bios
|
.PHONY: common-bios
|
||||||
stage23-bios: $(call MKESCAPE,$(SRCDIR))/stivale
|
common-bios: $(call MKESCAPE,$(SRCDIR))/stivale
|
||||||
$(MAKE) -C '$(call SHESCAPE,$(SRCDIR))/stage23' all TARGET=bios BUILDDIR='$(call SHESCAPE,$(BUILDDIR))/stage23-bios'
|
$(MAKE) -C '$(call SHESCAPE,$(SRCDIR))/common' all TARGET=bios BUILDDIR='$(call SHESCAPE,$(BUILDDIR))/common-bios'
|
||||||
|
|
||||||
.PHONY: stage23-bios-clean
|
.PHONY: common-bios-clean
|
||||||
stage23-bios-clean:
|
common-bios-clean:
|
||||||
$(MAKE) -C '$(call SHESCAPE,$(SRCDIR))/stage23' clean TARGET=bios BUILDDIR='$(call SHESCAPE,$(BUILDDIR))/stage23-bios'
|
$(MAKE) -C '$(call SHESCAPE,$(SRCDIR))/common' clean TARGET=bios BUILDDIR='$(call SHESCAPE,$(BUILDDIR))/common-bios'
|
||||||
|
|
||||||
.PHONY: decompressor
|
.PHONY: decompressor
|
||||||
decompressor:
|
decompressor:
|
||||||
|
@ -275,11 +275,11 @@ $(call MKESCAPE,$(BUILDDIR))/reduced-gnu-efi: ../reduced-gnu-efi/*
|
|||||||
|
|
||||||
ifeq ($(TARGET), uefi64)
|
ifeq ($(TARGET), uefi64)
|
||||||
|
|
||||||
$(call MKESCAPE,$(BUILDDIR))/full.map.o: $(call MKESCAPE,$(BUILDDIR))/limine_efi_nomap.elf
|
$(call MKESCAPE,$(BUILDDIR))/full.map.o: $(call MKESCAPE,$(BUILDDIR))/limine_nomap.elf
|
||||||
cd '$(call SHESCAPE,$(BUILDDIR))' && \
|
cd '$(call SHESCAPE,$(BUILDDIR))' && \
|
||||||
'$(call SHESCAPE,$(SRCDIR))/gensyms.sh' '$(call SHESCAPE,$<)' full 64
|
'$(call SHESCAPE,$(SRCDIR))/gensyms.sh' '$(call SHESCAPE,$<)' full 64
|
||||||
|
|
||||||
$(call MKESCAPE,$(BUILDDIR))/BOOTX64.EFI: $(call MKESCAPE,$(BUILDDIR))/limine_efi.elf
|
$(call MKESCAPE,$(BUILDDIR))/BOOTX64.EFI: $(call MKESCAPE,$(BUILDDIR))/limine.elf
|
||||||
$(LIMINE_OBJCOPY) -j .text -j .sdata -j .data -j .dynamic -j .dynsym -j .rel -j .rela -j .rel.* -j .rela.* -j .reloc -j .sbat --target efi-app-x86_64 '$(call SHESCAPE,$<)' '$(call SHESCAPE,$@)'
|
$(LIMINE_OBJCOPY) -j .text -j .sdata -j .data -j .dynamic -j .dynsym -j .rel -j .rela -j .rel.* -j .rela.* -j .reloc -j .sbat --target efi-app-x86_64 '$(call SHESCAPE,$<)' '$(call SHESCAPE,$@)'
|
||||||
|
|
||||||
$(call MKESCAPE,$(BUILDDIR))/reduced-gnu-efi/gnuefi/crt0-efi-x86_64.o: reduced-gnu-efi
|
$(call MKESCAPE,$(BUILDDIR))/reduced-gnu-efi/gnuefi/crt0-efi-x86_64.o: reduced-gnu-efi
|
||||||
@ -300,7 +300,7 @@ $(call MKESCAPE,$(BUILDDIR))/linker_nomap.ld: linker_uefi64.ld.in
|
|||||||
mkdir -p '$(call SHESCAPE,$(BUILDDIR))'
|
mkdir -p '$(call SHESCAPE,$(BUILDDIR))'
|
||||||
$(LIMINE_CC) -x c -E -P -DLINKER_NOMAP linker_uefi64.ld.in -o '$(call SHESCAPE,$(BUILDDIR))/linker_nomap.ld'
|
$(LIMINE_CC) -x c -E -P -DLINKER_NOMAP linker_uefi64.ld.in -o '$(call SHESCAPE,$(BUILDDIR))/linker_nomap.ld'
|
||||||
|
|
||||||
$(call MKESCAPE,$(BUILDDIR))/limine_efi_nomap.elf: $(call MKESCAPE,$(BUILDDIR))/reduced-gnu-efi/gnuefi/crt0-efi-x86_64.o $(call MKESCAPE,$(BUILDDIR))/reduced-gnu-efi/gnuefi/libgnuefi.a $(OBJ) $(call MKESCAPE,$(BUILDDIR))/tinf/tinfgzip.o $(call MKESCAPE,$(BUILDDIR))/tinf/tinflate.o $(call MKESCAPE,$(BUILDDIR))/font.o $(call MKESCAPE,$(BUILDDIR))/sys/smp_trampoline.o
|
$(call MKESCAPE,$(BUILDDIR))/limine_nomap.elf: $(call MKESCAPE,$(BUILDDIR))/reduced-gnu-efi/gnuefi/crt0-efi-x86_64.o $(call MKESCAPE,$(BUILDDIR))/reduced-gnu-efi/gnuefi/libgnuefi.a $(OBJ) $(call MKESCAPE,$(BUILDDIR))/tinf/tinfgzip.o $(call MKESCAPE,$(BUILDDIR))/tinf/tinflate.o $(call MKESCAPE,$(BUILDDIR))/font.o $(call MKESCAPE,$(BUILDDIR))/sys/smp_trampoline.o
|
||||||
$(MAKE) '$(call SHESCAPE,$(BUILDDIR))/linker_nomap.ld'
|
$(MAKE) '$(call SHESCAPE,$(BUILDDIR))/linker_nomap.ld'
|
||||||
$(LIMINE_LD) \
|
$(LIMINE_LD) \
|
||||||
-T'$(call SHESCAPE,$(BUILDDIR))/linker_nomap.ld' \
|
-T'$(call SHESCAPE,$(BUILDDIR))/linker_nomap.ld' \
|
||||||
@ -310,7 +310,7 @@ $(call MKESCAPE,$(BUILDDIR))/linker.ld: linker_uefi64.ld.in
|
|||||||
mkdir -p '$(call SHESCAPE,$(BUILDDIR))'
|
mkdir -p '$(call SHESCAPE,$(BUILDDIR))'
|
||||||
$(LIMINE_CC) -x c -E -P linker_uefi64.ld.in -o '$(call SHESCAPE,$(BUILDDIR))/linker.ld'
|
$(LIMINE_CC) -x c -E -P linker_uefi64.ld.in -o '$(call SHESCAPE,$(BUILDDIR))/linker.ld'
|
||||||
|
|
||||||
$(call MKESCAPE,$(BUILDDIR))/limine_efi.elf: $(call MKESCAPE,$(BUILDDIR))/reduced-gnu-efi/gnuefi/crt0-efi-x86_64.o $(call MKESCAPE,$(BUILDDIR))/reduced-gnu-efi/gnuefi/libgnuefi.a $(OBJ) $(call MKESCAPE,$(BUILDDIR))/tinf/tinfgzip.o $(call MKESCAPE,$(BUILDDIR))/tinf/tinflate.o $(call MKESCAPE,$(BUILDDIR))/font.o $(call MKESCAPE,$(BUILDDIR))/sys/smp_trampoline.o $(call MKESCAPE,$(BUILDDIR))/full.map.o
|
$(call MKESCAPE,$(BUILDDIR))/limine.elf: $(call MKESCAPE,$(BUILDDIR))/reduced-gnu-efi/gnuefi/crt0-efi-x86_64.o $(call MKESCAPE,$(BUILDDIR))/reduced-gnu-efi/gnuefi/libgnuefi.a $(OBJ) $(call MKESCAPE,$(BUILDDIR))/tinf/tinfgzip.o $(call MKESCAPE,$(BUILDDIR))/tinf/tinflate.o $(call MKESCAPE,$(BUILDDIR))/font.o $(call MKESCAPE,$(BUILDDIR))/sys/smp_trampoline.o $(call MKESCAPE,$(BUILDDIR))/full.map.o
|
||||||
$(MAKE) '$(call SHESCAPE,$(BUILDDIR))/linker.ld'
|
$(MAKE) '$(call SHESCAPE,$(BUILDDIR))/linker.ld'
|
||||||
$(LIMINE_LD) \
|
$(LIMINE_LD) \
|
||||||
-T'$(call SHESCAPE,$(BUILDDIR))/linker.ld' \
|
-T'$(call SHESCAPE,$(BUILDDIR))/linker.ld' \
|
||||||
@ -320,11 +320,11 @@ endif
|
|||||||
|
|
||||||
ifeq ($(TARGET), uefi32)
|
ifeq ($(TARGET), uefi32)
|
||||||
|
|
||||||
$(call MKESCAPE,$(BUILDDIR))/full.map.o: $(call MKESCAPE,$(BUILDDIR))/limine_efi_nomap.elf
|
$(call MKESCAPE,$(BUILDDIR))/full.map.o: $(call MKESCAPE,$(BUILDDIR))/limine_nomap.elf
|
||||||
cd '$(call SHESCAPE,$(BUILDDIR))' && \
|
cd '$(call SHESCAPE,$(BUILDDIR))' && \
|
||||||
'$(call SHESCAPE,$(SRCDIR))/gensyms.sh' '$(call SHESCAPE,$<)' full 32
|
'$(call SHESCAPE,$(SRCDIR))/gensyms.sh' '$(call SHESCAPE,$<)' full 32
|
||||||
|
|
||||||
$(call MKESCAPE,$(BUILDDIR))/BOOTIA32.EFI: $(call MKESCAPE,$(BUILDDIR))/limine_efi.elf
|
$(call MKESCAPE,$(BUILDDIR))/BOOTIA32.EFI: $(call MKESCAPE,$(BUILDDIR))/limine.elf
|
||||||
$(LIMINE_OBJCOPY) -j .text -j .sdata -j .data -j .dynamic -j .dynsym -j .rel -j .rela -j .rel.* -j .rela.* -j .reloc -j .sbat --target efi-app-ia32 '$(call SHESCAPE,$<)' '$(call SHESCAPE,$@)'
|
$(LIMINE_OBJCOPY) -j .text -j .sdata -j .data -j .dynamic -j .dynsym -j .rel -j .rela -j .rel.* -j .rela.* -j .reloc -j .sbat --target efi-app-ia32 '$(call SHESCAPE,$<)' '$(call SHESCAPE,$@)'
|
||||||
|
|
||||||
$(call MKESCAPE,$(BUILDDIR))/reduced-gnu-efi/gnuefi/crt0-efi-ia32.o: reduced-gnu-efi
|
$(call MKESCAPE,$(BUILDDIR))/reduced-gnu-efi/gnuefi/crt0-efi-ia32.o: reduced-gnu-efi
|
||||||
@ -345,7 +345,7 @@ $(call MKESCAPE,$(BUILDDIR))/linker_nomap.ld: linker_uefi32.ld.in
|
|||||||
mkdir -p '$(call SHESCAPE,$(BUILDDIR))'
|
mkdir -p '$(call SHESCAPE,$(BUILDDIR))'
|
||||||
$(LIMINE_CC) -x c -E -P -DLINKER_NOMAP linker_uefi32.ld.in -o '$(call SHESCAPE,$(BUILDDIR))/linker_nomap.ld'
|
$(LIMINE_CC) -x c -E -P -DLINKER_NOMAP linker_uefi32.ld.in -o '$(call SHESCAPE,$(BUILDDIR))/linker_nomap.ld'
|
||||||
|
|
||||||
$(call MKESCAPE,$(BUILDDIR))/limine_efi_nomap.elf: $(call MKESCAPE,$(BUILDDIR))/reduced-gnu-efi/gnuefi/crt0-efi-ia32.o $(call MKESCAPE,$(BUILDDIR))/reduced-gnu-efi/gnuefi/libgnuefi.a $(OBJ) $(call MKESCAPE,$(BUILDDIR))/tinf/tinfgzip.o $(call MKESCAPE,$(BUILDDIR))/tinf/tinflate.o $(call MKESCAPE,$(BUILDDIR))/font.o $(call MKESCAPE,$(BUILDDIR))/sys/smp_trampoline.o
|
$(call MKESCAPE,$(BUILDDIR))/limine_nomap.elf: $(call MKESCAPE,$(BUILDDIR))/reduced-gnu-efi/gnuefi/crt0-efi-ia32.o $(call MKESCAPE,$(BUILDDIR))/reduced-gnu-efi/gnuefi/libgnuefi.a $(OBJ) $(call MKESCAPE,$(BUILDDIR))/tinf/tinfgzip.o $(call MKESCAPE,$(BUILDDIR))/tinf/tinflate.o $(call MKESCAPE,$(BUILDDIR))/font.o $(call MKESCAPE,$(BUILDDIR))/sys/smp_trampoline.o
|
||||||
$(MAKE) '$(call SHESCAPE,$(BUILDDIR))/linker_nomap.ld'
|
$(MAKE) '$(call SHESCAPE,$(BUILDDIR))/linker_nomap.ld'
|
||||||
$(LIMINE_LD) \
|
$(LIMINE_LD) \
|
||||||
-T'$(call SHESCAPE,$(BUILDDIR))/linker_nomap.ld' \
|
-T'$(call SHESCAPE,$(BUILDDIR))/linker_nomap.ld' \
|
||||||
@ -355,7 +355,7 @@ $(call MKESCAPE,$(BUILDDIR))/linker.ld: linker_uefi32.ld.in
|
|||||||
mkdir -p '$(call SHESCAPE,$(BUILDDIR))'
|
mkdir -p '$(call SHESCAPE,$(BUILDDIR))'
|
||||||
$(LIMINE_CC) -x c -E -P linker_uefi32.ld.in -o '$(call SHESCAPE,$(BUILDDIR))/linker.ld'
|
$(LIMINE_CC) -x c -E -P linker_uefi32.ld.in -o '$(call SHESCAPE,$(BUILDDIR))/linker.ld'
|
||||||
|
|
||||||
$(call MKESCAPE,$(BUILDDIR))/limine_efi.elf: $(call MKESCAPE,$(BUILDDIR))/reduced-gnu-efi/gnuefi/crt0-efi-ia32.o $(call MKESCAPE,$(BUILDDIR))/reduced-gnu-efi/gnuefi/libgnuefi.a $(OBJ) $(call MKESCAPE,$(BUILDDIR))/tinf/tinfgzip.o $(call MKESCAPE,$(BUILDDIR))/tinf/tinflate.o $(call MKESCAPE,$(BUILDDIR))/font.o $(call MKESCAPE,$(BUILDDIR))/sys/smp_trampoline.o $(call MKESCAPE,$(BUILDDIR))/full.map.o
|
$(call MKESCAPE,$(BUILDDIR))/limine.elf: $(call MKESCAPE,$(BUILDDIR))/reduced-gnu-efi/gnuefi/crt0-efi-ia32.o $(call MKESCAPE,$(BUILDDIR))/reduced-gnu-efi/gnuefi/libgnuefi.a $(OBJ) $(call MKESCAPE,$(BUILDDIR))/tinf/tinfgzip.o $(call MKESCAPE,$(BUILDDIR))/tinf/tinflate.o $(call MKESCAPE,$(BUILDDIR))/font.o $(call MKESCAPE,$(BUILDDIR))/sys/smp_trampoline.o $(call MKESCAPE,$(BUILDDIR))/full.map.o
|
||||||
$(MAKE) '$(call SHESCAPE,$(BUILDDIR))/linker.ld'
|
$(MAKE) '$(call SHESCAPE,$(BUILDDIR))/linker.ld'
|
||||||
$(LIMINE_LD) \
|
$(LIMINE_LD) \
|
||||||
-T'$(call SHESCAPE,$(BUILDDIR))/linker.ld' \
|
-T'$(call SHESCAPE,$(BUILDDIR))/linker.ld' \
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user