Commit Graph
140 Commits
Author SHA1 Message Date
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
kaf24@firebug.cl.cam.ac.uk 674bfa2051 Fix top Makefile targets linux24 and linux26. 2005-07-08 08:47:17 +00:00
iap10@freefall.cl.cam.ac.uk 1b456a3fee Fix to xen-clone, minor top-level Makefile tidy
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-07-01 10:52:07 +00:00
kaf24@firebug.cl.cam.ac.uk 684d27a678 bitkeeper revision 1.1705.1.8 (42a95272T6JE4ReAkgMVg0Rte2ppxA)
Install/uninstall xenstore headers.
2005-06-10 08:42:26 +00:00
kaf24@firebug.cl.cam.ac.uk ed7f7379ec bitkeeper revision 1.1705.1.3 (42a939a4PcnfLTkKVDZMeUSheRKsng)
'make uninstal' cleanups.
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
2005-06-10 06:56:36 +00:00
kaf24@firebug.cl.cam.ac.uk a32aebc212 bitkeeper revision 1.1590 (4299cc0csX0iKRxZs-S3QRYAtXSapQ)
Fix default root Makefile target.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-29 14:05:00 +00:00
arun.sharma@intel.com[kaf24] 0ae7a8f44b bitkeeper revision 1.1538 (42939e5a4Zjv3gELWO9ea3t1uXGfeg)
[PATCH] x64-make-uninstall.patch

Make uninstall should clean up properly on 64 bit.

Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-05-24 21:36:26 +00:00
cl349@firebug.cl.cam.ac.uk 3f0aab6420 bitkeeper revision 1.1414.1.1 (4288977dVBsJFO6uQ5e5ZXsFA0eSwg)
Merge 2.0-testing change:
Add time-label to /etc/xen.old directory name.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-16 12:52:13 +00:00
cl349@firebug.cl.cam.ac.uk 8fd9f78a4e bitkeeper revision 1.1159.258.130 (42889731yZ6nWkKHZsa-gDG14dQ9yQ)
Makefile:
  Add time-label to /etc/xen.old directory name.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-16 12:50:57 +00:00
smh22@firebug.cl.cam.ac.uk 80426c6838 bitkeeper revision 1.1389.22.1 (4284f784wtIDAT1YhOkMEav5iPFY-w)
allow repeated make uninstall

Signed-off-by: Steven Hand <steven@xensource.com>
2005-05-13 18:52:52 +00:00
cl349@firebug.cl.cam.ac.uk 6ce4e97f02 bitkeeper revision 1.1389.1.53 (4283a9ddh938uAD1Jnb_4rll_ioGBw)
Merge Makefile changes.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-12 19:09:17 +00:00
cl349@firebug.cl.cam.ac.uk ef65d9f9af bitkeeper revision 1.1159.280.1 (4283a76ftpuj_gm_Dw7id90bgDL3JQ)
Many files:
  Use marker files instead of depending on the change times of directories.
ignore:
  Add patches/*/.makedep.
  Cleanup ignore list.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-12 18:58:55 +00:00
kaf24@firebug.cl.cam.ac.uk bd4a8aa0d7 bitkeeper revision 1.1377 (426a714f6V9I7WsWjOjg5UyMTHIubA)
Merge firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
into firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
2005-04-23 16:01:19 +00:00
kaf24@firebug.cl.cam.ac.uk d7b51cdac7 bitkeeper revision 1.1159.258.106 (426a712aViBd_l7Q-xevKeNJhNJHSw)
Makefile:
  Fix mkpatches build target to ignore freebsd error.
2005-04-23 16:00:42 +00:00
katzj@redhat.com[iap10] 2cc5addc8f bitkeeper revision 1.1305 (42603ffeunTyoZX2egpGvfR_Km2tBw)
[PATCH] Install libraries into libdir

Attached makes it so that libxc and libxutil get installed
into /usr/lib64 instead of /usr/lib on x86_64.

Signed-off-by: Jeremy Katz <katzj@redhat.com>

===== Config.mk 1.3 vs edited =====
2005-04-15 22:28:14 +00:00