aboutsummaryrefslogtreecommitdiffstats
path: root/config
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* [SOLARIS] A couple of simple compile fixes for tools/ on Solaris.kfraser@localhost.localdomain2006-10-172-0/+2
| | | | Signed-off-by: John Levon <john.levon@sun.com>
* [SOLARIS] Don't build ptrace code on Solaris.kfraser@localhost.localdomain2006-10-174-0/+7
| | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* [SOLARIS] On sysv platforms, gas defaults '/' to a commentkfraser@localhost.localdomain2006-10-171-0/+2
| | | | | | | character. Pass in the right option to disable this behaviour, so Xen's semantics of "divide" apply. Signed-off-by: John Levon <john.levon@sun.com>
* [SOLARIS] Some makefile fragments expect a better shell than Solaris's /bin/sh,kfraser@localhost.localdomain2006-10-171-0/+1
| | | | | | so force bash usage. Signed-off-by: John Levon <john.levon@sun.com>
* [SOLARIS] On Solaris, GCC is configured to use Sun's LD. Fix the build to usekfraser@localhost.localdomain2006-10-172-0/+8
| | | | | | the correct flags, and link against libsocket where necessary. Signed-off-by: John Levon <john.levon@sun.com>
* [SOLARIS] Use GNU grep on Solaris.kfraser@localhost.localdomain2006-10-172-0/+4
| | | | Signed-off-by: John Levon <john.levon@sun.com>
* Introduce Makefile config fragments for OS-specific differences.kfraser@localhost.localdomain2006-10-173-1/+62
| | | | Signed-off-by: John Levon <john.levon@sun.com>
* Remove obsolete tool 'mbootpack'. SYSLINUX now supports Multiboot format.kfraser@localhost.localdomain2006-10-172-2/+0
| | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* Define -m32/-m64 in LDFLAGS for x86 builds.kfraser@localhost.localdomain2006-10-172-0/+2
| | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* [IA64] Re-enable tools/xcutils build on ia64. We now havekaf24@firebug.cl.cam.ac.uk2006-07-143-0/+3
| | | | | | | | | | save/restore working in the xen-ia64-unstable.hg thanks to some excellent work by Tristan. This simply splits the xcutils components from the x86-ish linux_save/restore files in a way that should be friendly to powerpc. Signed-off-by: Alex Williamson <alex.williamson@hp.com>
* [powerpc] Initial checkin of new powerpc files.kfraser@localhost.localdomain2006-07-141-0/+4
| | | | | | From: Hollis Blanchard et al (IBM) Signed-off-by: Keir Fraser <keir@xensource.com>
* Remove CONFIG_PLAN9. Unused.kaf24@firebug.cl.cam.ac.uk2006-07-142-2/+0
| | | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* Use a global build configuration file, and rework libxc Makefile for PPC.kfraser@dhcp93.uk.xensource.com2006-05-313-0/+22
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>