autoconf: xen: move standard path variables to config/Paths.mk.in
authorLuis R. Rodriguez <mcgrof@suse.com>
Sat, 26 Jul 2014 02:14:17 +0000 (19:14 -0700)
committerIan Campbell <ian.campbell@citrix.com>
Mon, 28 Jul 2014 12:44:18 +0000 (13:44 +0100)
commit54f28913a2b391f15b81e505ebc36c2b42359a6d
tree5e97626ebd52c5751a0659b1c6b58e4d750b84ed
parent1846031d472f85b44d873bce76c6ceca9649efbd
autoconf: xen: move standard path variables to config/Paths.mk.in

This moves all generic path variables to a new the config/Paths.mk.in
input source file to be processed at configure time, tons of files use
these so this just share them. This also paves the way to let us
easily dynamically configure these with autoconf, for now we leave the
same presets as was present before.

This work was prompted by looking for an autoconf way to do
replacements for the hotplug global file, while at it I realized
that a few other files use the same variables and have in places
around the tree the same constructs for generating their own
files. This makes use of the old buildmakevars2file() but generalizes
the definition of the paths at configure time and spreads the
new definitions out throughout the build system.

This has no impact on building the hypervisor and extras/mini-os,
you do not need to, and are not expected to, run configure to build
those targets.

While at it lets add some documentation on the for the two files on
the source file, we can expand further details on the wiki [0].

[0] http://wiki.xen.org/wiki/Category:Host_Configuration#System_wide_xen_configuration

Cc: Ian Campbell <ian.campbell@citrix.com>
Cc: Ian Jackson <ian.jackson@eu.citrix.com>
Cc: Samuel Thibault <samuel.thibault@ens-lyon.org>
Cc: Jan Beulich <jbeulich@suse.com>
Cc: Keir Fraser <keir@xen.org>
Cc: Tim Deegan <tim@xen.org>
Signed-off-by: Luis R. Rodriguez <mcgrof@suse.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
[ ijc -- reran autogen.sh ]
.gitignore
config/Paths.mk.in [new file with mode: 0644]
config/Stubdom.mk.in
configure
configure.ac
m4/paths.m4 [new file with mode: 0644]
tools/Rules.mk