aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>2005-01-27 13:44:41 +0000
committerkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>2005-01-27 13:44:41 +0000
commit04ce93fe81e83a89a74770bff096e12f4b1b411a (patch)
tree83349c0443288ee68bc7970e3758c411eebdec33 /Makefile
parent2f34aafbb609ff31be3fd880538c65ee78e379f0 (diff)
downloadxen-04ce93fe81e83a89a74770bff096e12f4b1b411a.tar.gz
xen-04ce93fe81e83a89a74770bff096e12f4b1b411a.tar.bz2
xen-04ce93fe81e83a89a74770bff096e12f4b1b411a.zip
bitkeeper revision 1.1159.223.45 (41f8f049ZJjSGVQ7S0Y7kGBwMIZfZQ)
No longer override target arch with ARCH but instead use TARGET_ARCH. Xen now requires specification of TARGET_ARCH alone, not TARGET_ARCH and TARGET_SUBARCH. Xen derives correct internal ARCH/SUBARCH components automatically.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 094acb7fe4..73098aa3dd 100644
--- a/Makefile
+++ b/Makefile
@@ -22,9 +22,9 @@ XKERNELS := $(foreach kernel, $(KERNELS), $(patsubst buildconfigs/mk.%,%,$(wildc
export DESTDIR
# Export target architecture overrides to Xen and Linux sub-trees.
-ifneq ($(ARCH),)
-export TARGET_SUBARCH := $(ARCH)
-export SUBARCH := $(subst x86_32,i386,$(ARCH))
+ifneq ($(TARGET_ARCH),)
+SUBARCH := $(subst x86_32,i386,$(ARCH))
+export TARGET_ARCH SUBARCH
endif
include buildconfigs/Rules.mk
@@ -42,8 +42,8 @@ install: xen checked-tools kernels docs
# Only check for install req'mts on 'make install', not on 'make dist'.
checked-tools:
- $(MAKE) ARCH=$(ARCH) -C tools/check install
- $(MAKE) ARCH=$(ARCH) -C tools install
+ $(MAKE) -C tools/check install
+ $(MAKE) -C tools install
# build and install everything into local dist directory
dist: xen tools kernels docs
@@ -57,7 +57,7 @@ xen:
$(MAKE) -C xen install
tools:
- $(MAKE) ARCH=$(ARCH) -C tools install
+ $(MAKE) -C tools install
kernels:
for i in $(XKERNELS) ; do $(MAKE) $$i-build || exit 1; done
@@ -92,7 +92,7 @@ world:
# clean doesn't do a kclean
clean:
$(MAKE) -C xen clean
- $(MAKE) ARCH=$(ARCH) -C tools clean
+ $(MAKE) -C tools clean
$(MAKE) -C docs clean
# clean, but blow away kernel build tree plus tar balls