Skip to content

Commit 98035e1

Browse files
committed
Use LVGL internal FB driver on the unix port
1 parent 69afb9e commit 98035e1

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

ports/unix/Makefile

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,10 @@ endif
219219

220220
# Additional optional libraries
221221

222+
ifneq ($(UNAME_S),Darwin)
223+
CFLAGS_MOD += -DMICROPY_FB=1
224+
endif
225+
222226
SDL_CFLAGS_MOD := $(shell pkg-config --silence-errors --cflags sdl2)
223227
SDL_LDFLAGS_MOD := $(shell pkg-config --silence-errors --libs sdl2)
224228
ifneq ($(SDL_LDFLAGS_MOD),)
@@ -278,12 +282,6 @@ SHARED_SRC_C += $(addprefix shared/,\
278282
$(SHARED_SRC_C_EXTRA) \
279283
)
280284

281-
ifneq ($(UNAME_S),Darwin)
282-
LIB_SRC_C += $(addprefix lib/,\
283-
lv_bindings/driver/linux/modfb.c \
284-
)
285-
endif
286-
287285
SRC_CXX += \
288286
$(SRC_MOD_CXX)
289287

0 commit comments

Comments
 (0)