]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - arch/um/sys-i386/Makefile
[ATM]: Fix dereference of uninitialized pointer in zatm
[mirror_ubuntu-bionic-kernel.git] / arch / um / sys-i386 / Makefile
1 obj-y = bitops.o bugs.o checksum.o delay.o fault.o ksyms.o ldt.o ptrace.o \
2 ptrace_user.o semaphore.o signal.o sigcontext.o stub.o stub_segv.o \
3 syscalls.o sysrq.o sys_call_table.o
4
5 obj-$(CONFIG_HIGHMEM) += highmem.o
6 obj-$(CONFIG_MODULES) += module.o
7
8 USER_OBJS := bugs.o ptrace_user.o sigcontext.o fault.o
9
10 SYMLINKS = bitops.c semaphore.c highmem.c module.c
11
12 include arch/um/scripts/Makefile.rules
13
14 bitops.c-dir = lib
15 semaphore.c-dir = kernel
16 highmem.c-dir = mm
17 module.c-dir = kernel
18
19 STUB_CFLAGS = -Wp,-MD,$(depfile) $(call unprofile,$(USER_CFLAGS))
20
21 # _cflags works with kernel files, not with userspace ones, but c_flags does,
22 # why ask why?
23 $(obj)/stub_segv.o : c_flags = $(STUB_CFLAGS)
24
25 $(obj)/stub.o : a_flags = $(STUB_CFLAGS)
26
27 subdir- := util
28
29 include arch/um/scripts/Makefile.unmap