[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[xen master] fix build with make 3.81



commit fc4b1cbd8d8d22c80dd8f2fc744287ab7c89c912
Author:     Juergen Gross <jgross@xxxxxxxx>
AuthorDate: Tue Sep 1 13:58:16 2020 +0200
Commit:     Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
CommitDate: Fri Sep 4 12:15:54 2020 +0100

    fix build with make 3.81
    
    make 3.81 doesn't support multiline variables defined with
    
     define var =
     ...
     endef
    
    Dropping the "=" in the first line will fix the issue.
    
    Fixes: ded08cdfa72bb ("tools: generate most contents of library make 
variables")
    Fixes: ddb2934a914df ("stubdom: add correct dependencies for Xen libraries")
    Reported-by: Jan Beulich <jbeulich@xxxxxxxx>
    Signed-off-by: Juergen Gross <jgross@xxxxxxxx>
    Reviewed-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
 stubdom/Makefile | 2 +-
 tools/Rules.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/stubdom/Makefile b/stubdom/Makefile
index 4fd86dd44b..98eba8efe3 100644
--- a/stubdom/Makefile
+++ b/stubdom/Makefile
@@ -25,7 +25,7 @@ endif
 
 include $(XEN_ROOT)/tools/libs/uselibs.mk
 
-define LIB_deps =
+define LIB_deps
  LIBDEPS_$(1) = $$(foreach use,$$(USELIBS_$(1)),libxen$$(use))
 endef
 $(foreach lib,$(LIBS_LIBS),$(eval $(call LIB_deps,$(lib))))
diff --git a/tools/Rules.mk b/tools/Rules.mk
index 7e019a8a65..385807a71c 100644
--- a/tools/Rules.mk
+++ b/tools/Rules.mk
@@ -94,7 +94,7 @@ endif
 # Consumers of libfoo should not directly use $(SHDEPS_libfoo) or
 # $(SHLIB_libfoo)
 
-define LIB_defs =
+define LIB_defs
  XEN_libxen$(1) = $$(XEN_ROOT)/tools/libs/$(1)
  CFLAGS_libxen$(1) = -I$$(XEN_libxen$(1))/include $$(CFLAGS_xeninclude)
  SHDEPS_libxen$(1) = $$(foreach use,$$(USELIBS_$(1)),$$(SHLIB_libxen$$(use)))
--
generated by git-patchbot for /home/xen/git/xen.git#master



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.