diff options
author | Tamas TEVESZ <ice@extreme.hu> | 2017-06-07 17:51:01 +0200 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-06-08 13:42:23 +1000 |
commit | d80c951f719ee342da1a7ba5ff63b134b46ff1f2 (patch) | |
tree | 6594fef684cf39962fe92cab2dd0be1b44aa843d | |
parent | 1dd18c5260141f68cee5b071345585721a152dd8 (diff) | |
download | micropython-d80c951f719ee342da1a7ba5ff63b134b46ff1f2.tar.gz micropython-d80c951f719ee342da1a7ba5ff63b134b46ff1f2.zip |
unix/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.
-rw-r--r-- | unix/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/unix/Makefile b/unix/Makefile index 006bce0ef2..be324dd3dd 100644 --- a/unix/Makefile +++ b/unix/Makefile @@ -278,15 +278,15 @@ libffi: cd ../lib/libffi; ./autogen.sh mkdir -p ../lib/libffi/build_dir; cd ../lib/libffi/build_dir; \ ../configure $(CROSS_COMPILE_HOST) --prefix=$$PWD/out --disable-structs CC="$(CC)" CXX="$(CXX)" LD="$(LD)" CFLAGS="-Os -fomit-frame-pointer -fstrict-aliasing -ffast-math -fno-exceptions"; \ - make install-exec-recursive; make -C include install-data-am + $(MAKE) install-exec-recursive; $(MAKE) -C include install-data-am axtls: $(BUILD)/libaxtls.a $(BUILD)/libaxtls.a: ../lib/axtls/README | $(OBJ_DIRS) cd ../lib/axtls; cp config/upyconfig config/.config - cd ../lib/axtls; make oldconfig -B - cd ../lib/axtls; make clean - cd ../lib/axtls; make all CC="$(CC)" LD="$(LD)" + cd ../lib/axtls; $(MAKE) oldconfig -B + cd ../lib/axtls; $(MAKE) clean + cd ../lib/axtls; $(MAKE) all CC="$(CC)" LD="$(LD)" cp ../lib/axtls/_stage/libaxtls.a $@ ../lib/axtls/README: |