From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Luis R. Rodriguez" Subject: [PATCH v6 01/13] xenstored: enable usage of config.h on both xenstored and oxenstored Date: Thu, 12 Jun 2014 18:18:39 -0700 Message-ID: <1402622331-4282-2-git-send-email-mcgrof@do-not-panic.com> References: <1402622331-4282-1-git-send-email-mcgrof@do-not-panic.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WvG91-00011r-EZ for xen-devel@lists.xenproject.org; Fri, 13 Jun 2014 01:19:03 +0000 Received: by mail-pd0-f176.google.com with SMTP id p10so1536252pdj.21 for ; Thu, 12 Jun 2014 18:19:00 -0700 (PDT) In-Reply-To: <1402622331-4282-1-git-send-email-mcgrof@do-not-panic.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xenproject.org Cc: "Luis R. Rodriguez" List-Id: xen-devel@lists.xenproject.org From: "Luis R. Rodriguez" This will be used later for dynamic configuration paths on C code. Acked-by: Ian Campbell Signed-off-by: Luis R. Rodriguez --- tools/ocaml/xenstored/Makefile | 2 ++ tools/xenstore/Makefile | 1 + 2 files changed, 3 insertions(+) diff --git a/tools/ocaml/xenstored/Makefile b/tools/ocaml/xenstored/Makefile index b18f190..7fa8f53 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 b626104..55ca7a3 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 -- 2.0.0.rc3.18.g00a5b79