~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/x86/um/Makefile

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 # SPDX-License-Identifier: GPL-2.0
  2 #
  3 # Copyright (C) 2002 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
  4 #
  5 
  6 ifeq ($(CONFIG_X86_32),y)
  7         BITS := 32
  8 else
  9         BITS := 64
 10 endif
 11 
 12 obj-y = bugs_$(BITS).o delay.o fault.o \
 13         ptrace_$(BITS).o ptrace_user.o setjmp_$(BITS).o signal.o \
 14         stub_segv.o \
 15         sys_call_table_$(BITS).o sysrq_$(BITS).o tls_$(BITS).o \
 16         mem_$(BITS).o subarch.o os-Linux/
 17 
 18 ifeq ($(CONFIG_X86_32),y)
 19 
 20 obj-y += syscalls_32.o
 21 obj-$(CONFIG_ELF_CORE) += elfcore.o
 22 
 23 subarch-y = ../lib/string_32.o ../lib/atomic64_32.o ../lib/atomic64_cx8_32.o
 24 subarch-y += ../lib/cmpxchg8b_emu.o ../lib/atomic64_386_32.o
 25 subarch-y += ../lib/checksum_32.o
 26 subarch-y += ../kernel/sys_ia32.o
 27 
 28 else
 29 
 30 obj-y += syscalls_64.o vdso/
 31 
 32 subarch-y = ../lib/csum-partial_64.o ../lib/memcpy_64.o \
 33         ../lib/memmove_64.o ../lib/memset_64.o
 34 
 35 endif
 36 
 37 subarch-$(CONFIG_MODULES) += ../kernel/module.o
 38 
 39 USER_OBJS := bugs_$(BITS).o ptrace_user.o fault.o
 40 
 41 $(obj)/user-offsets.s: c_flags = -Wp,-MD,$(depfile) $(USER_CFLAGS) \
 42         -Iarch/x86/include/generated
 43 targets += user-offsets.s
 44 
 45 include/generated/user_constants.h: $(obj)/user-offsets.s FORCE
 46         $(call filechk,offsets,__USER_CONSTANT_H__)
 47 
 48 UNPROFILE_OBJS := stub_segv.o
 49 CFLAGS_stub_segv.o := $(CFLAGS_NO_HARDENING)
 50 
 51 include $(srctree)/arch/um/scripts/Makefile.rules

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php