Makefile (03ab8e6297acd1bc0eedaa050e2a1635c576fd11) Makefile (5b301409e8bc5d7fad2ee138be44c5c529dd0874)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Copyright (C) 2002 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
4#
5
6ifeq ($(CONFIG_X86_32),y)
7 BITS := 32
8else

--- 14 unchanged lines hidden (view full) ---

23subarch-y = ../lib/string_32.o ../lib/atomic64_32.o ../lib/atomic64_cx8_32.o
24subarch-y += ../lib/cmpxchg8b_emu.o ../lib/atomic64_386_32.o
25subarch-y += ../kernel/sys_ia32.o
26
27else
28
29obj-y += syscalls_64.o vdso/
30
1# SPDX-License-Identifier: GPL-2.0
2#
3# Copyright (C) 2002 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
4#
5
6ifeq ($(CONFIG_X86_32),y)
7 BITS := 32
8else

--- 14 unchanged lines hidden (view full) ---

23subarch-y = ../lib/string_32.o ../lib/atomic64_32.o ../lib/atomic64_cx8_32.o
24subarch-y += ../lib/cmpxchg8b_emu.o ../lib/atomic64_386_32.o
25subarch-y += ../kernel/sys_ia32.o
26
27else
28
29obj-y += syscalls_64.o vdso/
30
31subarch-y = ../lib/csum-partial_64.o ../lib/memcpy_64.o ../entry/thunk_64.o
31subarch-y = ../lib/csum-partial_64.o ../lib/memcpy_64.o ../entry/thunk_64.o \
32 ../lib/memmove_64.o ../lib/memset_64.o
32
33endif
34
35subarch-$(CONFIG_MODULES) += ../kernel/module.o
36
37USER_OBJS := bugs_$(BITS).o ptrace_user.o fault.o
38
39$(obj)/user-offsets.s: c_flags = -Wp,-MD,$(depfile) $(USER_CFLAGS) \
40 -Iarch/x86/include/generated
41targets += user-offsets.s
42
43include/generated/user_constants.h: $(obj)/user-offsets.s FORCE
44 $(call filechk,offsets,__USER_CONSTANT_H__)
45
46UNPROFILE_OBJS := stub_segv.o
47CFLAGS_stub_segv.o := $(CFLAGS_NO_HARDENING)
48
49include arch/um/scripts/Makefile.rules
33
34endif
35
36subarch-$(CONFIG_MODULES) += ../kernel/module.o
37
38USER_OBJS := bugs_$(BITS).o ptrace_user.o fault.o
39
40$(obj)/user-offsets.s: c_flags = -Wp,-MD,$(depfile) $(USER_CFLAGS) \
41 -Iarch/x86/include/generated
42targets += user-offsets.s
43
44include/generated/user_constants.h: $(obj)/user-offsets.s FORCE
45 $(call filechk,offsets,__USER_CONSTANT_H__)
46
47UNPROFILE_OBJS := stub_segv.o
48CFLAGS_stub_segv.o := $(CFLAGS_NO_HARDENING)
49
50include arch/um/scripts/Makefile.rules