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