diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-01-17 16:42:34 +0000 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-01-17 16:42:34 +0000 |
commit | 9d15d8d54a82cc665b83e98ecb03ef68e123f718 (patch) | |
tree | 7af1e95268204a7a7db83c1cd61d6b4f2cc3dbfa /Makefile | |
parent | cc1ecba9d6c3894a4ebb35c920a9a1348d3ac8e5 (diff) | |
download | xen-9d15d8d54a82cc665b83e98ecb03ef68e123f718.tar.gz xen-9d15d8d54a82cc665b83e98ecb03ef68e123f718.tar.bz2 xen-9d15d8d54a82cc665b83e98ecb03ef68e123f718.zip |
Export XEN_TARGET_ARCH to buildconfig sub-Makefiles even if it is not
specified on the command line.
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -2,18 +2,15 @@ # Grand Unified Makefile for Xen. # -# Export target architecture overrides to Xen and Linux sub-trees. -ifneq ($(XEN_TARGET_ARCH),) -SUBARCH := $(subst x86_32,i386,$(XEN_TARGET_ARCH)) -export XEN_TARGET_ARCH SUBARCH XEN_SYSTYPE -endif - # Default target must appear before any include lines .PHONY: all all: dist export XEN_ROOT=$(CURDIR) include Config.mk + +SUBARCH := $(subst x86_32,i386,$(XEN_TARGET_ARCH)) +export XEN_TARGET_ARCH SUBARCH XEN_SYSTYPE include buildconfigs/Rules.mk ifeq ($(XEN_TARGET_X86_PAE),y) |