From: Ian Campbell Subject: Re: [PATCH] tools/libxl: testenum.c depends on libxl.h Date: Mon, 4 Jul 2011 14:27:25 +0100 Message-ID: <1309786045.634.76.camel@zakaz.uk.xensource.com> References: <20110704131823.GA8215@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20110704131823.GA8215@aepfle.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Olaf Hering Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On Mon, 2011-07-04 at 14:18 +0100, Olaf Hering wrote: > testenum.c may fail to compile if libxl.h dependencies are not yet met. Ah yes, because the automated .*.d dependency tracking hasn't kicked in on a fresh build yet. [...] > Signed-off-by: Olaf Hering Acked-by: Ian Campbell > > Index: xen-unstable.hg-4.2.23655/tools/libxl/Makefile > =================================================================== > --- xen-unstable.hg-4.2.23655.orig/tools/libxl/Makefile > +++ xen-unstable.hg-4.2.23655/tools/libxl/Makefile > @@ -52,7 +52,7 @@ $(XL_OBJS): CFLAGS += $(CFLAGS_libxenctr > $(XL_OBJS): CFLAGS += $(CFLAGS_libxenlight) > > testenum.o: CFLAGS += $(CFLAGS_libxenctrl) $(CFLAGS_libxenlight) > -testenum.c: libxl.idl gentest.py > +testenum.c: libxl.idl gentest.py libxl.h > $(PYTHON) gentest.py libxl.idl testenum.c.new > mv testenum.c.new testenum.c > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel