aboutsummaryrefslogtreecommitdiffstats
path: root/config
Commit message (Collapse)AuthorAgeFilesLines
...
* xenpaging: add XEN_PAGING_DIR / libxl_xenpaging_dir_path()Olaf Hering2011-11-201-0/+2
| | | | | Signed-off-by: Olaf Hering <olaf@aepfle.de> Committed-by: Ian Jackson <ian.jackson.citrix.com>
* tools: Introduce XEN_RUN_DIR path.Anthony PERARD2011-06-271-0/+2
| | | | | | | | This patch also add libxl_run_dir_path() function in libxl. Signed-off-by: Anthony PERARD <anthony.perard@citrix.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
* Tidy makefiles to use CFLAGS-$(foo) idiom instead of ifeq.Tim Deegan2011-03-081-6/+2
| | | | | Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com> Acked-by: Keir Fraser <keir@xen.org>
* xen: add "lto=y" option to build Xen with link-time optimizations.Tim Deegan2011-03-071-2/+10
| | | | | | | | | | | | This involves gathering object files from .asm (which will be binary) and object files from .c (which will be in LTO format) separately until the final link. Only tested for x86_64 Xen builds using Clang/LLVM bitcode; it should be possible to do the same with newer GCCs and GIMPLE. Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com> Acked-by: Keir Fraser <keir@xen.org>
* xen: add "clang=y" option to build Xen with clang/llvm instead of gcc.Tim Deegan2011-03-071-1/+9
| | | | | | | | | Tested with svn snapshot of clang and llvm from 17 February 2011. Only x86_64 hypervisor builds (make dist-xen clang=y) are supported and I haven't even begun to look at cross-compiling. Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com> Acked-by: Keir Fraser <keir@xen.org>
* libxc: portability fixes for NetBSDChristoph Egger2011-01-063-0/+6
| | | | | | | | | | | | | | | | | Attached patch makes libxc build again on NetBSD after the recent rework. [ Modified by iwj: I changed the name of the new make variable from LIBDL to DLOPEN_LIBS. The latter conforms to the naming scheme for similar variables found in config/*.mk - PTHREAD_LIBS et al. Also I moved the setting of the variable to -dl from Linux to StdGNU (which makes it apply more widely) and also added it to SunOS.mk (based on pure guesswork). ] Signed-off-by: Christoph Egger <Christoph.Egger@amd.com> Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
* Config.mk et al: introduce XEN_LOCK_DIRStefano Stabellini2010-09-222-0/+8
| | | | | | | | | | Introduce a OS dependent global variable XEN_LOCK_DIR that points at the system directory that contains lock files. [fixed up for conflict in Config.mk -iwj] Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
* tools, build system: Make changing distro-specific layout aspects easier2010-09-201-1/+1
| | | | | | | | | | | Introduce CONFIG_LEAF_DIR, SUBSYS_DIR, INITD_DIR variables to cope better with variation between distributions. See docs/misc/distro_mapping.txt for details. Signed-off-by: Bruce Edge <bruce.edge@gmail.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com> Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
* Allow easier overriding of LIBLEAFDIR_x86_64 on GNU systemsKeir Fraser2010-09-131-1/+1
| | | | | | | | Some GNU systems (including Debian) do not use /usr/lib64. This change makes it easier to have the Xen build system on amd64 put its 64-bit libraries files in /usr/lib. Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
* Disable kernel build in Xen build system.Keir Fraser2010-09-131-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cloning and building a kernel as part of the Xen distribution implicitly advises that this kernel is the best kernel for all users and many users appear to be under this impression, even though there is no fundamental coupling between the Xen distribution and a particular domain 0 kernel. There are several choices available for domain 0 kernel, as well as other user specific variations in requirements e.g. for kernel configurations. It's not clear that whatever the xen build system happens to produce (which is really tailored to the needs of the automated build system) is best for anybody. Coupling the kernel build with the Xen build has proved problematic for stable Xen releases as it implicitly blesses the particular kernel (at a particular point in time) as a constituent part of the Xen release, while in reality the OS kernels are separate entities with their own release cycles which may or may not coincide with the maintenance of Xen stable branches. Therefore disable the building of a kernel as part of the Xen distribution by default and instead direct users to use an OS distribution provided kernel (properly packaged with security updates via the normal distribution mechanisms etc) where possible and give pointers to suitable resources providing guidance for cases where it is not. This decouples the implicit advice as to the best kernel at any moment from Xen's own release cycle and removes the implicit suggestion that only particular domain 0 kernel will do. The actual infrastructure is left in place since the automated test system (currently) relies on it (but always asks for the specific kernel variant it wants for a particular test). (I also tried to remove Linux-isms from the README's Quick start guide. In particular I'm not sure what was supposedly Linux specific about steps 3 and 4 therefore I have removed the suggestion that they are.) Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
* split LDLIBS from LDFLAGS to fix link errors in recent toolchainsStefano Stabellini2010-08-112-2/+2
| | | | | | | | | | | | | | | | Linker command lines are order-sensitive. Move linker options -Lfoo -lfoo from LDFLAGS to LDLIBS and place this new variable after the objects to link. This resolves build errors in xenpagin and blktap with recent toolchains. rename SHLIB_CFLAGS to SHLIB_LDFLAGS rename LDFLAGS_* to LDLIBS_* move LDFLAGS usage after CFLAGS in CC calls remove stale comments in xenpaging Makefile Signed-off-by: Olaf Hering <olaf@aepfle.de> Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
* tools and Makefiles: introduce and use new SYSCONFIG_DIR variableOlaf Hering2010-07-231-0/+3
| | | | | | | | | | | | On SuSE the configuration files in /etc/sysconfig/ will be updated in a smart way from templates found in /var/adm/fillup-templates/ Introduce new variable SYSCONFIG_DIR for Linux installations. Now only one place needs patching, or it can be specified as option to make(1). Signed-off-by: Olaf Hering <olaf@aepfle.de> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
* tools: Make build again on netbsdKeir Fraser2009-11-102-0/+4
| | | | | Signed-off-by: Christoph Egger <Christoph.Egger@amd.com> Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* tools: don't require hardcoded firmware path in guest config fileKeir Fraser2009-06-232-0/+2
| | | | Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
* x86: Switch to using pvops kernel by default for LinuxKeir Fraser2009-06-161-0/+4
| | | | | | Keave ia64 on 2.6.18 since it currently has no dom0 support in pvops Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
* tools: get rid of hardcoded config dirsKeir Fraser2009-05-202-0/+16
| | | | | | | | | Remove *all* hardcoded "/etc/xen" strings in python code. Additionally, it removes pygrub_path from osdep.py. Its use has been replaced with auxbin.pathTo("pygrub"). Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
* build: Get rid of some more hardcoded install pathsKeir Fraser2009-03-311-1/+2
| | | | Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
* build system cleanup - get rid of some hardcoded pathsKeir Fraser2009-03-192-0/+7
| | | | Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
* Support building of out-of-tree merged qemu from gitKeir Fraser2008-07-031-0/+3
| | | | | | | | | | | 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>
* Remove defunct powerpc port.Keir Fraser2008-05-081-6/+0
| | | | Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* Add -fno-optimize-sibling-calls to debug CFLAGS. Also get rid of ?=Keir Fraser2008-03-172-6/+4
| | | | | assignment to CFLAGS. Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* Make stubdom/Makefile override XEN_OS to MiniOS, and addKeir Fraser2008-02-123-0/+11
| | | | | | | config/MiniOS.mk. Add PTHREAD_LIBS to configs (usually holding -lpthread). Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* etherboot: Fix the build.Keir Fraser2008-01-312-0/+2
| | | | Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
* build: Make PREFIX work by fixing LIBDIRKeir Fraser2008-01-313-4/+9
| | | | | | | | | | | | | | | | | | | | 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>
* Add PRIVATE_BINDIR. Use it.Keir Fraser2008-01-262-0/+6
| | | | Signed-off-by: Bastian Blank <waldi@debian.org>
* Add MANDIR, MAN1DIR and MAN8DIR. Use it.Keir Fraser2008-01-222-0/+6
| | | | Signed-off-by: Bastian Blank <waldi@debian.org>
* Add SBINDIR. Use it always.Keir Fraser2008-01-222-0/+2
| | | | Signed-off-by: Bastian Blank <waldi@debian.org>
* Add BINDIR. Use it.Keir Fraser2008-01-222-0/+2
| | | | Signed-off-by: Bastian Blank <waldi@debian.org>
* Add INCLUDEDIR. Use it.Keir Fraser2008-01-222-0/+2
| | | | Signed-off-by: Bastian Blank <waldi@debian.org>
* Apply PREFIX directly to LIBDIR.Keir Fraser2008-01-226-9/+11
| | | | Signed-off-by: Bastian Blank <waldi@debian.org>
* Add PREFIX definition as base for all installed files.Keir Fraser2008-01-222-0/+4
| | | | Signed-off-by: Bastian Blank <waldi@debian.org>
* xenconsoled: portability fixes:Keir Fraser2007-10-082-0/+2
| | | | | | | | | | | | | | | - Use openpty(), which does the same as the sequence of open(), grantpt(), unlockpt(), ptsname(), tcgetattr() simplifies code - Check return code from tcsetattr() - sprintf() -> snprintf() - OpenBSD lacks POSIX grantpt() and unlockpt() requires use of openpty() - Solaris lacks POSIX openpty() via feedback from SUN (John Levon) implement openpty() for Solaris, tested and ok'd by SUN (John Levon) Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
* Another msised netbsd file.Keir Fraser2007-09-241-0/+3
| | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* Merge with ia64/xen-unstable.hgkfraser@localhost.localdomain2007-08-172-5/+4
|\
| * Avoid new-fangled gnumake else-if syntax.kfraser@localhost.localdomain2007-08-161-7/+3
| | | | | | | | | | Declarative style is neater anyway. Signed-off-by: Keir Fraser <keir@xensource.com>
| * Allow Xen to build on FreeBSD.kfraser@localhost.localdomain2007-08-162-0/+3
| | | | | | | | | | From: Julian Stecklina <der_julian@web.de> Signed-off-by: Keir Fraser <keir@xensource.com>
* | [IA64] Use common xencomm.c and remove ia64 xencomm.cAlex Williamson2007-08-161-0/+1
|/ | | | Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
* Fix xen build on NetBSD.kfraser@localhost.localdomain2007-05-301-0/+1
| | | | | From: Christoph Egger <Christoph.Egger@amd.com> Signed-off-by: Keir Fraser <keir@xensource.com>
* Fix up locale strings for xmTom Wilkie2007-04-131-0/+1
| | | | Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
* Since CPP is being used with CFLAGS, it should be in lock-step with CC,Ewan Mellor2007-03-231-1/+1
| | | | | | to avoid having to specify both CC and CPP for the build. Signed-off-by: Jan Beulich <jbeulich@novell.com>
* tools: Clean up use of 'install' command.kfraser@localhost.localdomain2007-03-072-6/+6
| | | | | | | | | - convert raw "install" command to use $(INSTALL) - convert some $(INSTALL) to $(INSTALL_DATA) as appropriate - modify the specific $(INSTALL) definitions to use -p. Original patch by Ben Thomas <ben@virtualiron.com> Signed-off-by: Keir Fraser <keir@xensource.com>
* Introduce _DOMF_compat and infrastructure as well as several conditionalsEmmanuel Ackaouy2007-01-051-0/+1
| | | | | | | dealing with operations that need to distinguish between native and compatibility mode guests. Signed-off-by: Jan Beulich <jbeulich@novell.com>
* Explicitly use GNU msgfmt on non-GNU systems.kaf24@localhost.localdomain2006-12-292-0/+4
| | | | Signed-off-by: John Levon <john.levon@sun.com>
* Add CONFIG_X86_{32,64} Makefile variables.kfraser@localhost.localdomain2006-12-152-0/+2
| | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* [POWERPC] Merge in outstanding changes from xenppc-unstable.hg.Hollis Blanchard2006-12-121-0/+2
| | | | | | | It's a long story, but basically a small divergence in xenppc-unstable meant a large number of changesets couldn't be directly imported to xen-unstable, so this changeset includes all of them. Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
* Dynamically link to libgcc on Solaris. Also clean up duplicate -Wall flags.kfraser@localhost.localdomain2006-11-021-1/+1
| | | | Signed-off-by: John Levon <john.levon@sun.com>
* [SOLARIS] More tools fixes.kfraser@localhost.localdomain2006-10-181-1/+2
| | | | | | | | | Many of the tools use C99 features such as bool, or expect certain functions. Fix the CFLAGS to enable these on Solaris. Also make sure the correct $CC is passed to Python. Signed-off-by: John Levon <john.levon@sun.com>
* [OpenBSD] Various changes to get Xen building on OpenBSD.kfraser@localhost.localdomain2006-10-186-34/+40
| | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* Clean up linker flag definitions.kfraser@localhost.localdomain2006-10-182-2/+6
| | | | | | | | | | | | | | | | | 1. GNU ld does not understand -m{32,64}. It must be cooked for it by the GCC driver program. 2. Where GNU ld is directly called we must use -melf_{i386,x86_64}. 3. We cannot avoid calling GNU ld directly in some cases (e.g., when specifying GNU-specific linker scripts) as on some host architectures the GCC driver is configured to call the host linker. 4. We cannot add -melf_{i386,x86_64} to LDFLAGS as the option is not recognised by GCC. Hence we define new LDFLAGS_DIRECT, to be added to the command line only when invoking GNU ld directly. Signed-off-by: Keir Fraser <keir@xensource.com>
* Avoid need for GREP variable by avoiding GNUisms. Thekfraser@localhost.localdomain2006-10-182-3/+0
| | | | | | | | | | 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>