aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/sys-i386/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/sys-i386/Makefile')
-rw-r--r--arch/um/sys-i386/Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/arch/um/sys-i386/Makefile b/arch/um/sys-i386/Makefile
new file mode 100644
index 000000000000..71b47e618605
--- /dev/null
+++ b/arch/um/sys-i386/Makefile
@@ -0,0 +1,29 @@
1obj-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 syscalls.o sysrq.o
3
4obj-$(CONFIG_HIGHMEM) += highmem.o
5obj-$(CONFIG_MODULES) += module.o
6
7USER_OBJS := bugs.o ptrace_user.o sigcontext.o fault.o
8
9include arch/um/scripts/Makefile.rules
10
11SYMLINKS = bitops.c semaphore.c highmem.c module.c
12
13# this needs to be before the foreach, because clean-files does not accept
14# complete paths like $(src)/$f.
15clean-files := $(SYMLINKS)
16
17targets += $(SYMLINKS)
18
19SYMLINKS := $(foreach f,$(SYMLINKS),$(obj)/$f)
20
21bitops.c-dir = lib
22semaphore.c-dir = kernel
23highmem.c-dir = mm
24module.c-dir = kernel
25
26$(SYMLINKS): FORCE
27 $(call if_changed,make_link)
28
29subdir- := util