aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/sys-x86_64/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/sys-x86_64/Makefile')
-rw-r--r--arch/um/sys-x86_64/Makefile28
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? 7obj-y = bugs.o delay.o fault.o ldt.o mem.o ptrace.o ptrace_user.o \
8lib-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
11lib-$(CONFIG_MODE_SKAS) += stub.o stub_segv.o
12 9
13obj-y := ksyms.o 10obj-$(CONFIG_MODE_SKAS) += stub.o stub_segv.o
14obj-$(CONFIG_MODULES) += module.o um_module.o 11obj-$(CONFIG_MODULES) += um_module.o
15 12
16USER_OBJS := ptrace_user.o sigcontext.o stub_segv.o 13subarch-obj-y = lib/bitops.o lib/csum-partial.o lib/memcpy.o lib/thunk.o
14subarch-obj-$(CONFIG_MODULES) += kernel/module.o
17 15
18SYMLINKS = bitops.c csum-copy.S csum-partial.c csum-wrappers.c ldt.c memcpy.S \ 16ldt-y = ../sys-i386/ldt.o
19 thunk.S module.c
20 17
21include arch/um/scripts/Makefile.rules 18USER_OBJS := ptrace_user.o sigcontext.o stub_segv.o
22 19
23bitops.c-dir = lib 20include arch/um/scripts/Makefile.rules
24csum-copy.S-dir = lib
25csum-partial.c-dir = lib
26csum-wrappers.c-dir = lib
27ldt.c-dir = /arch/um/sys-i386
28memcpy.S-dir = lib
29thunk.S-dir = lib
30module.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