]> xenbits.xensource.com Git - people/jgross/xen.git/commitdiff
fix build with make 3.81
authorJuergen Gross <jgross@suse.com>
Tue, 1 Sep 2020 11:58:16 +0000 (13:58 +0200)
committerIan Jackson <ian.jackson@eu.citrix.com>
Fri, 4 Sep 2020 11:15:54 +0000 (12:15 +0100)
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@suse.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Ian Jackson <ian.jackson@eu.citrix.com>
stubdom/Makefile
tools/Rules.mk

index 4fd86dd44b10698fd6ad16370fc6b8e111c52a61..98eba8efe3bfd2f57fa94d2bdec7e0122b58ee41 100644 (file)
@@ -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))))
index 7e019a8a65fd152e9513a5155c6c38b754a7a4e8..385807a71cd9b975c0afb47a2045e468ff027d0c 100644 (file)
@@ -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)))