direct-io.hg

changeset 5500:e6fd8713fa10

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
author iap10@tetris.cl.cam.ac.uk
date Fri Jun 17 23:05:16 2005 +0000 (2005-06-17)
parents ae0cf78f78bd
children 0d1166678d9b
files linux-2.6.11-xen-sparse/arch/xen/Makefile
line diff
     1.1 --- a/linux-2.6.11-xen-sparse/arch/xen/Makefile	Fri Jun 17 22:43:46 2005 +0000
     1.2 +++ b/linux-2.6.11-xen-sparse/arch/xen/Makefile	Fri Jun 17 23:05:16 2005 +0000
     1.3 @@ -27,15 +27,17 @@ include/.asm-ignore: include/asm
     1.4  	@mv include/asm include/.asm-ignore
     1.5  	@echo '  SYMLINK include/asm -> include/asm-$(XENARCH)'
     1.6  	$(Q)if [ ! -d include ]; then mkdir -p include; fi;
     1.7 -	@ln -fsn asm-$(XENARCH) include/asm
     1.8 +	@ln -fsn $(srctree)/include/asm-$(XENARCH) include/asm
     1.9  
    1.10  include/asm-xen/asm:
    1.11  	@echo '  SYMLINK $@ -> include/asm-xen/asm-$(XENARCH)'
    1.12 -	@ln -fsn asm-$(XENARCH) $@
    1.13 +	@mkdir -p include/asm-xen
    1.14 +	@ln -fsn $(srctree)/include/asm-xen/asm-$(XENARCH) $@
    1.15  
    1.16  arch/xen/arch:
    1.17  	@rm -f $@
    1.18 -	@ln -fsn $(XENARCH) $@
    1.19 +	@mkdir -p arch/xen
    1.20 +	@ln -fsn $(srctree)/arch/xen/$(XENARCH) $@
    1.21  
    1.22  arch/$(XENARCH)/kernel/asm-offsets.s: include/asm include/linux/version.h \
    1.23  				   include/config/MARKER