ia64/xen-unstable

changeset 1148:d0dacd33c1db

bitkeeper revision 1.768 (404909ffr4wvLzxTHDh9qHzdwhs66A)

Makefile, xen-clone, Xeno-HOWTO.txt:
Fix XL makefile to accept ARCH override from the environment.
author kaf24@scramble.cl.cam.ac.uk
date Fri Mar 05 23:15:11 2004 +0000 (2004-03-05)
parents 95d5df5c2097
children feda0390e00d
files Makefile docs/Xeno-HOWTO.txt tools/misc/xen-clone xenolinux-2.4.25-sparse/Makefile
line diff
     1.1 --- a/Makefile	Fri Mar 05 18:11:55 2004 +0000
     1.2 +++ b/Makefile	Fri Mar 05 23:15:11 2004 +0000
     1.3 @@ -4,7 +4,7 @@
     1.4  # Builds everything except Xenolinux:
     1.5  #  cd xenolinux-<version>-sparse
     1.6  #  ./mkbuildtree <build dir>
     1.7 -#  cd <build dir> && make ARCH=xeno oldconfig dep bzImage
     1.8 +#  cd <build dir> && ARCH=xeno make oldconfig dep bzImage
     1.9  #  (<build dir> should be a vanilla linux tree with matching version)
    1.10  
    1.11  all:	
     2.1 --- a/docs/Xeno-HOWTO.txt	Fri Mar 05 18:11:55 2004 +0000
     2.2 +++ b/docs/Xeno-HOWTO.txt	Fri Mar 05 23:15:11 2004 +0000
     2.3 @@ -95,8 +95,8 @@ oldconfig') but you can customise using 
     2.4  if you want.
     2.5  
     2.6    # cd /xeno-1.2.bk/xenolinux-2.4.24
     2.7 -  # make ARCH=xeno oldconfig   { or menuconfig, or xconfig, or config }  
     2.8 -  # make ARCH=xeno dep bzImage
     2.9 +  # ARCH=xeno make oldconfig   { or menuconfig, or xconfig, or config }  
    2.10 +  # ARCH=xeno make dep bzImage
    2.11  
    2.12  Assuming the build works, you'll end up with
    2.13  /xeno-1.2.bk/xenolinux-2.4.24/arch/xeno/boot/xenolinux.gz. This is the
     3.1 --- a/tools/misc/xen-clone	Fri Mar 05 18:11:55 2004 +0000
     3.2 +++ b/tools/misc/xen-clone	Fri Mar 05 23:15:11 2004 +0000
     3.3 @@ -86,11 +86,11 @@ cd ../..
     3.4  mv linux-${LINUX_VER} xenolinux-${LINUX_VER}
     3.5  cd xenolinux-${LINUX_VER}
     3.6  
     3.7 -make ARCH=xeno oldconfig
     3.8 -make ARCH=xeno dep
     3.9 -make ARCH=xeno bzImage
    3.10 -make ARCH=xeno dist || make ARCH=xeno install
    3.11 -make ARCH=xeno modules
    3.12 -make ARCH=xeno INSTALL_MOD_PATH=${TOP}/install modules_install
    3.13 +ARCH=xeno make oldconfig
    3.14 +ARCH=xeno make dep
    3.15 +ARCH=xeno make bzImage
    3.16 +ARCH=xeno make dist || ARCH=xeno make install
    3.17 +ARCH=xeno make modules
    3.18 +ARCH=xeno make INSTALL_MOD_PATH=${TOP}/install modules_install
    3.19  cd ..
    3.20  
     4.1 --- a/xenolinux-2.4.25-sparse/Makefile	Fri Mar 05 18:11:55 2004 +0000
     4.2 +++ b/xenolinux-2.4.25-sparse/Makefile	Fri Mar 05 23:15:11 2004 +0000
     4.3 @@ -9,7 +9,7 @@ KERNELRELEASE=$(VERSION).$(PATCHLEVEL).$
     4.4  # Unless overridden, by default ARCH is equivalent to SUBARCH.
     4.5  # This will be overriden for Xen and UML builds.
     4.6  SUBARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ -e s/arm.*/arm/ -e s/sa110/arm/)
     4.7 -ARCH := $(SUBARCH)
     4.8 +ARCH ?= $(SUBARCH)
     4.9  
    4.10  KERNELPATH=kernel-$(shell echo $(KERNELRELEASE) | sed -e "s/-//g")
    4.11