From: Ian Jackson Subject: Re: [PATCH RFC 0/5] Split off mini-os to a separate tree Date: Tue, 27 Jan 2015 15:27:00 +0000 Message-ID: <21703.44612.119898.402999@mariner.uk.xensource.com> References: <1422209626-9926-1-git-send-email-wei.liu2@citrix.com> <20150125182511.GA24026@zion.uk.xensource.com> <21703.42318.156210.910923@mariner.uk.xensource.com> <1422371291.25294.42.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1422371291.25294.42.camel@citrix.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: Ian Campbell Cc: Thomas Leonard , Wei Liu , Stefano Stabellini , Anil Madhavapeddy , xen-devel@lists.xen.org, pooka@iki.fi, quan.xu@intel.com, Samuel Thibault , dgdegra@tycho.nsa.gov List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("Re: [PATCH RFC 0/5] Split off mini-os to a separate tree"): > On Tue, 2015-01-27 at 14:48 +0000, Ian Jackson wrote: > > libdft is its own project. I have no idea why we have a copy of it in > > xen.git. I think this is wrong. > > This is for use by (i.e. linking into) the Xen kernel, not the tools > etc. It's common to embed libfdt in this way for kernel uses, since we > can't really use link against libfdt.so (or even .a) like you would > normally. That doesn't explain why we don't clone a copy of the upstream tree during build, like we do for other projects we depend on (rather than copying the whole thing into our own tree). I think that the former is what Mini-OS consumers should be expected to do (perhaps with some help from the Mini-OS build system). Ian.