Commit Graph
154 Commits
Author SHA1 Message Date
Keir Fraser 689db5e9fb Avoid parallel invocation of git for ioemu-remote.
The stubdom and tools directories both run `make ioemu-dir-find' in
tools.  In a parallel build, both these invocations can run
concurrently because we're doing recursive make.

This change fixes this problem by adding a suitable dependencies in
the top-level Makefile for the recursion into tools/ and stubdom/,
ensuring that the git fetch happens once, first.

The bug was introduced in 18472/18474.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
2008-09-15 17:10:43 +01:00
Keir Fraser 006e7188d4 pv-grub: On x86_64, also build an x86_32 pv-grub
This requires suffixing obj directories and having grub compiled
outside sources.

Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
2008-08-14 13:46:48 +01:00
Keir Fraser 10f71cbcc9 Fix make help for stubdom
This patch fixes "make help".
"make stubdomain" does not work.

Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
2008-08-04 16:44:14 +01:00
Keir Fraser 533a2a2773 stubdom: enable compilation/installation by default
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
2008-07-14 15:21:03 +01:00
Keir Fraser 4c4e9db61c stubdom: Add root Makefile targets, disabled by default for now
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
2008-07-09 14:21:42 +01:00
Keir Fraser b011be94ba Update tboot tarfile to latest version in Trusted Boot SourceForge site
Signed-off-by:  Joseph Cihula <joseph.cihula@intel.com>
2008-07-03 10:57:51 +01:00
Keir Fraser 84d54d5d8b i386: Remove non-PAE hypervisor build target.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
2008-05-08 14:32:11 +01:00
Keir Fraser cc6d494337 src-tarball: Remove source control metadata.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
2008-04-21 20:21:39 +01:00
Keir Fraser 103cff93e2 Cache figlet output across builds, and provide src-tarball target
which creates figlet output and then deletes figlet itself (which is
not licensed under GPL).

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
2008-04-21 20:08:29 +01:00
Keir Fraser 22d4eec911 Changeset 16771 introduced a new file called tools/check/funcs.sh. This
file needs to be installed into distdir together with the check scripts.

Signed-off-by: Frank Arnold <frank.arnold@amd.com>
2008-01-26 10:16:21 +00:00
Keir Fraser c8107e1564 Apply PREFIX directly to LIBDIR.
Signed-off-by: Bastian Blank <waldi@debian.org>
2008-01-22 14:29:11 +00:00
Keir Fraser c47191085f tboot, xen: Update for Trusted Boot v20071128.
This patch updates the Xen to work with the latest version (20071128)
of Trusted Boot (tboot).  This version of tboot now resides at 16MB
(instead of the previous <1MB), in addition to several other
enhancements.  By residing at 16MB, this version of tboot will be
protected from access by dom0.

This patch allows Xen to correctly map the tboot shutdown code that it
must trampoline into for a clean shutdown (without this patch Xen will
fault on shutdown).  This patch will also work with the previous
version of tboot.

Signed-off-by: Joseph Cihula <joseph.cihula@intel.com>
2007-12-04 10:47:10 +00:00
Keir Fraser dbda63b318 Update README file for Xen 3.2, and add tboot makefile targets and
readme decsription.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-10-30 10:17:40 +00:00
Ian Campbell c58e445d1c Remove sparse tree.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
2007-06-04 11:16:19 +01:00
Ian Campbell 0a957ea75a Push the target to build foreign headers into tools and xen
directories.  This allows those directories to be built independently
without relying on the toplevel Makefile.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
2007-01-30 13:46:48 +00:00
Emmanuel Ackaouy eb4166af59 Generate headers with arch-specific structs.
This patch adds a script to generate headers with arch-specific
structs which can be included on any architecture.  Can be used
to deal with structs of "foreign" architectures, needed for
32-on-64 support for example.

Signed-off-by: Gerd Hoffmann <kraxel@suse.de>
---
 Makefile                                  |   11 +-
 tools/Rules.mk                            |    2
 xen/Makefile                              |    4
 xen/include/public/foreign/Makefile       |   37 +++++++
 xen/include/public/foreign/mkchecker.py   |   58 +++++++++++
 xen/include/public/foreign/mkheader.py    |  153 ++++++++++++++++++++++++++++++
 xen/include/public/foreign/reference.size |   17 +++
 xen/include/public/foreign/structs.py     |   52 ++++++++++
 8 files changed, 331 insertions(+), 3 deletions(-)
2007-01-25 22:16:52 +00:00
kfraser@localhost.localdomain 9d15d8d54a Export XEN_TARGET_ARCH to buildconfig sub-Makefiles even if it is not
specified on the command line.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-01-17 16:42:34 +00:00
kfraser@localhost.localdomain a278bc0ea1 Introduce Makefile config fragments for OS-specific differences.
Signed-off-by: John Levon <john.levon@sun.com>
2006-10-17 16:48:05 +01:00
kaf24@firebug.cl.cam.ac.uk 943a72a09a [BUILD] Miscellaneous build-system fixes and tweaks.
* Don't delete non-existent %.tar.bz2 in buildconfigs/Rules.mk's %-mrproper
* Add a mrpropper target to buildconfigs/mk.linux-2.6-xen, and
  have this delete the local tarball
  - This should also delete the local patch, if there is one, but I am not
    sure how to do this with the current incarntation of the code, and I
    will post a subsequent patch which makes this easier and effects this
    chang. As there currently is no local patch this is not a big deal at
    this moment. (Horms)
* Stop kclean from erroring out if the kernel directory doesn't exist
* Remove patches/*/.makedep in top level Makefile rather than in
  buildconfigs/Rules.mk, as calling rules in the latter causes
  patches/*/.make to be created (Magnus)

Signed-Off-By: Magnus Damm <magnus@valinux.co.jp>
Signed-Off-By: Horms <horms@verge.net.au>
2006-07-03 08:56:29 +01:00
kaf24@firebug.cl.cam.ac.uk 956c0afa80 [BUILD] Add distclean build target to xen directory: cleans out tags.
Signed-off-by: Horms <horms@verge.net.au>
2006-06-27 11:50:57 +01:00
kfraser@dhcp93.uk.xensource.com dbed3693c4 Export XEN_ROOT from top-level Makefile. Ensures it is
always defined when including Config.mk.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-05-31 15:48:29 +01:00
kaf24@firebug.cl.cam.ac.uk b5fa90ac8e build: Clean up use of .PHONY
* Move .PHONY directives next to targets,
  this makes them a lot harder to miss
* Add missing .PHONY directives
* Remove nonexistent .PHONY directives
* Hopefully I didn'T miss anything...

Signed-Off-By: Horms <horms@verge.net.au>
2006-04-10 17:02:49 +01:00
kaf24@firebug.cl.cam.ac.uk 9ffd98fa29 build: Document the use of XEN_PYTHON_NATIVE_INSTALL
Document the use of the XEN_PYTHON_NATIVE_INSTALL environment variable

Signed-Off-By: Horms <horms@verge.net.au>
2006-04-10 16:35:30 +01:00
kaf24@firebug.cl.cam.ac.uk f2bc7f9402 build: clean up output of make help a little bit
Signed-Off-By: Horms <horms@verge.net.au>
2006-04-10 16:34:59 +01:00
kaf24@firebug.cl.cam.ac.uk 2a9a3c3116 build: Remove iptables and python loging helper targets
These targets don't really fit into the build infastructure,
for instance there is no faclilty for them to be removed
on make distclean. I posted a patch that fleshed out the targets,
but Christian Limpach suggested to me that removing them
would be a better idea.

Signed-Off-By: Horms <horms@verge.net.au>
2006-04-10 16:27:46 +01:00
emellor@leeni.uk.xensource.com b0ceb872c7 Switch the default build to make the -xen kernel, not the -xen0 and -xenU
kernels.  Distros will be using -xen exclusively, so this change means that
developers and users of unstable will be (by default) using the same
configuration as the distros.

This can be overridden by setting KERNELS="linux-2.6-xen0 linux-2.6-xenU" on the
command line.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-03-24 14:36:14 +01:00
kaf24@firebug.cl.cam.ac.uk ee5168b91f Currently there is no generic configure file to compile xenlinux on
ia64, since there're several different system types like HP-ZX, DIG,
etc. Current Makefile can't meet this need and default one
(xen0_defconfig_ia64) is only for HP-ZX type. Hence, this patch can
append an additional param to configuration file name to differentiate
system types when make.

Signed-off-by Zhang Xiantao <xiantao.zhang@intel.com>
2005-12-20 12:52:38 +01:00
kaf24@firebug.cl.cam.ac.uk 1f430d3e74 Update "make uninstall" to reflect new files.
Signed-off-by: Natasha Jarymowycz <natasha@us.ibm.com>
2005-12-10 15:57:11 +01:00
vhanquez@kneesa.uk.xensource.com dc5e7fd510 Allows a 'make prep-kernels' which sets up the kernel directories, allowing
certain types of test automation to be done more easily.

Signed-off-by: Paul Larson <pl@us.ibm.com>
2005-12-10 00:11:33 +00:00
emellor@leeni.uk.xensource.com c935b5a577 From Charles Coffing <ccoffing@novell.com>:
"make uninstall" was not cleaning up some udev rules.  Also, on x86_64
there was stuff left in /usr/lib/xen, not just /usr/$LIBDIR/xen.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-11-12 18:41:37 +01:00
emellor@ewan af1b5637f4 Allow parallel 32- and 64-bit Xen installations. Move xc_save, xc_restore,
and xenconsole out of /usr/libexec/xen and into one of /usr/lib/xen/bin or
/usr/lib64/xen/bin.  Remove all the PATH hacking inside Xend, and rely upon
the PATH being set correctly from outside.  Added an auxbin module for
handling the hacky stuff.

Replace the few /usr/bin/python bang paths with /usr/bin/env python.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-10-11 14:55:12 +01:00
kaf24@firebug.cl.cam.ac.uk 57a851d3a6 Fix the legacy %-build targets for dist installation of
guest kernels.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-10-11 10:01:23 +01:00
kaf24@firebug.cl.cam.ac.uk 1660169e32 Remove linux-2.4 sparse tree.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-10-07 23:36:26 +01:00
emellor@ewan 0c6f366280 Added Zope's test.py, and a unit test to sxp. This test itself isn't very
exciting, but it's there to encourage the creation of more interesting ones.  A
test target has been added to the main Makefile, and the one in tools/python.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-10-06 15:12:31 +01:00
kaf24@firebug.cl.cam.ac.uk d56d69a032 Clean up DESTDIR handling. Default install is to root
directory (/). This is only overridden automatically
for the 'make dist' targets and their legacy aliases
(make {xen,tools,kernels,docs}).

Signed-off-by: Keir Fraser <keir@xensource.com>
2005-10-05 15:05:38 +01:00
kaf24@firebug.cl.cam.ac.uk df150a9cb5 Move setting of configuration variables to Config.mk.
Allows for partial-tree builds to be invoked from a sub-directory.
Allow for users to include a ".config" with additional custom settings.

Signed-off-by: Michal Ostrowski <mostrows@watson.ibm.com>
2005-10-05 13:32:00 +01:00
kaf24@firebug.cl.cam.ac.uk a1f3989438 Fix so that 'make uninstall' won't fail if /etc/xen
doesn't exist.
2005-09-25 11:47:22 +01:00
kaf24@firebug.cl.cam.ac.uk e02527cc82 Add lomount to 'make uninstall' target. Remove miniterm,
as it's never installed on the Xen host.
2005-09-19 17:10:20 +00:00
kaf24@firebug.cl.cam.ac.uk 68201c0260 Clean up 'make uninstall' target. 2005-09-19 16:14:18 +00:00
kaf24@firebug.cl.cam.ac.uk cac86eced4 distclean target added to root makefile. From rusty. 2005-09-16 09:16:24 +00:00
emellor@ewan 296cdec9cf Added help line for dev-docs target. 2005-09-13 15:42:34 +01:00
ewan@linford.intra 04660cf483 Added dev-docs target, which passes through to the docs Makefile. 2005-09-11 21:10:38 +01:00
cl349@firebug.cl.cam.ac.uk fdda579ede Fix network setup through hotplug on SUSE.
Move the hotplug script from /etc/hotplug.d/xen-backend/backend.hotplug
to /etc/hotplug/xen-backend.agent, which seems to be a more common place
for the script.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>


--HG--
rename : tools/examples/backend.hotplug => tools/examples/xen-backend.agent
2005-09-01 10:45:50 +00:00
shand@ubuntu.eng.hq.xensource.com 9fab508806 Remainder of Intel/IBM joint TPM Virtualization implementation for Xen.
Signed-off-by: Vinnie Scarlata <vincent.r.scarlata@intel.com>
Signed-off-by: Joseph Cihula <joseph.cihula@intel.com>
Signed-off-by: Steven Hand <steven@xensource.com>
2005-08-30 11:53:53 -08:00
kaf24@firebug.cl.cam.ac.uk 7cd753585f I find at present "make uninstall" won't remove all installed files, for
example: /usr/libexec/xen/xc_restore. This may cause potential unclean
environment.

This patch add more lines in uninstall to remove all installed files by
"make uninstall".

Signed-off-by: Yongkang You <yongkang.you@intel.com>
2005-08-20 09:38:32 +00:00
kaf24@firebug.cl.cam.ac.uk 5dba835ba5 Since Xend doesn't use twisted anymore, remove the references from the
Makefile.

Signed-off-by: Mark Williamson <mark.williamson@cl.cam.ac.uk>
2005-08-11 08:58:40 +00:00
kaf24@firebug.cl.cam.ac.uk 25e97c409b Fix 'make uninstall' target. 2005-07-16 16:45:24 +00:00
iap10@freefall.cl.cam.ac.uk dc2e874399 Misc fixes for new sparse tree names: xen-clone script; -xen kernel build (the one with all the modules); Backout changes to legacy targets.
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-07-14 10:12:51 +00:00
vh249@arcadians.cl.cam.ac.uk c388f523a6 repair legacy Makefile targets linux26 and linux24
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
2005-07-14 07:39:18 +00:00
kaf24@firebug.cl.cam.ac.uk 8833f0bb92 Force PAE build of Xen by specifying 'pae=y' to make, or
by setting XEN_TARGET_X86_PAE=y (e.g., in Config.mk).
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-07-13 15:02:49 +00:00