diff options
author | iap10@tetris.cl.cam.ac.uk <iap10@tetris.cl.cam.ac.uk> | 2005-06-17 23:05:16 +0000 |
---|---|---|
committer | iap10@tetris.cl.cam.ac.uk <iap10@tetris.cl.cam.ac.uk> | 2005-06-17 23:05:16 +0000 |
commit | ac5c611d7815fa57817241e7a7ea06f66ec16ddb (patch) | |
tree | 0621ad3304b455dd8e939566f72dc7205f282d6f | |
parent | 90865c024e1265787444ba83e98ed080a9150d18 (diff) | |
download | xen-ac5c611d7815fa57817241e7a7ea06f66ec16ddb.tar.gz xen-ac5c611d7815fa57817241e7a7ea06f66ec16ddb.tar.bz2 xen-ac5c611d7815fa57817241e7a7ea06f66ec16ddb.zip |
bitkeeper revision 1.1159.258.170 (42b3572cZGo7alQhMs_J2gWAK56DCg)
Subject: [Xen-devel] [PATCH] allow make O=/path/to/build/dir ARCH=XEN
kbuild allows building outside the source tree. this is useful when
building multiple configs (such as privileged and unprivileged domains).
this patch unbreaks this feature for xen-linux.
Signed-off-by: Avi Kivity <avi.kivity@qumranet.com>
Signed-off-by: ian@xensource.com
-rw-r--r-- | linux-2.6.11-xen-sparse/arch/xen/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/linux-2.6.11-xen-sparse/arch/xen/Makefile b/linux-2.6.11-xen-sparse/arch/xen/Makefile index 378dba9615..159006083d 100644 --- a/linux-2.6.11-xen-sparse/arch/xen/Makefile +++ b/linux-2.6.11-xen-sparse/arch/xen/Makefile @@ -27,15 +27,17 @@ include/.asm-ignore: include/asm @mv include/asm include/.asm-ignore @echo ' SYMLINK include/asm -> include/asm-$(XENARCH)' $(Q)if [ ! -d include ]; then mkdir -p include; fi; - @ln -fsn asm-$(XENARCH) include/asm + @ln -fsn $(srctree)/include/asm-$(XENARCH) include/asm include/asm-xen/asm: @echo ' SYMLINK $@ -> include/asm-xen/asm-$(XENARCH)' - @ln -fsn asm-$(XENARCH) $@ + @mkdir -p include/asm-xen + @ln -fsn $(srctree)/include/asm-xen/asm-$(XENARCH) $@ arch/xen/arch: @rm -f $@ - @ln -fsn $(XENARCH) $@ + @mkdir -p arch/xen + @ln -fsn $(srctree)/arch/xen/$(XENARCH) $@ arch/$(XENARCH)/kernel/asm-offsets.s: include/asm include/linux/version.h \ include/config/MARKER |