From: Ian Campbell Subject: Re: [PATCH V5 01/15] move x86 EFI boot/runtime code to common/efi Date: Mon, 22 Sep 2014 11:51:11 +0100 Message-ID: <1411383071.18331.21.camel@kazak.uk.xensource.com> References: <1411080607-32365-1-git-send-email-roy.franz@linaro.org> <1411080607-32365-2-git-send-email-roy.franz@linaro.org> <541C0A460200007800036748@mail.emea.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <541C0A460200007800036748@mail.emea.novell.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: Jan Beulich Cc: keir@xen.org, tim@xen.org, xen-devel@lists.xen.org, Roy Franz , stefano.stabellini@citrix.com, fu.wei@linaro.org List-Id: xen-devel@lists.xenproject.org On Fri, 2014-09-19 at 09:49 +0100, Jan Beulich wrote: > >>> On 19.09.14 at 00:49, wrote: > > --- a/xen/Makefile > > +++ b/xen/Makefile > > @@ -100,6 +100,7 @@ $(TARGET): delete-unfresh-files > > $(MAKE) -C tools > > $(MAKE) -f $(BASEDIR)/Rules.mk include/xen/compile.h > > [ -e include/asm ] || ln -sf asm-$(TARGET_ARCH) include/asm > > + [ -e arch/$(TARGET_ARCH)/efi ] && ln -sf $(BASEDIR)/common/efi/* arch/$(TARGET_ARCH)/efi/ > > I guess this would better be > > ln -sf ../../../common/efi/* arch/$(TARGET_ARCH)/efi/ > > - there's no reason to prevent the tree from being moved. > > Also I hope the recurring link creation upon incremental rebuilds > isn't going to cause any kind of problems. FWIW my finger macros usually use ln -nfs to avoid issues of this type of thing, although maybe that's only for directory targets, since the -n stops it creating ever deeper links within the original target. Ian.