File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -106,9 +106,8 @@ $(BUILD)/extmod/modbtree.o: CFLAGS += $(BTREE_DEFS)
106106endif
107107
108108ifeq ($(CIRCUITPY_ULAB ) ,1)
109- SRC_MOD += $(patsubst $(TOP ) /% ,% ,$(wildcard $(TOP ) /extmod/ulab/code/* .c) )
110- SRC_MOD += $(patsubst $(TOP ) /% ,% ,$(wildcard $(TOP ) /extmod/ulab/code/* /* .c) )
111- SRC_MOD += $(patsubst $(TOP ) /% ,% ,$(wildcard $(TOP ) /extmod/ulab/code/* /* /* .c) )
109+ ULAB_SRCS := $(shell find $(TOP ) /extmod/ulab/code -type f -name "* .c")
110+ SRC_MOD += $(patsubst $(TOP ) /% ,% ,$(ULAB_SRCS ) )
112111CFLAGS_MOD += -DCIRCUITPY_ULAB=1 -DMODULE_ULAB_ENABLED=1 -iquote $(TOP ) /extmod/ulab/code
113112$(BUILD ) /extmod/ulab/code/% .o : CFLAGS += -Wno-missing-declarations -Wno-missing-prototypes -Wno-unused-parameter -Wno-float-equal -Wno-sign-compare -Wno-cast-align -Wno-shadow -DCIRCUITPY
114113endif
You can’t perform that action at this time.
0 commit comments