summaryrefslogtreecommitdiffstatshomepage
path: root/examples/natmod/framebuf/Makefile
blob: cb821736e70dc2eb81b267596a99f3788fe14bef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Location of top-level MicroPython directory
MPY_DIR = ../../..

# Name of module (different to built-in framebuf so it can coexist)
MOD = framebuf_$(ARCH)

# Source files (.c or .py)
SRC = framebuf.c

# Architecture to build for (x86, x64, armv7m, xtensa, xtensawin)
ARCH ?= x64

ifeq ($(ARCH),xtensa)
MPY_EXTERN_SYM_FILE=$(MPY_DIR)/ports/esp8266/boards/eagle.rom.addr.v6.ld
endif

include $(MPY_DIR)/py/dynruntime.mk