From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33554) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cRG95-0001Zx-Gd for qemu-devel@nongnu.org; Wed, 11 Jan 2017 05:28:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cRG91-0003PH-Oj for qemu-devel@nongnu.org; Wed, 11 Jan 2017 05:28:43 -0500 Received: from mx1.redhat.com ([209.132.183.28]:34604) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cRG91-0003O9-Hx for qemu-devel@nongnu.org; Wed, 11 Jan 2017 05:28:39 -0500 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 78DF4C093569 for ; Wed, 11 Jan 2017 10:28:39 +0000 (UTC) Date: Wed, 11 Jan 2017 10:28:32 +0000 From: "Daniel P. Berrange" Message-ID: <20170111102832.GG12072@redhat.com> Reply-To: "Daniel P. Berrange" References: <20170106155543.12827-1-berrange@redhat.com> <20170106155543.12827-3-berrange@redhat.com> <20170110163713.GA19869@stefanha-x1.localdomain> <20170110165105.GR27720@redhat.com> <80b19297-00c4-f109-dd4f-9d2b41ee618c@redhat.com> <20170110183630.GA6628@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] [PATCH v2 02/47] trace: switch io/ directory to modular trace.h file List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: qemu-devel@nongnu.org, Stefan Hajnoczi On Tue, Jan 10, 2017 at 10:01:12PM +0100, Paolo Bonzini wrote: > > > On 10/01/2017 19:36, Daniel P. Berrange wrote: > > > > It seems you're saying we should also trim the top level dirs, so > > we in fact get: > > > > > > -I/home/berrange/src/virt/qemu/hw/scsi > > -Ihw/scsi > > -I/home/berrange/src/virt/qemu/tcg > > -I/home/berrange/src/virt/qemu/tcg/i386 > > -I/home/berrange/src/virt/qemu/linux-headers > > -I/home/berrange/src/virt/qemu-build/linux-headers > > -I/home/berrange/src/virt/qemu/include > > Yes, and ultimately tcg too. So the problem with dropping BUILD_DIR from the include path is that config-host.h is generated in that location. We'll have to move that into BIULD_DIR/include and add -I$(BUILDDIR)/include to search path instead. Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://entangle-photo.org -o- http://search.cpan.org/~danberr/ :|