From: Luis R. Rodriguez Date: Thu, 17 Jul 2014 23:28:12 +0000 (-0700) Subject: xenstored: enable usage of config.h on both xenstored and oxenstored X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~4599 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=d4b137f4096ababce92a453f2ff6e6e98c7107c6;p=xen.git xenstored: enable usage of config.h on both xenstored and oxenstored This will be used later for dynamic configuration paths on C code. Acked-by: Ian Campbell Signed-off-by: Luis R. Rodriguez --- diff --git a/tools/ocaml/xenstored/Makefile b/tools/ocaml/xenstored/Makefile index b18f190c98..7fa8f5334f 100644 --- a/tools/ocaml/xenstored/Makefile +++ b/tools/ocaml/xenstored/Makefile @@ -2,6 +2,8 @@ XEN_ROOT = $(CURDIR)/../../.. OCAML_TOPLEVEL = $(CURDIR)/.. include $(OCAML_TOPLEVEL)/common.make +CFLAGS += -I$(XEN_ROOT)/tools/ + OCAMLINCLUDE += \ -I $(OCAML_TOPLEVEL)/libs/xb \ -I $(OCAML_TOPLEVEL)/libs/mmap \ diff --git a/tools/xenstore/Makefile b/tools/xenstore/Makefile index 48b4e3dc87..08460c87a6 100644 --- a/tools/xenstore/Makefile +++ b/tools/xenstore/Makefile @@ -6,6 +6,7 @@ MINOR = 3 CFLAGS += -Werror CFLAGS += -I. +CFLAGS += -I$(XEN_ROOT)/tools/ CFLAGS += $(CFLAGS_libxenctrl) CLIENTS := xenstore-exists xenstore-list xenstore-read xenstore-rm xenstore-chmod