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

Re: [PATCH] tools: don't use = after "define" in Rules.mk



On 01.09.20 12:27, Jan Beulich wrote:
The assignment operator is optional, and use of it breaks with make 3.81.

Fixes: ded08cdfa72b ("tools: generate most contents of library make variables")
Suggested-by: Juergen Gross <jgross@xxxxxxxx>
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>

--- a/tools/Rules.mk
+++ b/tools/Rules.mk
@@ -94,7 +94,7 @@ INSTALL_DIR_ROOT = [ $$UID -ne 0 ] || $(
  # 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)))


I'd suggest to fix stubdom/Makefile, too (that was introduced with
commit ddb2934a914df). I have a patch doing both fixes lying here. Do
you want me to send it instead, or fix it yourself?


Juergen



 


Rackspace

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