ia64/xen-unstable

view linux-2.6-xen-sparse/arch/x86_64/ia32/Makefile @ 13647:057c4c2991fa

32-on-64: Fix an one-off error in compat_addr_ok().
Signed-off-by: Jan Beulich <jbeulich@novell.com>
author kaf24@localhost.localdomain
date Fri Jan 26 13:36:52 2007 +0000 (2007-01-26)
parents 3adf00179a63
children
line source
1 #
2 # Makefile for the ia32 kernel emulation subsystem.
3 #
5 obj-$(CONFIG_IA32_EMULATION) := ia32entry.o sys_ia32.o ia32_signal.o tls32.o \
6 ia32_binfmt.o fpu32.o ptrace32.o syscall32.o syscall32_syscall.o \
7 mmap32.o
9 sysv-$(CONFIG_SYSVIPC) := ipc32.o
10 obj-$(CONFIG_IA32_EMULATION) += $(sysv-y)
12 obj-$(CONFIG_IA32_AOUT) += ia32_aout.o
14 audit-class-$(CONFIG_AUDIT) := audit.o
15 obj-$(CONFIG_IA32_EMULATION) += $(audit-class-y)
17 $(obj)/syscall32_syscall.o: \
18 $(foreach F,sysenter syscall,$(obj)/vsyscall-$F.so)
20 # Teach kbuild about targets
21 targets := $(foreach F,sysenter syscall,vsyscall-$F.o vsyscall-$F.so)
23 # The DSO images are built using a special linker script
24 quiet_cmd_syscall = SYSCALL $@
25 cmd_syscall = $(CC) -m32 -nostdlib -shared -s \
26 $(call ld-option, -Wl$(comma)--hash-style=sysv) \
27 -Wl,-soname=linux-gate.so.1 -o $@ \
28 -Wl,-T,$(filter-out FORCE,$^)
30 $(obj)/vsyscall-int80.so \
31 $(obj)/vsyscall-sysenter.so $(obj)/vsyscall-syscall.so: \
32 $(obj)/vsyscall-%.so: $(src)/vsyscall.lds $(obj)/vsyscall-%.o FORCE
33 $(call if_changed,syscall)
35 AFLAGS_vsyscall-sysenter.o = -m32 -Wa,-32 -Iarch/i386/kernel
36 AFLAGS_vsyscall-syscall.o = -m32 -Wa,-32 -Iarch/i386/kernel
38 ifdef CONFIG_XEN
39 AFLAGS_vsyscall-int80.o = -m32 -Wa,-32 -Iarch/i386/kernel
40 CFLAGS_syscall32-xen.o += -DUSE_INT80
41 AFLAGS_syscall32_syscall-xen.o += -DUSE_INT80
43 $(obj)/syscall32_syscall-xen.o: \
44 $(foreach F,int80 sysenter syscall,$(obj)/vsyscall-$F.so)
46 targets := $(foreach F,int80 sysenter syscall,vsyscall-$F.o vsyscall-$F.so)
48 include $(srctree)/scripts/Makefile.xen
50 obj-y := $(call cherrypickxen, $(obj-y))
51 endif