aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/linux/Makefile
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2007-05-23 08:33:06 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2007-05-23 08:33:06 +0000
commit1c182de9a99afd152c548bda64ab626a1b9f5a3e (patch)
tree9e0211f55a99ffc4fef4f84e9c3b74e63cc9cbc6 /sys/modules/linux/Makefile
parentd75d56060e0bb6ae2d9b44e26fb050c6fd82c299 (diff)
Notes
Diffstat (limited to 'sys/modules/linux/Makefile')
-rw-r--r--sys/modules/linux/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/sys/modules/linux/Makefile b/sys/modules/linux/Makefile
index 123047038388..5d956d99d74e 100644
--- a/sys/modules/linux/Makefile
+++ b/sys/modules/linux/Makefile
@@ -14,8 +14,12 @@ SRCS= linux${SFX}_dummy.c linux_emul.c linux_file.c \
linux_socket.c linux_stats.c linux_sysctl.c linux${SFX}_sysent.c \
linux${SFX}_sysvec.c linux_uid16.c linux_util.c linux_time.c \
opt_inet6.h opt_mac.h opt_compat.h opt_posix.h vnode_if.h \
- device_if.h bus_if.h
-OBJS= linux${SFX}_locore.o
+ device_if.h bus_if.h assym.s
+
+# XXX: for assym.s
+SRCS+= opt_kstack_pages.h opt_nfs.h opt_apic.h opt_compat.h
+
+OBJS= linux${SFX}_locore.o linux${SFX}_support.o
.if ${MACHINE_ARCH} == "i386"
SRCS+= linux_ptrace.c imgact_linux.c opt_cpu.h
@@ -41,6 +45,10 @@ linux${SFX}_locore.o: linux${SFX}_locore.s linux${SFX}_assym.h
${CC} -c -x assembler-with-cpp -DLOCORE ${CFLAGS} \
${.IMPSRC} -o ${.TARGET}
+linux${SFX}_support.o: linux${SFX}_support.s assym.s
+ ${CC} -c -x assembler-with-cpp -DLOCORE ${CFLAGS} \
+ ${.IMPSRC} -o ${.TARGET}
+
linux${SFX}_genassym.o: linux${SFX}_genassym.c linux.h @ machine
${CC} -c ${CFLAGS:N-fno-common} ${.IMPSRC}