Change make to $(MAKE), patch by Hideki IWAMOTO
authorGlenn L McGrath <bug1@ihug.co.nz>
Fri, 29 Aug 2003 13:25:55 +0000 (13:25 -0000)
committerGlenn L McGrath <bug1@ihug.co.nz>
Fri, 29 Aug 2003 13:25:55 +0000 (13:25 -0000)
Makefile

index bfa76010b1f3f2ce858b129e2a905f554ccd9683..b99bb4f18926d52fa6217c753c4ebaa722d0d4ca 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -148,7 +148,7 @@ include/config/MARKER: depend scripts/split-include
 
 include/config.h: .config
        @if [ ! -x ./scripts/config/conf ] ; then \
-           make -C scripts/config conf; \
+           $(MAKE) -C scripts/config conf; \
        fi;
        @./scripts/config/conf -o sysdeps/$(TARGET_OS)/Config.in
 
@@ -168,12 +168,12 @@ all: menuconfig
 # ---------------------------------------------------------------------------
 
 scripts/config/conf:
-       make -C scripts/config conf
+       $(MAKE) -C scripts/config conf
        -@if [ ! -f .config ] ; then \
                cp sysdeps/$(TARGET_OS)/defconfig .config; \
        fi
 scripts/config/mconf:
-       make -C scripts/config ncurses conf mconf
+       $(MAKE) -C scripts/config ncurses conf mconf
        -@if [ ! -f .config ] ; then \
                cp sysdeps/$(TARGET_OS)/defconfig .config; \
        fi