circuitpython/ports/nrf/boards/microbit/modules/boardmodules.mk
Glenn Ruben Bakke 9e090a8783 nrf/boards/microbit: Add framework updates to build micro:bit modules.
Makefile and mpconfigport.h update is generic, and could be used by other
boards to give extra modules which are only for a selected board.
2018-07-18 17:12:25 +10:00

17 lines
504 B
Makefile

BOARD_MICROBIT_DIR = boards/microbit/modules
INC += -I./$(BOARD_MICROBIT_DIR)
CFLAGS += -DBOARD_SPECIFIC_MODULES
SRC_BOARD_MODULES = $(addprefix $(BOARD_MICROBIT_DIR)/,\
microbitdisplay.c \
microbitimage.c \
iters.c \
microbitconstimage.c \
microbitconstimagetuples.c \
modmicrobit.c \
)
OBJ += $(addprefix $(BUILD)/, $(SRC_BOARD_MODULES:.c=.o))