2 # Copyright 2003 PathScale, Inc.
4 # Licensed under the GPL
7 obj-y = bug.o bugs.o delay.o fault.o ldt.o mem.o ptrace.o ptrace_user.o \
8 setjmp.o sigcontext.o signal.o syscalls.o syscall_table.o sysrq.o \
11 obj-$(CONFIG_MODE_SKAS) += stub.o stub_segv.o
12 obj-$(CONFIG_MODULES) += um_module.o
14 subarch-obj-y = lib/bitops_64.o lib/csum-partial_64.o lib/memcpy_64.o lib/thunk_64.o
15 subarch-obj-$(CONFIG_MODULES) += kernel/module_64.o
17 ldt-y = ../sys-i386/ldt.o
19 USER_OBJS := ptrace_user.o sigcontext.o
21 USER_OBJS += user-offsets.s
22 extra-y += user-offsets.s
24 extra-$(CONFIG_MODE_TT) += unmap.o
26 UNPROFILE_OBJS := stub_segv.o
27 CFLAGS_stub_segv.o := $(CFLAGS_NO_HARDENING)
29 include arch/um/scripts/Makefile.rules
31 $(obj)/unmap.%: _c_flags = $(call unprofile,$(CFLAGS))