diff options
| -rw-r--r-- | examples/natmod/random/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/natmod/random/Makefile b/examples/natmod/random/Makefile index 8abdb66dc..5d23eac1e 100644 --- a/examples/natmod/random/Makefile +++ b/examples/natmod/random/Makefile @@ -8,6 +8,10 @@ MOD = random_$(ARCH) SRC = random.c # Architecture to build for (x86, x64, armv7m, xtensa, xtensawin, rv32imc) -ARCH = x64 +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 |
