diff options
| author | Tianhao Wang <wth@riseup.net> | 2024-02-01 16:20:28 +0100 |
|---|---|---|
| committer | Tianhao Wang <shrik3@mailbox.org> | 2024-06-11 15:13:37 +0200 |
| commit | 1aa8c0709691027dc011337f5e40933f2e1bbfbb (patch) | |
| tree | 73304e64edebaf127991e03debbf87d35459961a | |
| parent | c01e440d014253fd4cae9f642c949720a54baf4b (diff) | |
minimize iso size.
| -rw-r--r-- | Makefile | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -20,8 +20,6 @@ ASM = nasm ASMOBJFORMAT = elf64 LINKER_SCRIPT = ./src/arch/$(ARCH)/linker.ld CARGO_XBUILD_FLAGS = - - # ---------- No need to edit below this line -------------- # ---------- If you have to, something is wrong ----------- ASM_SOURCES = $(shell find ./src -name "*.s") @@ -46,7 +44,7 @@ all: bootdisk.iso bootdisk.iso : kernel $(VERBOSE) cp kernel isofiles/boot/ - $(VERBOSE) grub-mkrescue /usr/lib/grub/i386-pc -o bootdisk.iso isofiles + $(VERBOSE) grub-mkrescue -d /usr/lib/grub/i386-pc --locales=en@piglatin --themes=none -o bootdisk.iso isofiles # Note: explicitly tell the linker to use startup: as the entry point (we have no main here) kernel : rust_kernel startup.o $(ASMOBJ_PREFIXED) |
