From 1aa8c0709691027dc011337f5e40933f2e1bbfbb Mon Sep 17 00:00:00 2001 From: Tianhao Wang Date: Thu, 1 Feb 2024 16:20:28 +0100 Subject: minimize iso size. --- Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Makefile b/Makefile index c0165f6..71e2208 100644 --- a/Makefile +++ b/Makefile @@ -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) -- cgit v1.2.3-70-g09d2