]> xenbits.xensource.com Git - people/sstabellini/xen-unstable.git/.git/commitdiff
Makefile: Add build-tools-oxenstored
authorEdwin Török <edvin.torok@citrix.com>
Fri, 8 Jan 2021 11:57:37 +0000 (11:57 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 22 Jan 2021 14:39:48 +0000 (14:39 +0000)
As a convenience so that oxenstored patches can be compile-tested
using upstream's build-system before submitting upstream.

Signed-off-by: Edwin Török <edvin.torok@citrix.com>
Acked-by: Wei Liu <wl@xen.org>
Makefile
tools/ocaml/Makefile

index 9ad2602f63f0fefd54b81408efcb07a7bc6efe5a..96d32cfd508b84739cb256b432663c36d870f0f4 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -62,6 +62,12 @@ build-xen:
 build-tools: build-tools-public-headers
        $(MAKE) -C tools build
 
+.PHONY: build-tools-oxenstored
+build-tools-oxenstored: build-tools-public-headers
+       $(MAKE) -s -C tools/ocaml clean
+       $(MAKE) -s -C tools/libs
+       $(MAKE) -C tools/ocaml build-tools-oxenstored
+
 .PHONY: build-stubdom
 build-stubdom: mini-os-dir build-tools-public-headers
        $(MAKE) -C stubdom build
index 66f2d6b1310fcf2e1b051a884ffb396fffe73e1a..a7c04b65462a3b86925c33fc5f71dd7143e4beed 100644 (file)
@@ -26,3 +26,11 @@ clean: subdirs-clean
 
 .PHONY: distclean
 distclean: subdirs-distclean
+
+.PHONY: build-tools-oxenstored
+build-tools-oxenstored:
+       $(MAKE) -s -C libs/eventchn
+       $(MAKE) -s -C libs/mmap
+       $(MAKE) -s -C libs/xb
+       $(MAKE) -s -C libs/xc
+       $(MAKE) -C xenstored