blob: c19794d435d68ddcd948e74fc66164f829ca1137 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# Copyright 2003 PathScale, Inc.
3#
4# Licensed under the GPL
5#
6
Al Virode2fe5e2006-03-31 02:30:11 -08007obj-y = bugs.o delay.o fault.o ldt.o mem.o ptrace.o ptrace_user.o \
Paolo 'Blaisorblade' Giarrussoaa6758d2006-03-31 02:30:22 -08008 sigcontext.o signal.o syscalls.o syscall_table.o sysrq.o ksyms.o \
9 tls.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070010
Al Virode2fe5e2006-03-31 02:30:11 -080011obj-$(CONFIG_MODE_SKAS) += stub.o stub_segv.o
12obj-$(CONFIG_MODULES) += um_module.o
13
14subarch-obj-y = lib/bitops.o lib/csum-partial.o lib/memcpy.o lib/thunk.o
15subarch-obj-$(CONFIG_MODULES) += kernel/module.o
16
17ldt-y = ../sys-i386/ldt.o
Paolo 'Blaisorblade' Giarrusso23352fc2005-05-05 16:15:16 -070018
Paolo 'Blaisorblade' Giarrusso7b12b912006-05-01 12:16:05 -070019USER_OBJS := ptrace_user.o sigcontext.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070020
Paolo 'Blaisorblade' Giarrussocb8aa3d2006-05-01 12:16:03 -070021USER_OBJS += user-offsets.s
22extra-y += user-offsets.s
Jeff Dikeba9950c2005-05-20 13:59:07 -070023
Al Viro7b99edc2006-03-31 02:30:12 -080024extra-$(CONFIG_MODE_TT) += unmap.o
Jeff Diked67b5692005-07-07 17:56:49 -070025
Paolo 'Blaisorblade' Giarrusso7b12b912006-05-01 12:16:05 -070026UNPROFILE_OBJS := stub_segv.o
27CFLAGS_stub_segv.o := $(CFLAGS_NO_HARDENING)
28
Paolo 'Blaisorblade' Giarrussocb8aa3d2006-05-01 12:16:03 -070029include arch/um/scripts/Makefile.rules
30
Paolo 'Blaisorblade' Giarrusso7b12b912006-05-01 12:16:05 -070031$(obj)/unmap.%: _c_flags = $(call unprofile,$(CFLAGS))