py.mk: Assume we want all C source files in ulab

This commit is contained in:
Jeff Epler 2020-06-01 08:26:23 -05:00
parent 1cc281b6a4
commit f211a090e2
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ $(BUILD)/extmod/modbtree.o: CFLAGS += $(BTREE_DEFS)
endif
ifeq ($(CIRCUITPY_ULAB),1)
SRC_MOD += $(wildcard extmod/ulab/code/*.c)
SRC_MOD += $(patsubst $(TOP)/%,%,$(wildcard $(TOP)/extmod/ulab/code/*.c))
CFLAGS_MOD += -DCIRCUITPY_ULAB=1 -DMODULE_ULAB_ENABLED=1
$(BUILD)/extmod/ulab/code/%.o: CFLAGS += -Wno-float-equal -Wno-sign-compare -DCIRCUITPY
endif