File tree 1 file changed +2
-3
lines changed
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)
106
106
endif
107
107
108
108
ifeq ($(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 ) )
112
111
CFLAGS_MOD += -DCIRCUITPY_ULAB=1 -DMODULE_ULAB_ENABLED=1 -iquote $(TOP ) /extmod/ulab/code
113
112
$(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
114
113
endif
You can’t perform that action at this time.
0 commit comments