A recursive make is inovked if in-source build is used but $(MAKE) is the same as the one used in the original make invocaton.
Some platforms have preference to use gmake, or a make passed as an option to "configure". Honor the choice. Signed-off-by: Roman Bolshakov <r.bolsha...@yadro.com> --- configure | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure b/configure index 4e5fe33211..9e0d505067 100755 --- a/configure +++ b/configure @@ -38,6 +38,8 @@ then # This file is auto-generated by configure to support in-source tree # 'make' command invocation +include build/config-host.mak + ifeq ($(MAKECMDGOALS),) recurse: all endif -- 2.28.0