Use $(MAKE) for recursive make
PATCH 1/1 Use $(MAKE) for recursive make
On BSDs "make" is typically BSD make, while "gmake" is GNU make.
Signed-off-by Ed Maste <[email protected]>
--- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Makefile +2 -2
@@ -331,8 +331,8 @@ distclean: clean rm -rf $$d || exit 1 ; \ done rm -Rf .sdk - if test -f pixman/config.log; then make -C pixman distclean; fi - if test -f dtc/version_gen.h; then make $(DTC_MAKE_ARGS) clean; fi + if test -f pixman/config.log; then $(MAKE) -C pixman distclean; fi + if test -f dtc/version_gen.h; then $(MAKE) $(DTC_MAKE_ARGS) clean; fi KEYMAPS=da en-gb et fr fr-ch is lt modifiers no pt-br sv \ ar de en-us fi fr-be hr it lv nl pl ru th \
Signature · 1 line
2.2.2
Am 01.04.2015 um 19:58 schrieb Ed Maste:
Quoted 12 lines
On BSDs "make" is typically BSD make, while "gmake" is GNU make.
Signed-off-by Ed Maste <[email protected]>--- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)Makefile +0
-0
Makefile distclean: clean · line 338
Quoted 10 lines
Makefile +2
-2@@ -331,8 +331,8 @@ distclean: clean rm -rf $$d || exit 1 ; \ done rm -Rf .sdk - if test -f pixman/config.log; then make -C pixman distclean; fi - if test -f dtc/version_gen.h; then make $(DTC_MAKE_ARGS) clean; fi + if test -f pixman/config.log; then $(MAKE) -C pixman distclean; fi + if test -f dtc/version_gen.h; then $(MAKE) $(DTC_MAKE_ARGS) clean; fi KEYMAPS=da en-gb et fr fr-ch is lt modifiers no pt-br sv \ ar de en-us fi fr-be hr it lv nl pl ru th \
Reviewed-by Stefan Weil <[email protected]>
Fam Zheng
Reviewed-byQuoted 8 lines · Stefan Weil
Am 01.04.2015 um 19:58 schrieb Ed Maste:
Quoted 7 lines
On BSDs "make" is typically BSD make, while "gmake" is GNU make.
Signed-off-by Ed Maste <[email protected]>--- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Quoted 18 lines
Quoted 5 lines
Makefile +0
-0Makefile distclean: clean · line 337
Quoted 9 lines
Makefile +2
-2@@ -331,8 +331,8 @@ distclean: clean rm -rf $$d || exit 1 ; \ done rm -Rf .sdk - if test -f pixman/config.log; then make -C pixman distclean; fi - if test -f dtc/version_gen.h; then make $(DTC_MAKE_ARGS) clean; fi + if test -f pixman/config.log; then $(MAKE) -C pixman distclean; fi + if test -f dtc/version_gen.h; then $(MAKE) $(DTC_MAKE_ARGS) clean; fi KEYMAPS=da en-gb et fr fr-ch is lt modifiers no pt-br sv \ ar de en-us fi fr-be hr it lv nl pl ru th \Reviewed-by Stefan Weil <[email protected]>
One more occasion below:
$(INSTALLER): $(SRC_PATH)/qemu.nsi
make install prefix=${INSTDIR}But this is already helpful:
Reviewed-by Fam Zheng <[email protected]>
Quoted 6 lines · Ed Maste
On BSDs "make" is typically BSD make, while "gmake" is GNU make.
Signed-off-by Ed Maste <[email protected]>--- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Same on Solaris, if I remember correctly.
Reviewed-by Stefan Hajnoczi <[email protected]>
Paolo Bonzini
AppliedQuoted 13 lines · Ed Maste
On BSDs "make" is typically BSD make, while "gmake" is GNU make.
Signed-off-by Ed Maste <[email protected]>--- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)Makefile +0
-0
Makefile distclean: clean · line 338
Quoted 10 lines
Makefile +2
-2@@ -331,8 +331,8 @@ distclean: clean rm -rf $$d || exit 1 ; \ done rm -Rf .sdk - if test -f pixman/config.log; then make -C pixman distclean; fi - if test -f dtc/version_gen.h; then make $(DTC_MAKE_ARGS) clean; fi + if test -f pixman/config.log; then $(MAKE) -C pixman distclean; fi + if test -f dtc/version_gen.h; then $(MAKE) $(DTC_MAKE_ARGS) clean; fi KEYMAPS=da en-gb et fr fr-ch is lt modifiers no pt-br sv \ ar de en-us fi fr-be hr it lv nl pl ru th \
Applied, thanks.
Paolo