|
From: | Eric Blake |
Subject: | Re: [PATCH 1/4] configure: Use discovered make for in-source build |
Date: | Mon, 24 Aug 2020 09:37:07 -0500 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 |
On 8/22/20 4:21 PM, Roman Bolshakov wrote:
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.bolshakov@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
Should this use '-include' (also spelled 'sinclude'), to avoid halting the build if build/config-host.mak doesn't exist for whatever reason?
+ ifeq ($(MAKECMDGOALS),) recurse: all endif
-- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3226 Virtualization: qemu.org | libvirt.org
[Prev in Thread] | Current Thread | [Next in Thread] |