]> err.no Git - linux-2.6/blob - arch/um/sys-i386/Makefile
[PATCH] uml: fix syscall table by including $(SUBARCH)'s one, for i386
[linux-2.6] / 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 syscalls.o sysrq.o \
3         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 include arch/um/scripts/Makefile.rules
11
12 SYMLINKS = bitops.c semaphore.c highmem.c module.c
13
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
23 semaphore.c-dir = kernel
24 highmem.c-dir = mm
25 module.c-dir = kernel
26
27 $(SYMLINKS): FORCE
28         $(call if_changed,make_link)
29
30 subdir- := util