mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
bitkeeper revision 1.768 (404909ffr4wvLzxTHDh9qHzdwhs66A)
Makefile, xen-clone, Xeno-HOWTO.txt: Fix XL makefile to accept ARCH override from the environment.
This commit is contained in:
1 parent
7279f9240b
commit
b2757765c3
4 files changed
+10
-10
No files matched your search
@@ -4,7 +4,7 @@
|
||||
# Builds everything except Xenolinux:
|
||||
# cd xenolinux-<version>-sparse
|
||||
# ./mkbuildtree <build dir>
|
||||
# cd <build dir> && make ARCH=xeno oldconfig dep bzImage
|
||||
# cd <build dir> && ARCH=xeno make oldconfig dep bzImage
|
||||
# (<build dir> should be a vanilla linux tree with matching version)
|
||||
|
||||
all:
|
||||
|
||||
+2
-2
@@ -95,8 +95,8 @@ oldconfig') but you can customise using one of the other config tools
|
||||
if you want.
|
||||
|
||||
# cd /xeno-1.2.bk/xenolinux-2.4.24
|
||||
# make ARCH=xeno oldconfig { or menuconfig, or xconfig, or config }
|
||||
# make ARCH=xeno dep bzImage
|
||||
# ARCH=xeno make oldconfig { or menuconfig, or xconfig, or config }
|
||||
# ARCH=xeno make dep bzImage
|
||||
|
||||
Assuming the build works, you'll end up with
|
||||
/xeno-1.2.bk/xenolinux-2.4.24/arch/xeno/boot/xenolinux.gz. This is the
|
||||
|
||||
@@ -86,11 +86,11 @@ cd ../..
|
||||
mv linux-${LINUX_VER} xenolinux-${LINUX_VER}
|
||||
cd xenolinux-${LINUX_VER}
|
||||
|
||||
make ARCH=xeno oldconfig
|
||||
make ARCH=xeno dep
|
||||
make ARCH=xeno bzImage
|
||||
make ARCH=xeno dist || make ARCH=xeno install
|
||||
make ARCH=xeno modules
|
||||
make ARCH=xeno INSTALL_MOD_PATH=${TOP}/install modules_install
|
||||
ARCH=xeno make oldconfig
|
||||
ARCH=xeno make dep
|
||||
ARCH=xeno make bzImage
|
||||
ARCH=xeno make dist || ARCH=xeno make install
|
||||
ARCH=xeno make modules
|
||||
ARCH=xeno make INSTALL_MOD_PATH=${TOP}/install modules_install
|
||||
cd ..
|
||||
|
||||
@@ -9,7 +9,7 @@ KERNELRELEASE=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
|
||||
# Unless overridden, by default ARCH is equivalent to SUBARCH.
|
||||
# This will be overriden for Xen and UML builds.
|
||||
SUBARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ -e s/arm.*/arm/ -e s/sa110/arm/)
|
||||
ARCH := $(SUBARCH)
|
||||
ARCH ?= $(SUBARCH)
|
||||
|
||||
KERNELPATH=kernel-$(shell echo $(KERNELRELEASE) | sed -e "s/-//g")
|
||||
|
||||
|
||||