aboutsummaryrefslogtreecommitdiffstats
path: root/buildconfigs
Commit message (Collapse)AuthorAgeFilesLines
* Silently ignore rm and include errors during make distcleanDaniel Kiper2013-05-081-1/+1
| | | | | Signed-off-by: Daniel Kiper <daniel.kiper@oracle.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
* xen: update xensource.com to xen.orgAndrew Cooper2012-07-261-1/+1
| | | | | | | | | | | | This patch was constructed by grepping for xensource.com over the entire repository and eyeballing which ones were sensible to update. In addition, the xen-tools mailing list has been deprecated, so update xentop to refer to xen-devel instead. Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com> Acked-by: Ian Campbell <ian.campbell@citrix.com> Committed-by: Ian Campbell <ian.campbell@citrix.com>
* buildconfigs: update enable-xen-configKeir Fraser2010-08-241-0/+24
| | | | | | | | | | Enable a bunch of new Xen options, primarily blktap, PCI passthrough and platform PCI device (PVHVM). Also set default for a bunch of non-Xen options which are not covered by the defconfig. Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
* linux buildconfig: Fix quoting errorKeir Fraser2010-08-131-1/+1
| | | | | | Prevent shell syntax error if $(XEN_LINUX_CONFIG) is empty. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
* Switch default Linux kernel build to 2.6.32Keir Fraser2010-06-181-1/+1
| | | | Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
* buildconfig: Set CONFIG_TUN=y in Linux kernel configKeir Fraser2010-06-151-0/+1
| | | | | | | This is needed by the pv_ops kernel in order to support HVM guests with emulated VIFs Signed-off-by: Alex Zeffertt <alex.zeffertt@eu.citrix.com>
* buildconfig: Fix setopt in case where option is already set but to the wrong ↵Keir Fraser2010-06-151-1/+1
| | | | | | value Signed-off-by: Alex Zeffertt <alex.zeffertt@eu.citrix.com>
* Honour XEN_LINUX_GIT_LOCALBRANCH and XEN_LINUX_GITREV variablesKeir Fraser2010-05-121-4/+6
| | | | | | | | | | | | | | | | XEN_GIT_ORIGIN to set the name of the remote origin; the default is still "xen". XEN_LINUX_GIT_LOCALBRANCH allows the name of the local branch to be set. The default is the same as the remote branch. XEN_LINUX_GITREV allows a specific GIT revision to be checked out, rather than a branch. By default it is the remote branch name. This change should result in no change in behaviour in the normal case. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
* pv_ops: Switch kernel from xen/master to xen/stable-2.6.31.xKeir Fraser2010-05-041-1/+1
| | | | | | | This is functionally identical to xen/master at the moment, but more meaningful. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
* Make sure git clone gets the right kernel branchKeir Fraser2010-05-041-4/+3
| | | | | | | | | | | | | When cloning kernel repo: 1. make remote called "xen" rather than the default "origin" 2. directly checkout the desired branch, rather than the default then the desired one Git 1.5 doesn't support -b on git clone, and seems to do something odd with the checkout branch argument, so avoid using the newer commandline options. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
* Revert 21110:d791173ca65b and 21111:986d3b1d30fbKeir Fraser2010-04-072-3/+5
| | | | | | Break automated tests. Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* Update git clone commandKeir Fraser2010-04-071-4/+2
| | | | | | | | When cloning the kernel repo: 1. make remote called "xen" rather than the default "origin" 2. directly checkout the desired branch in one step Signed-off-by: Jeremy Fitzhardinge<jeremy.fitzhardinge@citrix.com>
* Switch default kernel branch to xen/stable-2.6.31.xKeir Fraser2010-04-071-1/+1
| | | | | | | This is functionally identical to xen/master at the moment, but more meaningful. Signed-off-by: Jeremy Fitzhardinge<jeremy.fitzhardinge@citrix.com>
* Obtain Linux kernel via git protocol by default (GIT_HTTP=y overrides)Keir Fraser2009-10-202-0/+8
| | | | Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* Obtain Linux kernels via git-over-httpKeir Fraser2009-10-082-2/+2
| | | | Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* pv_ops: Build xen/master branch rather than xen-tip/masterKeir Fraser2009-09-221-1/+1
|
* Enable some SCSI drivers in pvops kernel configKeir Fraser2009-09-021-0/+5
| | | | | | | | | Enables a couple of SCSI host controllers which are found in our test farm but not enabled in the default upstream kernel. The new drivers are compiled as modules which is pretty harmless so this should be safe. Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
* xm-test: Disable DEBUG_STACK_USAGE which breaks test casesKeir Fraser2009-08-051-0/+2
| | | | | | | | | | The unnecessary 'used greatest stack depth' messages on the console breaks xm-test cases by random. Typically a testcase reads input from the console and parses it. When DEBUG_STACK_USAGE is enabled, these stack usage messages are printed by random - the test case reads this message, cannot handle it and fails. Signed-off-by: Andreas Florath <xen@flonatel.org>
* Compile the kernel by default with bridge supportKeir Fraser2009-08-021-0/+2
| | | | | | | | | This one-liner adds bridge support to the Linux kernel (CONFIG_BRIDGE=y). It is a precondition for some xm-tests that bridge is enabled. Also IMHO it makes sense to configure a dom0 with bridge capabilities. Signed-off-by: Andreas Florath <xen@flonatel.org>
* Remove support for out-of-date SLES9 and RHEL4 kernelKeir Fraser2009-07-202-20/+0
| | | | | | | | | | ports from build integration Both distros now include Xen support from their respective upstreams and these kernels are very out of date wrt both the upstream distro kernel and the upstream Xen kernel. Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
* buildconfigs/src.git-clone: use git clone, avoid git remoteKeir Fraser2009-06-183-39/+8
| | | | | | | | | | | | | | | | git 1.4.x (which is on even some moderately recent systems) doesn't have the `git remote' command. This is what caused the most recent patchman build failure. The machinery in buildconfigs/src.git-clone was rather more complicated than needed, too. In this patch I replace this with a similar set of runes to those used for ioemu-remote (almost identical except that the QEMU_TAG feature is not supported in this instance). I have done a successful test build with this change. Cc: Ian Campbell <Ian.Campbell@eu.citrix.com> Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
* x86: Switch to using pvops kernel by default for LinuxKeir Fraser2009-06-161-1/+5
| | | | | | Keave ia64 on 2.6.18 since it currently has no dom0 support in pvops Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
* Update XEN_LINUX_GIT_REMOTEBRANCH to match changes made in upstreamKeir Fraser2009-04-271-1/+1
| | | | | | | | repo. Needed if you want setting KERNELS=linux-2.6-pvops in config/Linux.mk to work. Signed-off-by: Alex Zeffert <alex.zeffert@eu.citrix.com> Acked-by: Ian Campbell <ian.campbell@citrix.com>
* Add missing pv_ops Linux buildconfig file.Keir Fraser2009-02-171-0/+14
|
* BUILD: Add option to build the Xen pvops git tree.Keir Fraser2009-02-171-8/+49
| | | | Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
* Do not print `***' when compiling unless we fall overKeir Fraser2009-01-121-2/+2
| | | | | | | | | | | | | | | This has finally bugged me enough to do something about it: make prints `***' when it stops due to an error. With make -j, and/or with automated build systems, this error marker can be in the middle of a large logfile. It is useful to be able to search for it. Therefore change occurrences of `*' to `=' for information and warning messages. `***' is reserved for cases where the build stops. A corresponding change is being applied to qemu-xen-unstable. Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
* Download external tarballs from xenbits.xensource.comKeir Fraser2009-01-051-1/+1
| | | | | | | | | | | | | | I have copied the tarballs that the xen-unstable build downloads to xenbits.xensource.com (which also hosts our hg and git). This patch changes the download URLs to use that location. That way the build will depend on only one external machine, under one administration, rather than many. Also it means that the build won't break if these sites become permanently unavailable or are rearranged and we don't run a risk of having to panic and beg if a file should go missing. Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
* Allow to specify Linux kernel config fileKeir Fraser2008-10-091-1/+3
| | | | | | | The env variable XEN_LINUX_CONFIG is used to specify this file. Signed-off-by: Jean Guyader <jean.guyader@eu.citrix.com>
* [BUILD] Support cloning Linux tree from a git repository.Keir Fraser2008-07-032-0/+74
| | | | | | Integrate the linux-2.6-tip tree as linux-2.6-tip-latest Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
* When building from a tarball release use hardcoded path toKeir Fraser2008-06-091-22/+29
| | | | | | | linux-2.6.18-xen.hg as a last resort when searching for a Linux source tree. Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
* i386: Remove non-PAE hypervisor build target.Keir Fraser2008-05-083-8/+0
| | | | Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* [BUILD] Disable LOCALVERSION_AUTO in upstream Linux builds.Keir Fraser2008-02-121-0/+1
| | | | | | | | | | If this option is enabled then the Xen mercurial version ID gets tacked onto the kernel version (e.g. 2.6.24-git22-hg2593b69b183b) which is unlikely to be useful or desirable. All the trees which we build using this method already have uniquely identifying versions (e.g. 2.6.24-git22 or 2.6.24-mm1). Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
* [BUILD] Fixup support for building upstream kernels.Keir Fraser2008-02-124-17/+79
| | | | | | | | | | In particular: - support merged x86 architecture. To facilitate this it made sense to encode some existing logic in shell scripts rather than increasing complicated make conditionals. - set CONFIG_PARAVIRT_GUEST=y which is required for newer kernels. Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
* [BUILD] Add option to ensure kernel build is non-interactive.Keir Fraser2008-02-121-1/+7
| | | | | | | | This is useful for the non 2.6.18-xen builds where the defconfig at any particular momement may require additional questions to be answered. Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
* Fix some build system error handling.Keir Fraser2007-12-202-2/+2
| | | | Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
* linux: Force build failure if modules build failsKeir Fraser2007-12-201-1/+1
| | | | | | | | | | | When building a linux kernel, if the modules build fails, then the build carries on regardless. The problem is simple - the "make modules" failure is not seen by the calling make since its return value is not what is returned. Signed-off-by: Mark McLoughlin <markmc@redhat.com>
* Refactor buildconfigs/mk.* to make the common rules separate from theIan Campbell2007-10-304-161/+162
| | | | | | -xen specific configuration. Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
* ALLOW_INTERFACE_MISMATCH defaults to "y" so don't specify itIan Campbell2007-10-304-8/+0
| | | | | | everywhere. Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
* Always use ketchup for tarball sources, since the only non-user wasIan Campbell2007-10-302-16/+0
| | | | | | the paravirt tree. Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
* Remove the linux-2.6-paravirt build target since it is obsolete now the code isIan Campbell2007-10-301-15/+0
| | | | | | upstream. Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
* Revert 16065:671dcd08e806 and try again to fix the issue.Keir Fraser2007-10-041-4/+6
| | | | | | | | Changing LINUX_VER causes us to clone the wrong repository so instead use the kernel's "kernelrelease" target to figure out the correct Linux version. Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
* Fix kernel version after linux-2.6.18-xen.hg 219:3e8752eb69dc whichKeir Fraser2007-10-041-1/+1
| | | | | | applied 2.6.18.8, Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
* ia64: Fix target for Linux image install.kfraser@localhost.localdomain2007-09-191-0/+4
| | | | Signed-off-by: Alex Williamson <alex.williamson@hp.com>
* Using "make install" causes a distro specific scriptIan Campbell2007-09-191-1/+4
| | | | | | | | | | | (/sbin/installkernel) to be called since linux-2.6.18-xen.hg 211:c1f5d027adf7. Unfortunately on some distros this script is broken for non-root use. Our needs are pretty simple anyway so just open code the installation of the kernel. Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
* silentoldconfig seems to break automated testing, try an explicit make prepareIan Campbell2007-08-171-4/+5
| | | | | | instead. Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
* Linux 2.6.18 doesn't create include/linux/autoconf.h as a side effectIan Campbell2007-08-171-4/+4
| | | | | | of make oldconfig. Use silentoldconfig instead. Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
* Pull XEN_LINUX_UPDATE into mk.linux-2.6-xen so it can be shared byIan Campbell2007-08-173-16/+16
| | | | | | src.tarball and src.hg-clone Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
* Build updates for building upstream trees.Ian Campbell2007-07-196-39/+23
| | | | | | | | | | | * Merge the guts of the various upstream branch buildconfigs into a single mk.linux-2.6 which they include. * Add support for the -git snapshot branch. * Update .hgignore to ignore all these new trees. * Update buildconfigs/enable-xen-config to make the upstream defconfig compile without questions. Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
* Add support for building -mm, -tip and -rc upstream trees.Ian Campbell2007-07-094-1/+43
| | | | | | | | (note that not all of those contains Xen support just yet and that a native kernel will be silently built in that case.) Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
* Add support to the tarball source type for using the ketchup tool.Ian Campbell2007-07-092-0/+753
| | | | Signed-off-by: Ian Campbell <ian.campbell@xensource.com>