From 89e59c1c56ca37163ea1629c1c11e9bc48727746 Mon Sep 17 00:00:00 2001
From: dzwdz
Date: Mon, 1 Aug 2022 20:36:41 +0200
Subject: user: make ansiterm use the framebuffer instead of vga text mode

---
 Makefile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

(limited to 'Makefile')

diff --git a/Makefile b/Makefile
index 4bbe24d..5b1bad2 100644
--- a/Makefile
+++ b/Makefile
@@ -101,8 +101,12 @@ out/initrd/%: initrd/%
 	@mkdir -p $(@D)
 	@cp $< $@
 
+out/initrd/font.psf: /usr/share/kbd/consolefonts/default8x16.psfu.gz
+	@gunzip $< -c > $@
+
 out/initrd.tar: $(patsubst %,out/%,$(shell find initrd/ -type f)) \
-                $(patsubst %,out/initrd/bin/%,$(USERBINS))
+                $(patsubst %,out/initrd/bin/%,$(USERBINS)) \
+                out/initrd/font.psf
 	@cd out/initrd; tar chf ../initrd.tar *
 
 
-- 
cgit v1.2.3