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.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

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


Reply via email to