Merge tag 'for-4.6' of git://git.osdn.jp/gitroot/uclinux-h8/linux
[deliverable/linux.git] / arch / x86 / um / Makefile
CommitLineData
6582b7f7
AV
1#
2# Copyright (C) 2002 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
3#
4
5ifeq ($(CONFIG_X86_32),y)
6 BITS := 32
7else
8 BITS := 64
9endif
10
d0af6cbf 11obj-y = bug.o bugs_$(BITS).o delay.o fault.o ksyms.o ldt.o \
f67aa2ff 12 ptrace_$(BITS).o ptrace_user.o setjmp_$(BITS).o signal.o \
5b3eb3ad 13 stub_$(BITS).o stub_segv.o \
5c48b108
AV
14 sys_call_table_$(BITS).o sysrq_$(BITS).o tls_$(BITS).o \
15 mem_$(BITS).o subarch.o os-$(OS)/
6582b7f7
AV
16
17ifeq ($(CONFIG_X86_32),y)
18
19obj-y += checksum_32.o
42d91f61 20obj-$(CONFIG_ELF_CORE) += elfcore.o
6582b7f7 21
5c48b108
AV
22subarch-y = ../lib/string_32.o ../lib/atomic64_32.o ../lib/atomic64_cx8_32.o
23subarch-$(CONFIG_RWSEM_XCHGADD_ALGORITHM) += ../lib/rwsem.o
6582b7f7
AV
24
25else
26
5b3eb3ad 27obj-y += syscalls_64.o vdso/
6582b7f7 28
e6b93f4e 29subarch-y = ../lib/csum-partial_64.o ../lib/memcpy_64.o ../entry/thunk_64.o \
5c48b108 30 ../lib/rwsem.o
6582b7f7
AV
31
32endif
33
5c48b108 34subarch-$(CONFIG_MODULES) += ../kernel/module.o
6582b7f7
AV
35
36USER_OBJS := bugs_$(BITS).o ptrace_user.o fault.o
37
38extra-y += user-offsets.s
45db1c61
PA
39$(obj)/user-offsets.s: c_flags = -Wp,-MD,$(depfile) $(USER_CFLAGS) \
40 -Iarch/x86/include/generated
6582b7f7
AV
41
42UNPROFILE_OBJS := stub_segv.o
43CFLAGS_stub_segv.o := $(CFLAGS_NO_HARDENING)
44
45include arch/um/scripts/Makefile.rules
This page took 0.326785 seconds and 5 git commands to generate.