8000 emscripten: fix native builds · matthewelse/micropython@4b1e550 · GitHub
[go: up one dir, main page]

8000 Skip to content

Commit 4b1e550

Browse files
committed
emscripten: fix native builds
1 parent 93819c7 commit 4b1e550

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

py/py.mk

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,18 @@ endif
101101
# py object files
102102
PY_O_BASENAME = \
103103
mpstate.o \
104-
nlrsetjmp.o \
104+
105+
# these object files can only be built if we're not using emscripten, since
106+
# the input files necessary to build them are ASM files.
107+
ifneq ($(EMSCRIPTEN), 1)
108+
PY_O_BASENAME += nlrx86.o \
109+
nlrx64.o \
110+
nlrthumb.o \
111+
nlrxtensa.o \
112+
113+
endif
114+
115+
PY_O_BASENAME += nlrsetjmp.o \
105116
malloc.o \
106117
gc.o \
107118
qstr.o \

0 commit comments

Comments
 (0)
0