aboutsummaryrefslogtreecommitdiffstats
path: root/config/StdGNU.mk
Commit message (Collapse)AuthorAgeFilesLines
* split LDLIBS from LDFLAGS to fix link errors in recent toolchainsStefano Stabellini2010-08-111-1/+1
| | | | | | | | | | | | | | | | 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-101-0/+2
| | | | | 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-231-0/+1
| | | | Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
* tools: get rid of hardcoded config dirsKeir Fraser2009-05-201-0/+8
| | | | | | | | | 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-191-0/+3
| | | | 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>
* Add -fno-optimize-sibling-calls to debug CFLAGS. Also get rid of ?=Keir Fraser2008-03-171-3/+2
| | | | | assignment to CFLAGS. Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* Make stubdom/Makefile override XEN_OS to MiniOS, and addKeir Fraser2008-02-121-0/+1
| | | | | | | 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-311-0/+1
| | | | Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
* build: Make PREFIX work by fixing LIBDIRKeir Fraser2008-01-311-2/+4
| | | | | | | | | | | | | | | | | | | | 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-261-0/+3
| | | | Signed-off-by: Bastian Blank <waldi@debian.org>
* Add MANDIR, MAN1DIR and MAN8DIR. Use it.Keir Fraser2008-01-221-0/+3
| | | | Signed-off-by: Bastian Blank <waldi@debian.org>
* Add SBINDIR. Use it always.Keir Fraser2008-01-221-0/+1
| | | | Signed-off-by: Bastian Blank <waldi@debian.org>
* Add BINDIR. Use it.Keir Fraser2008-01-221-0/+1
| | | | Signed-off-by: Bastian Blank <waldi@debian.org>
* Add INCLUDEDIR. Use it.Keir Fraser2008-01-221-0/+1
| | | | Signed-off-by: Bastian Blank <waldi@debian.org>
* Apply PREFIX directly to LIBDIR.Keir Fraser2008-01-221-2/+2
| | | | Signed-off-by: Bastian Blank <waldi@debian.org>
* Add PREFIX definition as base for all installed files.Keir Fraser2008-01-221-0/+2
| | | | Signed-off-by: Bastian Blank <waldi@debian.org>
* xenconsoled: portability fixes:Keir Fraser2007-10-081-0/+1
| | | | | | | | | | | | | | | - 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>
* 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-071-3/+3
| | | | | | | | | - 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>
* Explicitly use GNU msgfmt on non-GNU systems.kaf24@localhost.localdomain2006-12-291-0/+2
| | | | Signed-off-by: John Levon <john.levon@sun.com>
* [OpenBSD] Various changes to get Xen building on OpenBSD.kfraser@localhost.localdomain2006-10-181-0/+30
Signed-off-by: Keir Fraser <keir@xensource.com>