ia64/xen-unstable

changeset 6326:f6aa23148c19

Fix out-of-source-tree build problem.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
author kaf24@firebug.cl.cam.ac.uk
date Mon Aug 22 09:43:58 2005 +0000 (2005-08-22)
parents 8cc3e7262a23
children 21d2b0144306
files linux-2.6-xen-sparse/arch/xen/x86_64/ia32/Makefile
line diff
     1.1 --- a/linux-2.6-xen-sparse/arch/xen/x86_64/ia32/Makefile	Mon Aug 22 09:37:27 2005 +0000
     1.2 +++ b/linux-2.6-xen-sparse/arch/xen/x86_64/ia32/Makefile	Mon Aug 22 09:43:58 2005 +0000
     1.3 @@ -36,8 +36,8 @@ quiet_cmd_syscall = SYSCALL $@
     1.4  	$(call if_changed,syscall)
     1.5  
     1.6  AFLAGS_vsyscall-int80.o = -m32 -I$(obj)
     1.7 -AFLAGS_vsyscall-sysenter.o = -m32
     1.8 -AFLAGS_vsyscall-syscall.o = -m32
     1.9 +AFLAGS_vsyscall-sysenter.o = -m32 -I$(obj)
    1.10 +AFLAGS_vsyscall-syscall.o = -m32 -I$(obj)
    1.11  CFLAGS_ia32_ioctl.o += -Ifs/
    1.12  
    1.13  s-link	:= vsyscall-syscall.o vsyscall-sysenter.o vsyscall-sigreturn.o
    1.14 @@ -48,13 +48,11 @@ s-link	:= vsyscall-syscall.o vsyscall-sy
    1.15  $(patsubst %.o,$(obj)/%.c,$(c-obj-y) $(c-link)) $(patsubst %.o,$(obj)/%.S,$(s-obj-y) $(s-link)):
    1.16  	@ln -fsn $(srctree)/arch/x86_64/ia32/$(notdir $@) $@
    1.17  
    1.18 -$(obj)/vsyscall-int80.S: $(obj)/vsyscall-sigreturn.S ../../i386/kernel/vsyscall-note.S
    1.19 -$(obj)/vsyscall-sysenter.S: $(obj)/vsyscall-sigreturn.S
    1.20 -$(obj)/vsyscall-syscall.S: $(obj)/vsyscall-sigreturn.S
    1.21 +$(obj)/vsyscall-int80.o $(obj)/vsyscall-sysenter.o $(obj)/vsyscall-syscall.o: \
    1.22 +	$(obj)/vsyscall-sigreturn.S $(obj)/../../i386/kernel/vsyscall-note.S
    1.23  
    1.24 -../../i386/kernel/vsyscall-note.S:
    1.25 -	@ln -fsn $(srctree)/arch/i386/kernel/$(notdir $@) $(srctree)/arch/xen/i386/kernel/$(notdir $@)
    1.26 -	make -C arch/xen/i386/kernel vsyscall-note.S
    1.27 +$(obj)/../../i386/kernel/vsyscall-note.S:
    1.28 +	@ln -fsn $(srctree)/arch/i386/kernel/$(notdir $@) $@
    1.29  
    1.30  obj-y	+= $(c-obj-y) $(s-obj-y)
    1.31