]> xenbits.xensource.com Git - xen.git/commitdiff
toolcore: Build in rumprun environment too
authorIan Jackson <ian.jackson@eu.citrix.com>
Mon, 16 Oct 2017 10:05:11 +0000 (11:05 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Mon, 16 Oct 2017 11:26:06 +0000 (12:26 +0100)
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.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/Makefile
tools/libs/Makefile

index 03d326a02c42942b47fec93aa18e6e7fdd7c1084..84d6e3b4e4e99b6bd000720b3899b7ec60246532 100644 (file)
@@ -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
index ea9a64d5576e3b0a7ec6c536ede512a12ec58e46..88901e73418a9b946cba653965c09e0ced44343e 100644 (file)
@@ -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-%