From 5129e9f9f732f7d2829f02597cdb4ad2c0f3d856 Mon Sep 17 00:00:00 2001 From: Lizzy Fleckenstein Date: Thu, 21 Dec 2023 02:36:06 +0100 Subject: compile terminus font into the kernel --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index fc97bbf..2764705 100644 --- a/Makefile +++ b/Makefile @@ -82,6 +82,11 @@ stage3/version.c: .version-$(GIT_VERSION) stage3/isr.asm: stage3/isr.lua lua stage3/isr.lua > stage3/isr.asm +stage3/font.c: stage3/font_builtin.c + +stage3/font_builtin.c: fs/fonts/ter-u16n.cuddlefont + xxd -i $< > $@ + fs.tar: $(shell find fs | sed 's/ /\\ /g') fs/dbg/kernel.map fs/dbg/kernel.dis.asm cd fs && tar --format=ustar -cf ../fs.tar * @@ -100,7 +105,7 @@ qemu_slow: cuddles.img run: qemu clean: - rm -rf .version-* stage3/*.{o,d} *.bin *.img stage3/{isr.asm,version.c} fs.tar fs/dbg + rm -rf .version-* stage3/*.{o,d} *.bin *.img stage3/{isr.asm,version.c,font_builtin.c} fs.tar fs/dbg flash: cuddles.img dd if=cuddles.img of=$(DEV) -- cgit v1.2.3