misc: Updates for new flanterm

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

View File

@ -70,6 +70,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,