All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] libxl: avoid golang building without CONFIG_GOLANG=y
@ 2020-08-03  8:06 Jan Beulich
  2020-08-04 14:16 ` Wei Liu
  0 siblings, 1 reply; 20+ messages in thread
From: Jan Beulich @ 2020-08-03  8:06 UTC (permalink / raw)
  To: xen-devel; +Cc: Anthony Perard, Ian Jackson, George Dunlap, Wei Liu

While this doesn't address the real problem I've run into (attempting to
update r/o source files), not recursing into tools/golang/xenlight/ is
enough to fix the build for me for the moment. I don't currently see why
60db5da62ac0 ("libxl: Generate golang bindings in libxl Makefile") found
it necessary to invoke this build step unconditionally.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
---
I'm also having trouble to see why, besides the idl-gen target in
tools/golang/xenlight/Makefile, the commit also adds such a target to
(and mentions it in [only] a comment in) tools/libxl/Makefile.

--- a/tools/libxl/Makefile
+++ b/tools/libxl/Makefile
@@ -282,7 +282,9 @@ _libxl_type%.h _libxl_type%_json.h _libx
 # about races with tools/golang/xenlight/Makefile:all
 .PHONY: idl-external
 idl-external:
+ifeq ($(CONFIG_GOLANG),y)
 	$(MAKE) -C $(XEN_ROOT)/tools/golang/xenlight idl-gen
+endif
 
 LIBXL_IDLGEN_FILES = _libxl_types.h _libxl_types_json.h _libxl_types_private.h _libxl_types.c \
 	_libxl_types_internal.h _libxl_types_internal_json.h _libxl_types_internal_private.h _libxl_types_internal.c


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2020-08-26 11:18 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-03  8:06 [PATCH] libxl: avoid golang building without CONFIG_GOLANG=y Jan Beulich
2020-08-04 14:16 ` Wei Liu
2020-08-04 15:22   ` Nick Rosbrook
2020-08-04 15:30     ` Jan Beulich
2020-08-04 15:50       ` Wei Liu
2020-08-04 15:53         ` Jan Beulich
2020-08-04 15:57           ` Wei Liu
2020-08-04 16:02             ` Jan Beulich
2020-08-04 16:41               ` Nick Rosbrook
2020-08-05  6:35                 ` Jan Beulich
2020-08-05  9:55                 ` Ian Jackson
2020-08-10 15:17                   ` George Dunlap
2020-08-24 13:11                 ` Jan Beulich
2020-08-24 14:58                   ` Nick Rosbrook
2020-08-25  6:47                     ` Jan Beulich
2020-08-25 10:37                       ` George Dunlap
2020-08-25 14:57                         ` Nick Rosbrook
2020-08-26  7:41                         ` Jan Beulich
2020-08-26 10:33                           ` George Dunlap
2020-08-26 11:17                             ` Jan Beulich

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.