diff options
Diffstat (limited to 'arch/um/sys-x86_64/Makefile')
-rw-r--r-- | arch/um/sys-x86_64/Makefile | 28 |
1 files changed, 9 insertions, 19 deletions
diff --git a/arch/um/sys-x86_64/Makefile b/arch/um/sys-x86_64/Makefile index a351091fbd99..fd192119087f 100644 --- a/arch/um/sys-x86_64/Makefile +++ b/arch/um/sys-x86_64/Makefile | |||
@@ -4,30 +4,20 @@ | |||
4 | # Licensed under the GPL | 4 | # Licensed under the GPL |
5 | # | 5 | # |
6 | 6 | ||
7 | #XXX: why into lib-y? | 7 | obj-y = bugs.o delay.o fault.o ldt.o mem.o ptrace.o ptrace_user.o \ |
8 | lib-y = bitops.o bugs.o csum-partial.o delay.o fault.o ldt.o mem.o memcpy.o \ | 8 | sigcontext.o signal.o syscalls.o syscall_table.o sysrq.o ksyms.o |
9 | ptrace.o ptrace_user.o sigcontext.o signal.o syscalls.o \ | ||
10 | syscall_table.o sysrq.o thunk.o | ||
11 | lib-$(CONFIG_MODE_SKAS) += stub.o stub_segv.o | ||
12 | 9 | ||
13 | obj-y := ksyms.o | 10 | obj-$(CONFIG_MODE_SKAS) += stub.o stub_segv.o |
14 | obj-$(CONFIG_MODULES) += module.o um_module.o | 11 | obj-$(CONFIG_MODULES) += um_module.o |
15 | 12 | ||
16 | USER_OBJS := ptrace_user.o sigcontext.o stub_segv.o | 13 | subarch-obj-y = lib/bitops.o lib/csum-partial.o lib/memcpy.o lib/thunk.o |
14 | subarch-obj-$(CONFIG_MODULES) += kernel/module.o | ||
17 | 15 | ||
18 | SYMLINKS = bitops.c csum-copy.S csum-partial.c csum-wrappers.c ldt.c memcpy.S \ | 16 | ldt-y = ../sys-i386/ldt.o |
19 | thunk.S module.c | ||
20 | 17 | ||
21 | include arch/um/scripts/Makefile.rules | 18 | USER_OBJS := ptrace_user.o sigcontext.o stub_segv.o |
22 | 19 | ||
23 | bitops.c-dir = lib | 20 | include arch/um/scripts/Makefile.rules |
24 | csum-copy.S-dir = lib | ||
25 | csum-partial.c-dir = lib | ||
26 | csum-wrappers.c-dir = lib | ||
27 | ldt.c-dir = /arch/um/sys-i386 | ||
28 | memcpy.S-dir = lib | ||
29 | thunk.S-dir = lib | ||
30 | module.c-dir = kernel | ||
31 | 21 | ||
32 | $(obj)/stub_segv.o: _c_flags = $(call unprofile,$(CFLAGS)) | 22 | $(obj)/stub_segv.o: _c_flags = $(call unprofile,$(CFLAGS)) |
33 | 23 | ||