Back to home page

LXR

 
 

    


0001 #
0002 # Copyright (C) 2002 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
0003 #
0004 
0005 ifeq ($(CONFIG_X86_32),y)
0006         BITS := 32
0007 else
0008         BITS := 64
0009 endif
0010 
0011 obj-y = bug.o bugs_$(BITS).o delay.o fault.o ldt.o \
0012         ptrace_$(BITS).o ptrace_user.o setjmp_$(BITS).o signal.o \
0013         stub_$(BITS).o stub_segv.o \
0014         sys_call_table_$(BITS).o sysrq_$(BITS).o tls_$(BITS).o \
0015         mem_$(BITS).o subarch.o os-$(OS)/
0016 
0017 ifeq ($(CONFIG_X86_32),y)
0018 
0019 obj-y += checksum_32.o
0020 obj-$(CONFIG_ELF_CORE) += elfcore.o
0021 
0022 subarch-y = ../lib/string_32.o ../lib/atomic64_32.o ../lib/atomic64_cx8_32.o
0023 subarch-$(CONFIG_RWSEM_XCHGADD_ALGORITHM) += ../lib/rwsem.o
0024 
0025 else
0026 
0027 obj-y += syscalls_64.o vdso/
0028 
0029 subarch-y = ../lib/csum-partial_64.o ../lib/memcpy_64.o ../entry/thunk_64.o \
0030                 ../lib/rwsem.o
0031 
0032 endif
0033 
0034 subarch-$(CONFIG_MODULES) += ../kernel/module.o
0035 
0036 USER_OBJS := bugs_$(BITS).o ptrace_user.o fault.o
0037 
0038 extra-y += user-offsets.s
0039 $(obj)/user-offsets.s: c_flags = -Wp,-MD,$(depfile) $(USER_CFLAGS) \
0040         -Iarch/x86/include/generated
0041 
0042 UNPROFILE_OBJS := stub_segv.o
0043 CFLAGS_stub_segv.o := $(CFLAGS_NO_HARDENING)
0044 
0045 include arch/um/scripts/Makefile.rules