diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
commit | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch) | |
tree | 0bba044c4ce775e45a88a51686b5d9f90697ea9d /arch/x86_64/ia32/Makefile |
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.
Let it rip!
Diffstat (limited to 'arch/x86_64/ia32/Makefile')
-rw-r--r-- | arch/x86_64/ia32/Makefile | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/arch/x86_64/ia32/Makefile b/arch/x86_64/ia32/Makefile new file mode 100644 index 000000000000..a12b19da4b59 --- /dev/null +++ b/arch/x86_64/ia32/Makefile | |||
@@ -0,0 +1,32 @@ | |||
1 | # | ||
2 | # Makefile for the ia32 kernel emulation subsystem. | ||
3 | # | ||
4 | |||
5 | obj-$(CONFIG_IA32_EMULATION) := ia32entry.o sys_ia32.o ia32_ioctl.o \ | ||
6 | ia32_signal.o tls32.o \ | ||
7 | ia32_binfmt.o fpu32.o ptrace32.o syscall32.o | ||
8 | |||
9 | sysv-$(CONFIG_SYSVIPC) := ipc32.o | ||
10 | obj-$(CONFIG_IA32_EMULATION) += $(sysv-y) | ||
11 | |||
12 | obj-$(CONFIG_IA32_AOUT) += ia32_aout.o | ||
13 | |||
14 | $(obj)/syscall32.o: $(src)/syscall32.c \ | ||
15 | $(foreach F,sysenter syscall,$(obj)/vsyscall-$F.so) | ||
16 | |||
17 | # Teach kbuild about targets | ||
18 | targets := $(foreach F,sysenter syscall,vsyscall-$F.o vsyscall-$F.so) | ||
19 | |||
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,$^) | ||
25 | |||
26 | $(obj)/vsyscall-sysenter.so $(obj)/vsyscall-syscall.so: \ | ||
27 | $(obj)/vsyscall-%.so: $(src)/vsyscall.lds $(obj)/vsyscall-%.o FORCE | ||
28 | $(call if_changed,syscall) | ||
29 | |||
30 | AFLAGS_vsyscall-sysenter.o = -m32 | ||
31 | AFLAGS_vsyscall-syscall.o = -m32 | ||
32 | CFLAGS_ia32_ioctl.o += -Ifs/ | ||