misc: Updates for new flanterm

This commit is contained in:
mintsuki 2023-06-10 19:23:50 +02:00
parent 5538fef5ea
commit 3b199d382a
2 changed files with 3 additions and 0 deletions

View File

@ -68,6 +68,8 @@ override CPPFLAGS_FOR_TARGET := \
-MMD \
-MP
$(call MKESCAPE,$(BUILDDIR))/./flanterm/backends/fb.o: override CPPFLAGS_FOR_TARGET += -DFLANTERM_FB_DISABLE_BUMP_ALLOC
ifeq ($(TARGET),bios)
override CFLAGS_FOR_TARGET += \
-fno-PIE \

View File

@ -783,6 +783,7 @@ no_load_font:;
generate_canvas(fb);
terms[terms_i] = flanterm_fb_init(ext_mem_alloc,
pmm_free,
(void *)(uintptr_t)fb->framebuffer_addr,
fb->framebuffer_width, fb->framebuffer_height, fb->framebuffer_pitch,
bg_canvas,