mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
17 lines
387 B
Makefile
17 lines
387 B
Makefile
INCLUDES += -I$(PKGDIRBASE)/u8g2/csrc
|
|
INCLUDES += -I$(RIOTBASE)/pkg/u8g2/contrib
|
|
|
|
DIRS += $(RIOTBASE)/pkg/u8g2/contrib
|
|
|
|
# The RIOT-OS interface needs this to store peripheral information.
|
|
ifneq (native, $(CPU))
|
|
CFLAGS += -DU8X8_WITH_USER_PTR
|
|
endif
|
|
|
|
# Link SDL if enabled.
|
|
ifneq (,$(filter u8g2_sdl,$(USEMODULE)))
|
|
LINKFLAGS += $(shell sdl2-config --libs)
|
|
endif
|
|
|
|
PSEUDOMODULES += u8g2
|