From: "Jan Beulich" Subject: Re: [PATCH] xen: Install unstripped version -syms version into /usr/lib/debug Date: Fri, 26 Jun 2015 11:05:26 +0100 Message-ID: <558D4006020000780008A260@mail.emea.novell.com> References: <1435311688-7525-1-git-send-email-ian.campbell@citrix.com> <558D1FE4.9040209@citrix.com> <1435312551.32500.157.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1435312551.32500.157.camel@citrix.com> Content-Disposition: inline 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: Andrew Cooper , tim@xen.org, keir@xen.org, ian.jackson@eu.citrix.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org >>> On 26.06.15 at 11:55, wrote: > On Fri, 2015-06-26 at 10:48 +0100, Andrew Cooper wrote: >> > +BOOT_DIR defaults to /boot, DERBUG_DIR defaults to /usr/lib/debugt and >> >> DERBUG and /debugt > > Gah! > >> > +EFI_DIR to /usr/lib64/efi. >> > BOOT_DIR= >> > +DEBUG_DIR= >> > EFI_DIR= >> > >> > The make target 'rpmball' will build a xen.rpm. This variable can be >> > diff --git a/config/StdGNU.mk b/config/StdGNU.mk >> > index f47c238..39d36b2 100644 >> > --- a/config/StdGNU.mk >> > +++ b/config/StdGNU.mk >> > @@ -27,6 +27,7 @@ INSTALL_DATA = $(INSTALL) -m0644 -p >> > INSTALL_PROG = $(INSTALL) -m0755 -p >> > >> > BOOT_DIR ?= /boot >> > +DEBUG_DIR ?= /usr/lib/debug >> >> While I hate to day it, this probably needs /local/ handling for >> non-system builds, and this sounds autoconf'y. How stable is the path >> across different systems? > > This is used in xen/Makefile so autoconf is off the cards. So far we > already have BOOT_DIR and EFI_DIR which are special in this way. IMHO > adding DEBUG_DIR is fine. I don't think we will need this for tools/* > since what should happen there is we install the unstripped things (if > asked to do so) as usual and then the rpm/deb packaging tools will take > care of creating the detached debug info if they care. Normal users will > just get the stripped or unstripped versions install depending on what > they asked for. +1 With the typos fixed Acked-by: Jan Beulich Jan