Skip to contentSkip to conversation

toolcore: Build in rumprun environment too

PATCH In review Ian Jackson 2 participants 2 messages Oct 16, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 toolcore: Build in rumprun environment too

Otherwise,
f942a9b4a12081d5f9a4679d06e88cb5d503396e
xentoolcore_restrict_all: "Implement" for xenstore
breaks the build of the tools inside rumprun.

toolcore is in libs, so we need to add the CONFIG_RUMP special case to tools/libs/Makefile and add toolcore there.

---
v2: toolcore is in libs

---
 tools/Makefile      | 2 +-
 tools/libs/Makefile | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)
tools/Makefile +1 -1
index 03d326a..84d6e3b 100644
@@ -49,7 +49,7 @@ SUBDIRS-$(OCAML_TOOLS) += ocaml
 endif
 
 ifeq ($(CONFIG_RUMP),y)
-SUBDIRS-y := libxc xenstore
+SUBDIRS-y := libs libxc xenstore
 endif
 
 # For the sake of linking, set the sys-root
tools/libs/Makefile +4 -0
index ea9a64d..88901e7 100644
@@ -10,4 +10,8 @@ SUBDIRS-y += call
 SUBDIRS-y += foreignmemory
 SUBDIRS-y += devicemodel
 
+ifeq ($(CONFIG_RUMP),y)
+SUBDIRS-y := toolcore
+endif
+
 all clean install distclean uninstall: %: subdirs-%
Signature · 7 lines
2.1.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Acked-by on v1 1/1
#1 lore raw
Quoted 9 lines · Ian Jackson

Otherwise,
f942a9b4a12081d5f9a4679d06e88cb5d503396e
xentoolcore_restrict_all: "Implement" for xenstore
breaks the build of the tools inside rumprun.

toolcore is in libs, so we need to add the CONFIG_RUMP special case to tools/libs/Makefile and add toolcore there.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel