Skip to content

Commit

Permalink
Make docs ajour
Browse files Browse the repository at this point in the history
  • Loading branch information
Kruhlmann committed Jul 16, 2024
1 parent e49b5c7 commit db39595
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ LD_OBJ ?= /usr/lib/crt0-efi-x86_64.o
EFI_LDS ?= /usr/lib/elf_x86_64_efi.lds
BIOS_FD ?= /usr/share/OVMF/FV/OVMF.fd
LD_EXTRA ?=
DISK_BLOCK_SIZE_BYTES ?= 512

CC := gcc
CFLAGS := -c -fno-stack-protector -fpic -fshort-wchar -mno-red-zone -DEFI_FUNCTION_WRAPPER $(addprefix -I,$(INCLUDE_DIRS))
LDFLAGS := $(LD_OBJ) -nostdlib -znocombreloc -T $(EFI_LDS) -shared -Bsymbolic -lgnuefi -lefi $(LD_EXTRA)
QEMUFLAGS := -bios $(BIOS_FD) -nographic -serial mon:stdio
OBJCOPYFLAGS := -j .text -j .sdata -j .data -j .dynamic -j .dynsym -j .rel -j .rela -j .reloc --target=efi-app-x86_64
DISK_BLOCK_SIZE_BYTES := 512

.PHONY: all
all: main.efi
Expand Down
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,6 @@ The Makefile supports several variables that can be overridden:
- `LD_OBJ`: Path to the UEFI crt0 object file (default: `/usr/lib/crt0-efi-x86_64.o`)
- `EFI_LDS`: Path to the UEFI linker script (default: `/usr/lib/elf_x86_64_efi.lds`)
- `BIOS_FD`: Path to the OVMF BIOS image for QEMU (default: `/usr/share/OVMF/FV/OVMF.fd`)
- `DISK_BLOCK_COUNT`: Number of blocks in the disk image (default: 204800)
- `DISK_BLOCK_SIZE_BYTES`: Size of each block in bytes (default: 512)

Example usage:

Expand Down

0 comments on commit db39595

Please sign in to comment.