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