aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTianhao Wang <wth@riseup.net>2024-02-01 16:20:28 +0100
committerTianhao Wang <shrik3@mailbox.org>2024-06-11 15:13:37 +0200
commit1aa8c0709691027dc011337f5e40933f2e1bbfbb (patch)
tree73304e64edebaf127991e03debbf87d35459961a /Makefile
parentc01e440d014253fd4cae9f642c949720a54baf4b (diff)
minimize iso size.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 1 insertions, 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)