Skip to content

Commit f211a09

Browse files
committed
py.mk: Assume we want all C source files in ulab
1 parent 1cc281b commit f211a09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

py/py.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ $(BUILD)/extmod/modbtree.o: CFLAGS += $(BTREE_DEFS)
106106
endif
107107

108108
ifeq ($(CIRCUITPY_ULAB),1)
109-
SRC_MOD += $(wildcard extmod/ulab/code/*.c)
109+
SRC_MOD += $(patsubst $(TOP)/%,%,$(wildcard $(TOP)/extmod/ulab/code/*.c))
110110
CFLAGS_MOD += -DCIRCUITPY_ULAB=1 -DMODULE_ULAB_ENABLED=1
111111
$(BUILD)/extmod/ulab/code/%.o: CFLAGS += -Wno-float-equal -Wno-sign-compare -DCIRCUITPY
112112
endif

0 commit comments

Comments
 (0)