8000 esp8266/Makefile: replace references to make with $(MAKE) · DFRobot/micropython@1dd18c5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1dd18c5

Browse files
melakdpgeorge
authored andcommitted
esp8266/Makefile: replace references to make with $(MAKE)
make is not always GNU make; the latter may go by different names. This helps builds on systems where the default make is not GNU make.
1 parent 22cedef commit 1dd18c5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

esp8266/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ axtls: $(BUILD)/libaxtls.a
232232

233233
$(BUILD)/libaxtls.a:
234234
cd ../lib/axtls; cp config/upyconfig config/.config
235-
cd ../lib/axtls; make oldconfig -B
236-
cd ../lib/axtls; make clean
237-
cd ../lib/axtls; make all CC="$(CC)" LD="$(LD)" AR="$(AR)" CFLAGS_EXTRA="$(CFLAGS_XTENSA) -Dabort=abort_ -DRT_MAX_PLAIN_LENGTH=1024 -DRT_EXTRA=3072"
235+
cd ../lib/axtls; $(MAKE) oldconfig -B
236+
cd ../lib/axtls; $(MAKE) clean
237+
cd ../lib/axtls; $(MAKE) all CC="$(CC)" LD="$(LD)" AR="$(AR)" CFLAGS_EXTRA="$(CFLAGS_XTENSA) -Dabort=abort_ -DRT_MAX_PLAIN_LENGTH=1024 -DRT_EXTRA=3072"
238238
cp ../lib/axtls/_stage/libaxtls.a $@

0 commit comments

Comments
 (0)
0