Explorar o código

Makefile.autotools.in: default to same <pkg>_MAKE setting for host and target

Similar to how it is done for _SOURCE, _PATCH, _SITE and _SUBDIR.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard %!s(int64=14) %!d(string=hai) anos
pai
achega
ce1ae872aa
Modificáronse 1 ficheiros con 8 adicións e 1 borrados
  1. 8 1
      package/Makefile.autotools.in

+ 8 - 1
package/Makefile.autotools.in

@@ -57,9 +57,16 @@ ifndef $(2)_LIBTOOL_PATCH
  endif
 endif
 
+ifndef $(2)_MAKE
+ ifdef $(3)_MAKE
+  $(2)_MAKE = $($(3)_MAKE)
+ else
+  $(2)_MAKE ?= $(MAKE)
+ endif
+endif
+
 $(2)_CONF_ENV			?=
 $(2)_CONF_OPT			?=
-$(2)_MAKE			?= $(MAKE)
 $(2)_MAKE_ENV			?=
 $(2)_MAKE_OPT			?=
 $(2)_AUTORECONF			?= NO