]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/xen.git/commit
tools: consolidate Makefile runes to building+installing qemu-trad
authorIan Campbell <ian.campbell@citrix.com>
Wed, 3 Feb 2016 16:10:48 +0000 (16:10 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 4 Feb 2016 15:20:35 +0000 (15:20 +0000)
commita16f286fea90c8461650fd16348577c5b6bfbb2b
tree81f310e589d89707bb19495b258bf58853832524
parentbc8baa9673f54907a73d9bc9930f5d8301b16119
tools: consolidate Makefile runes to building+installing qemu-trad

Currently both subdir-all-qemu-traditional-dir and subdir-install-...
recurse into qemu-traditional-dir and run xen-setup, but with subtly
different options (--extra-cflags was only passed for install).

Consolidate these by having the install target depend on the all
(build) target and only calling make install.

There is a subtlty which is that qemu-trad's build is not completely
isolated from xen.git and requires some environment variables etc. To
handle this refactor the setup code into a make macro and $(call) it
in both cases.

Note that this doesn't actually omit a potential double call to
configure, since all is still called during install, this is the same
for qemu-xen. Note that it doesn't result in a double build in either
case, since apparently the qemu configure is idempotent.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/Makefile