direct-io.hg

view linux-2.6-xen-sparse/arch/x86_64/ia32/Makefile @ 11690:38f9bd7a4ce6

[NET] Make MAX_SKBUFF_ORDER page-size independent.
Original patch from Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@localhost.localdomain
date Tue Oct 03 11:39:22 2006 +0100 (2006-10-03)
parents 44e5abbf333b
children 3adf00179a63
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 $(obj)/syscall32_syscall.o: \
15 $(foreach F,sysenter syscall,$(obj)/vsyscall-$F.so)
17 # Teach kbuild about targets
18 targets := $(foreach F,sysenter syscall,vsyscall-$F.o vsyscall-$F.so)
20 # The DSO images are built using a special linker script
21 quiet_cmd_syscall = SYSCALL $@
22 cmd_syscall = $(CC) -m32 -nostdlib -shared -s \
23 -Wl,-soname=linux-gate.so.1 -o $@ \
24 -Wl,-T,$(filter-out FORCE,$^)
26 $(obj)/vsyscall-int80.so \
27 $(obj)/vsyscall-sysenter.so $(obj)/vsyscall-syscall.so: \
28 $(obj)/vsyscall-%.so: $(src)/vsyscall.lds $(obj)/vsyscall-%.o FORCE
29 $(call if_changed,syscall)
31 AFLAGS_vsyscall-sysenter.o = -m32 -Wa,-32 -Iarch/i386/kernel
32 AFLAGS_vsyscall-syscall.o = -m32 -Wa,-32 -Iarch/i386/kernel
34 ifdef CONFIG_XEN
35 AFLAGS_vsyscall-int80.o = -m32 -Wa,-32 -Iarch/i386/kernel
36 CFLAGS_syscall32-xen.o += -DUSE_INT80
37 AFLAGS_syscall32_syscall-xen.o += -DUSE_INT80
39 $(obj)/syscall32_syscall-xen.o: \
40 $(foreach F,int80 sysenter syscall,$(obj)/vsyscall-$F.so)
42 targets := $(foreach F,int80 sysenter syscall,vsyscall-$F.o vsyscall-$F.so)
44 include $(srctree)/scripts/Makefile.xen
46 obj-y := $(call cherrypickxen, $(obj-y))
47 endif