[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 02/13] Config.mk: replace dependency to genpath with actual target

On Thu, 2014-09-18 at 10:09 +0200, Olaf Hering wrote:
> On Wed, Sep 17, Ian Campbell wrote:
> > On Wed, 2014-09-17 at 12:02 +0200, Olaf Hering wrote:
> > > A question related to the change below:
> > > 
> > > How are the make variables supposed to be changed? Right now this can be
> > > done either with rerunning configure (untested by me) and by calling
> > > something like 'make SBINDIR=/x/y XEN_RUN_DIR=/a/b' (used as testcase).
> > > 
> > > I think we should arrange the code such that a new configure run is
> > > required to change their value.
> > 
> > I think we've been moving (and should be moving) in the direction of
> > configuring these things via configure, so that would be ok by me. (I'm
> > assuming these don't affect the hypervisor build/install, which isn't
> > configure driven)
> Unfortunately, m4/paths.m4 shows that configure will change just prefix
> and libdir. Other parts of config/Paths.mk.in are kind of hardcoded.
> I will see how to implement a knob for at least CONFIG_DIR and INITD_DIR.

I think there is an existing autoconf name for CONFIG_DIR (sysconfdir?)
which I suppose we aren't properly using.

Not sure how INITD_DIR is dealt with in autofoo world, I suppose the
default is $sysconfdir/init.d? Does it ever get set to anything else?


Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.