aboutsummaryrefslogtreecommitdiffstats
path: root/buildconfigs
Commit message (Collapse)AuthorAgeFilesLines
* [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>
* Add hooks for a script to update kernel configuration after tree has beenIan Campbell2007-07-093-1/+43
| | | | | | | prepared. This is to support upstream sources which do not enable Xen in their default configurations. Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
* Remove .hgskip. This was an ancient mercurial patch which was neverIan Campbell2007-07-091-1/+0
| | | | | | taken upstream. Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
* By default allow differences between Xen and XenLinux public headers.Keir Fraser2007-06-271-0/+5
| | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* Allow make targets to be called via make -Ckfraser@localhost.localdomain2007-06-131-3/+3
| | | | | | | | Change PWD to CURDIR in new mk.linux-2.6-xen to allow make targets to be called via a make -C From: Ben Guthro <bguthro@virtualiron.com> Signed-off-by: Keir Fraser <keir@xensource.com>
* [PATCH] Check for non-existent local repoIan Campbell2007-06-051-3/+7
| | | | | | | | Check for non-existent local clone in select-repository. Also change the #!/bin/bash to #!/bin/sh since the Makefile is calling it explicitly with sh, and fix a couple other typos. Signed-off-by: Aron Griffis <aron@hp.com>
* BUILD: Clone the Linux tree if it wasn't found via $(LINUX_SRC_PATH)Ian Campbell2007-06-052-2/+11
| | | | | | | | | | | | | even if it happens to be a local directory. If we located the Linux tree by deriving the path from "hg path default" and it is a local path then prepend "file://" to prevent us trying to symlink it. Unfortunately mercurial doesn't understand file:// URLs so we have to strip it off again before calling hg clone. Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
* If we find a Linux repository in $(LINUX_SRC_PATH) then symlink itIan Campbell2007-06-041-7/+14
| | | | | | | | instead of cloning it. This enables developers to keep a linux tree separate to their xen repository and to make changes there which are picked up by the Xen build. Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
* Remove $(LINUX_SRCDIR) on distclean.Ian Campbell2007-06-041-1/+1
| | | | Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
* Remove sparse tree.Ian Campbell2007-06-0413-16540/+0
| | | | Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
* Switch over to separate Linux tree.Ian Campbell2007-06-041-1/+1
| | | | | | | | | The sparse tree is now deprecated and will deleted in due course. The xen-unstable build system will automatically clone the correct Linux tree for you and all the old makefile targets (dist/linux-2.6-xen{,0,U}/etc) should continue to work. Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
* Updates for XEN_LINUX_SOURCE=hg-clone.Ian Campbell2007-05-315-20/+82
| | | | | | | | | | | | | | | | | | By default search for mercurial repositories in $(LINUX_SRC_PATH) followed by a location derived from the current Xen repository's default parent. e.g. A clone of http://xenbits.xensource.com/xen-unstable.hg will derive http://xenbits.xensource.com/linux-2.6.18-xen.hg. A specific repository can be specified by giving XEN_LINUX_HGREPO=<URL or path> on the make command line. Add capability to put XEN_LINUX_UPDATE=y on the make command line to update the Linux repository. Disabled by default since we don't want to touch a developers repository without permission. Dropped XEN_LINUX_HGUPDATES since it was unecessary and confusing. Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
* Make header mismatch checking more robust against build time changes inIan Campbell2007-05-302-1/+9
| | | | | | | | | | xen/include/public/foreign. Unfortunately diff's -x and -X options do not support excluding paths just individual files so we have to list unqualified filenames. This is ok for now since there are no filename clashes. Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
* Check for mismatch between headers shared by Linux and Xen.Ian Campbell2007-05-305-0/+18
| | | | | | | | This is only enabled for the linux-2.6-xen tree and is intended to ensure that the separate Linux tree stays up to date once we switch away from the sparse tree. Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
* Factor out sparse tree makefile fragments and introduce hg-clone andIan Campbell2007-05-2512-129/+243
| | | | | | | | | | | | | tarball methods in preparation for migrating away from the sparse tree layout. This re-introduces 14883:6568c1882af5 and 14862:98efd2e410ae plus further fixes. Also add makefile fragments to support building the paravirt ops tree (make linux-2.6-paravirt-build). Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
* [IA64] Switch to CONFIG_IA64_GENERIC config and wire in Xen machine vectorAlex Williamson2007-05-073-42/+94
| | | | | | | This enables the switch to the generic flavor ia64 kernel for the -xen and -xen0 kernels. -xenU is changed to a CONFIG_IA64_XEN build. Signed-off-by: Alex Williamson <alex.williamson@hp.com>
* Revert 14883:6568c1882af5 and 14862:98efd2e410ae.kfraser@localhost.localdomain2007-04-206-167/+118
| | | | | | | | | | | This reverts the preparation for removing the sparse tree, since these modified scripts are not yet ready: 1. XENGUEST suffix was lost yet depended on still by sparse tree Makefiles (hacked around by 14883; also reverted). 2. XEN_TARGET_X86_PAE default value seems to be ignored (out-of-the-box 'make dist' will build non-PAE kernels). Signed-off-by: Keir Fraser <keir@xensource.com>
* Allow use of foo.local buildconfig overrides.kfraser@localhost.localdomain2007-04-171-0/+1
| | | | | From: Jeremy Fitzhardinge <jeremy@goop.org> Signed-off-by: Keir Fraser <keir@xensource.com>
* Factor out sparse tree makefile fragments and introduce an alternative hg-cloneIan Campbell2007-04-166-118/+167
| | | | | | method in preparation for migrating away from the sparse tree layout. Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
* Update defconfigs for new XEN_COMPAT_300004 option.Ian Campbell2007-03-1310-0/+20
| | | | Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
* linux: Upgrade to latest Xen interface version (0x00030205).kfraser@localhost.localdomain2007-03-099-9/+9
| | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* merge with xen-unstable.hgawilliam@xenbuild2.aw2007-02-041-0/+1
|\
| * Fix xen-x86_32 defconfig to includean option needed for PAE builds.kaf24@firebug.cl.cam.ac.uk2007-02-011-0/+1
| | | | | | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* | merge with xen-unstable.hgawilliam@xenbuild2.aw2007-01-315-5/+5
|\|
| * linux: Build TPM backend as a module by default.kaf24@localhost.localdomain2007-01-305-5/+5
| | | | | | | | Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
* | [IA64] Update buildconfigsawilliam@xenbuild2.aw2007-01-293-152/+439
|/ | | | | | Mainly just taking defaults from make oldconfig. Signed-off-by: Alex Williamson <alex.williamson@hp.com>
* Re-enable CONFIG_HOTPLUG_CPU by deafult for -xen? kernels.Steven Hand2007-01-222-2/+2
| | | | Signed-off-by: Steven Hand <steven@xensource.com>
* [merge] with xen-unstableChristian Limpach2007-01-1910-25/+8
|\ | | | | | | | | Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
| * [linux networking] Remove the code to allocate page sized skbs.Christian Limpach2007-01-189-21/+0
| | | | | | | | | | | | | | | | This is no longer used much since the default is to always copy packets to guests. Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>