Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | # |
| 2 | # Copyright 2003 PathScale, Inc. |
| 3 | # |
| 4 | # Licensed under the GPL |
| 5 | # |
| 6 | |
Jeff Dike | e182c96 | 2006-12-08 02:36:23 -0800 | [diff] [blame^] | 7 | obj-y = bug.o bugs.o delay.o fault.o ldt.o mem.o ptrace.o ptrace_user.o \ |
Jeff Dike | 13c06be | 2006-09-25 23:32:59 -0700 | [diff] [blame] | 8 | setjmp.o sigcontext.o signal.o syscalls.o syscall_table.o sysrq.o \ |
| 9 | ksyms.o tls.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 10 | |
Al Viro | de2fe5e | 2006-03-31 02:30:11 -0800 | [diff] [blame] | 11 | obj-$(CONFIG_MODE_SKAS) += stub.o stub_segv.o |
| 12 | obj-$(CONFIG_MODULES) += um_module.o |
| 13 | |
| 14 | subarch-obj-y = lib/bitops.o lib/csum-partial.o lib/memcpy.o lib/thunk.o |
| 15 | subarch-obj-$(CONFIG_MODULES) += kernel/module.o |
| 16 | |
| 17 | ldt-y = ../sys-i386/ldt.o |
Paolo 'Blaisorblade' Giarrusso | 23352fc | 2005-05-05 16:15:16 -0700 | [diff] [blame] | 18 | |
Paolo 'Blaisorblade' Giarrusso | 7b12b91 | 2006-05-01 12:16:05 -0700 | [diff] [blame] | 19 | USER_OBJS := ptrace_user.o sigcontext.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 20 | |
Paolo 'Blaisorblade' Giarrusso | cb8aa3d | 2006-05-01 12:16:03 -0700 | [diff] [blame] | 21 | USER_OBJS += user-offsets.s |
| 22 | extra-y += user-offsets.s |
Jeff Dike | ba9950c | 2005-05-20 13:59:07 -0700 | [diff] [blame] | 23 | |
Al Viro | 7b99edc | 2006-03-31 02:30:12 -0800 | [diff] [blame] | 24 | extra-$(CONFIG_MODE_TT) += unmap.o |
Jeff Dike | d67b569 | 2005-07-07 17:56:49 -0700 | [diff] [blame] | 25 | |
Paolo 'Blaisorblade' Giarrusso | 7b12b91 | 2006-05-01 12:16:05 -0700 | [diff] [blame] | 26 | UNPROFILE_OBJS := stub_segv.o |
| 27 | CFLAGS_stub_segv.o := $(CFLAGS_NO_HARDENING) |
| 28 | |
Paolo 'Blaisorblade' Giarrusso | cb8aa3d | 2006-05-01 12:16:03 -0700 | [diff] [blame] | 29 | include arch/um/scripts/Makefile.rules |
| 30 | |
Paolo 'Blaisorblade' Giarrusso | 7b12b91 | 2006-05-01 12:16:05 -0700 | [diff] [blame] | 31 | $(obj)/unmap.%: _c_flags = $(call unprofile,$(CFLAGS)) |