aboutsummaryrefslogtreecommitdiffstats
path: root/Config.mk
Commit message (Collapse)AuthorAgeFilesLines
* Revert 18232:2e47722d3501Keir Fraser2008-08-041-2/+2
|
* Revert to old ioemu for now.Keir Fraser2008-08-041-2/+2
| | | | Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* Update Xen version for 3.3.0-rc3-preKeir Fraser2008-07-311-1/+0
|
* Update Xen version for 3.3.0-rc2.3.3.0-rc2Keir Fraser2008-07-311-0/+1
|
* Update Xen version for 3.3.0-rc2-preKeir Fraser2008-07-251-1/+0
|
* Update Xen version for 3.3.0-rc1.3.3.0-rc1Keir Fraser2008-07-251-0/+1
|
* Switching to merged (git) qemu by defaultKeir Fraser2008-07-091-3/+3
| | | | | | | | | | | | | | | The merged qemu tree is now on xenbits at: http://xenbits.xensource.com/git-http/qemu-xen-unstable.git (and a corresponding staging tree in /staging). That's a raw git tree fetchable by `git-clone http://....', so not really browseable. There will be gitweb, and a real git server, set up shortly, as well as a one-way Mercurial gateway. The tools/ioemu subdirectory will remain in the xen-unstable tree for this release, as an alternative. Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
* Support building of out-of-tree merged qemu from gitKeir Fraser2008-07-031-0/+8
| | | | | | | | | | | This provides support for building the new merged qemu from qemu-xen.git, or from a local checkout. The default is still to use the in-tree version, because the patchman infrastructure for testing, and propagation from staging to xen-unstable, needs a small amount of work to cope with git. Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
* i386: Remove non-PAE hypervisor build target.Keir Fraser2008-05-081-4/+0
| | | | Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* Remove defunct powerpc port.Keir Fraser2008-05-081-2/+1
| | | | Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* tools build: Fix build after subdir rules cleanups.Keir Fraser2008-03-251-0/+3
| | | | Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* build: Make PREFIX work by fixing LIBDIRKeir Fraser2008-01-311-1/+1
| | | | | | | | | | | | | | | | | | | | In the current tree, setting PREFIX does not work very well. This is because of confusion about the meaning of LIBDIR. In some places it is the pathname tail of directories containing libraries (lib, lib64 or lib/amd64). But in other places it is a destination pathname (implicitly, including any PREFIX). This can result in PREFIX or /usr being added the wrong number of times. This patch splits LIBDIR into two variables, LIBLEAFDIR and LIBDIR. LIBDIR is the directory into which Xen libraries and other similar code is to be placed, and includes any PREFIX. LIBLEAFDIR is just the library tail and can be appended to various different prefixes; for example, to construct the X11 library directory for -L. Neither variable contains the value of DESTDIR, which is of course used only to redirect the results of `make install' when desired. Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
* Remove machine setting from HOSTCFLAGS.Keir Fraser2008-01-271-3/+0
| | | | | | | The host compiler must know how to produce runnable binaries without special settings. Signed-off-by: Bastian Blank <waldi@debian.org>
* tools: disable lomount and miniterm by defaultKeir Fraser2008-01-171-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | lomount is a tool which reads and parses a partition table in a disk image block device and then uses mount -o ...offset=... to mount it. This is not an ideal approach. For example, if the intended filesystem has corrupted metadata the kernel's filesystem driver may start to write outside of the intended region. This might even be exploitable in some perverse circumstances. Nowadays people wanting to do this should use kpartx, which uses devmapper to create appropriate range mappings. So lomount should be disabled. miniterm may well be useful but it is a clone-and-hack of an upstream project and is currently built but not installed by default, partly because it doesn't make sense to install on the dom0 which it might be trying to debug. It is probably useful to retain these two programs in the source tree but IMO they should no longer be built by default. The attached patch does these things: * CONFIG_LOMOUNT and CONFIG_MINITERM in Config.mk can enable and disable these programs * They are disabled by default * If CONFIG_MINITERM=y it is still built but not installed. make -C tools/misc/miniterm install will install it. Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
* -DNDEBUG for hypervisor onlyKeir Fraser2008-01-151-3/+1
| | | | Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
* Revert 16560:822d4ec5cfb1.Keir Fraser2007-12-081-3/+0
| | | | | | | | | | | | | Preference seems to be to update library versions only when the ABI changes. Only libxenctrl/libxenguest have their version number changed to 3.2.0, as a reminder that they change on pretty much every major release. libfsimage/libxenstore/libblktap have not changed substantially recently, hence the ABI has not changed, and version number stays the same as in Xen 3.1 (and before). Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* tools: Rationalise library soname versions.Keir Fraser2007-12-071-0/+3
| | | | | | | | | | | | | | | | * Arrange for the sonames of libxenstore, libxc, libfsimage and libblktap to be set from a single place in Config.mk. * Bumps the soname major version number to 3.2 in preparation for 3.2 rc1 after which we do not expect to have ABI changes. I have not done anything about libaio and libflask. The former is imported from elsewhere and if we're lucky will have sane versioning upstream. libflask has a very small interface and I'm hoping that the XSM authors have been keeping some ABI discipline. Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
* pv-qemu: Remove standalone xenfb codeKeir Fraser2007-10-251-1/+0
| | | | | | | | | | | This patch removes all trace of the standalone paravirt framebuffer daemon. With this there is no longer any requirement for LibVNCServer. Everything is handled by the QEMU device model. The xenfb.c and xenfb.h files are now moved (without code change) into tools/ioemu/hw/ & the temporary Makefile hack from the previous patch is removed. Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
* Fix x86/64 build for *BSD.Keir Fraser2007-10-191-1/+2
| | | | | | | - Config.mk: uname -m prints "amd64". Deal with this. - do not assume python is always in /usr/bin - get-fields.sh: make it portable and non-bash specific Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
* Cleanups after XSM checkin.kfraser@localhost.localdomain2007-08-311-11/+1
| | | | | | | | | | | Signed-off-by: Keir Fraser <keir@xensource.com> --HG-- rename : xen/include/public/acm.h => xen/include/public/xsm/acm.h rename : xen/include/public/acm_ops.h => xen/include/public/xsm/acm_ops.h rename : xen/include/acm/acm_core.h => xen/include/xsm/acm/acm_core.h rename : xen/include/acm/acm_endian.h => xen/include/xsm/acm/acm_endian.h rename : xen/include/acm/acm_hooks.h => xen/include/xsm/acm/acm_hooks.h
* Xen Security Modules: FLASKkfraser@localhost.localdomain2007-08-311-0/+8
| | | | Signed-off-by: George Coker <gscoker@alpha.ncsc.mil>
* Xen Security Modules: XSMkfraser@localhost.localdomain2007-08-311-2/+4
| | | | Signed-off-by: George Coker <gscoker@alpha.ncsc.mil>
* Tack -m32/-m64 on HOSTCFLAGS when COMPILE_ARCH is x86.kfraser@localhost.localdomain2007-08-161-0/+3
| | | | | Should fix building in Solaris environments. Signed-off-by: Keir Fraser <keir@xensource.com>
* [Build] Remove ACM option for NULL and STE+CHWALL policykfraser@localhost.localdomain2007-07-131-8/+0
| | | | Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
* Specify -fno-strict-aliasing in root build config file.Keir Fraser2007-07-071-2/+5
| | | | | | | | Fixes correctness issues with xenstored and gcc-4.2. Original patch by Charles Coffing <ccoffing@novell.com> Signed-off-by: Keir Fraser <keir@xensource.com>
* acm: Changes to XML schema of the policykfraser@localhost.localdomain2007-04-251-2/+0
| | | | | | | | | | | This patch changes the XML schema of the ACM policy to require a version and that every conflict set have a name. Every VM label must have one Chinese Wall Type and every resource label one Simple Type Enforcement Type. As a consequence of this some example policies needed to be changed. Also not offering that many configuration options for compiling xen anymore to make things simpler. Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
* In order to allow building as non-root with a non-default CC (whichkfraser@localhost.localdomain2007-03-271-2/+12
| | | | | | | | | root may not have access to through its $PATH), defer the generation of an error until CC is actually needed. Original patch by Jan Beulich <jbeulich@novell.com> Signed-off-by: Keir Fraser <keir@xensource.com>
* Xen and tools now require gcc 3.4+ on x86.Keir Fraser2007-03-171-0/+6
| | | | | | | | | | | | | | | - gcc-3.2 cannot handle some multi-line assertions in the Xen sources. Noone noticed. - gcc-3.3 has problems with alignment constraints inside typedefs. gcc 3.4.0 is now three years old so I hope that everyone has an up-to-date compiler, or can obtain a more up-to-date package for their distribution. If not we may need to fall back to supporting gcc-3.3.x as well. Also clean up the way we do version checks, using the power of awk. Signed-off-by: Keir Fraser <keir@xensource.com>
* Make Python tools (i.e., xend and pygrub) conditionally compiled.kfraser@localhost.localdomain2007-03-061-3/+4
| | | | | | Config option is PYTHON_TOOLS, default is 'y'. Signed-off-by: Ben Thomas <ben@virtualiron.com>
* Build PAE by default on x86_32.kfraser@localhost.localdomain2007-01-181-1/+4
| | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* Handle the creation of startup info for compatibility mode guests. ThisEmmanuel Ackaouy2007-01-051-0/+2
| | | | | | | includes a script to auto-generate checking or translation code between native and compatibility mode hypercall argument structures. Signed-off-by: Jan Beulich <jbeulich@novell.com>
* Make the xenfb tools an optional part of the build, as they introduce newEwan Mellor2006-12-021-1/+1
| | | | | | | dependencies (libvncserver and libsdl devel packages). Enable them with XENFB_TOOLS=y. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Add libxen to overall xen build via a config option in Config.mk.jfehlig@jfehlig2.provo.novell.com2006-11-221-0/+1
| | | | Signed-off-by: Jim Fehlig <jfehlig@novell.com>
* Replace test-gcc-flag with Linux-style cc-option.kfraser@localhost.localdomain2006-10-181-3/+6
| | | | | | | Improve on Linux implementation by looking for any output on stdout/stderr. This indicates badness. Signed-off-by: Keir Fraser <keir@xensource.com>
* [XEN] Can be built -std=gnu99 (except for .S files).kfraser@localhost.localdomain2006-10-181-0/+2
| | | | | | | | | Need to be careful with static initialisers: 1. *_LOCK_UNLOCKED, CPU_MASK_* no longer include a cast 2. Dynamic uses of the above are replaced by appropriate function invocations. Signed-off-by: Keir Fraser <keir@xensource.com>
* Avoid need for GREP variable by avoiding GNUisms. Thekfraser@localhost.localdomain2006-10-181-1/+1
| | | | | | | | | | only one we appear to have is use of '-q'. Replace it with redirection to /dev/null. Also avoid use of 'tail' by replacing with 'head' or 'grep' as appropriate. Signed-off-by: Keir Fraser <keir@xensource.com>
* [SOLARIS] Don't build ptrace code on Solaris.kfraser@localhost.localdomain2006-10-171-0/+2
| | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* [SOLARIS] Use GNU grep on Solaris.kfraser@localhost.localdomain2006-10-171-1/+1
| | | | Signed-off-by: John Levon <john.levon@sun.com>
* Introduce Makefile config fragments for OS-specific differences.kfraser@localhost.localdomain2006-10-171-30/+9
| | | | Signed-off-by: John Levon <john.levon@sun.com>
* Don't use -Wunused-value. It's too aggressive with GCC4.kfraser@localhost.localdomain2006-10-171-0/+4
| | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* Build Xen with at least -O1 to avoid very large stack frames.kfraser@localhost.localdomain2006-07-271-0/+2
| | | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* [powerpc] add PowerPC support to Makefileskaf24@firebug.cl.cam.ac.uk2006-07-141-2/+2
| | | | | Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
* Use a global build configuration file, and rework libxc Makefile for PPC.kfraser@dhcp93.uk.xensource.com2006-05-311-13/+1
| | | | | Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
* build: Make sure that DESTDIR is setkaf24@firebug.cl.cam.ac.uk2006-04-101-0/+1
| | | | | | | | | | | | | | | | In the case where XEN_PYTHON_NATIVE_INSTALL is in effect, if DESTDIR is not set then the install will go into a relative directory rather than under the default prefix (usually /usr). An alternate solution would be to update the fragments that do the python install to use $(DESTDIR)/ instead of $(DESTDIR). This is not an incredible burden as there are only two such fragments in the tree. However, it seems prone to error as new makefiles are created in the future. Signed-Off-By: Horms <horms@verge.net.au>
* More build config changes:kaf24@firebug.cl.cam.ac.uk2006-03-101-9/+17
| | | | | | | | | | - Build -O2 rather than -O3 - Build with -Wstrict-prototypes - Move target-specific generic compiler switches to Config.mk Signed-off-by: Keir Fraser <keir@xensource.com>
* Move 'debug' build option into the outermost Config.mk file.kaf24@firebug.cl.cam.ac.uk2006-03-091-0/+11
| | | | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* Clean up the usage of CFLAGS. This is nice for packagers, who wouldkaf24@firebug.cl.cam.ac.uk2006-03-091-0/+2
| | | | | | | | like to control the base compilation flags from a central place. Signed-off-by: Charles Coffing <ccoffing@novell.com>
* HOSTCC should be used to set HOSTCFLAGS instead of CC.emellor@leeni.uk.xensource.com2005-12-141-3/+3
| | | | | | | | | There is a case where HOSTCC doesn't accept -Wdeclaration-after-statement, while CC does. It results in a compilation error. This patch fixes it Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
* Add -Wdeclaration-after-statement to CFLAGS only if thekaf24@firebug.cl.cam.ac.uk2005-11-231-2/+4
| | | | | | | | | | compiler supports it. Move test-gcc-flag function to Config.mk where it can be used by any component of the build. Signed-off-by: Keir Fraser <keir@xensource.com>
* Add -Wdeclaration-after-statement to Xen and tools build.kaf24@firebug.cl.cam.ac.uk2005-11-221-0/+3
| | | | | | | | Fix the compile errors that result from this. Signed-off-by: Keir Fraser <keir@xensource.com>