Some cleanup in sys/emulation/linux Makefiles.
authorSascha Wildner <saw@online.de>
Sun, 25 Jul 2010 00:14:02 +0000 (02:14 +0200)
committerSascha Wildner <saw@online.de>
Sun, 25 Jul 2010 00:14:02 +0000 (02:14 +0200)
sys/emulation/linux/Makefile
sys/emulation/linux/i386/Makefile

index 7b4ebad..f7ff9cb 100644 (file)
@@ -1,7 +1,6 @@
 # $FreeBSD: src/sys/modules/linux/Makefile,v 1.34.2.12 2003/01/02 20:41:34 kan Exp $
-# $DragonFly: src/sys/emulation/linux/Makefile,v 1.10 2006/11/07 06:43:24 dillon Exp $
 
-.PATH: ${.CURDIR}/../../emulation/linux ${.CURDIR}/../../emulation/linux/${MACHINE_ARCH}
+.PATH: ${.CURDIR}/${MACHINE_ARCH}
 
 ARCH=  arch_linux
 KMOD=  linux
@@ -15,7 +14,7 @@ SRCS= linux_dummy.c linux_emuldata.c linux_epoll.c \
 SRCS+= opt_nfs.h assym.s
 OBJS=  linux_support.o linux_locore.o
 
-SUBDIR= i386/linprocfs
+SUBDIR= ${MACHINE_ARCH}
 .if ${MACHINE_ARCH} == "i386"
 SRCS+= linux_ptrace.c linux_uid16.c imgact_linux.c opt_cpu.h
 .endif
index 2b01010..3d12541 100644 (file)
@@ -1,10 +1,10 @@
 # Makefile for syscall tables
 #
 # $FreeBSD: src/sys/i386/linux/Makefile,v 1.4 1999/08/28 00:45:21 peter Exp $
-# $DragonFly: src/sys/emulation/linux/i386/Makefile,v 1.6 2003/08/21 20:08:30 dillon Exp $
 
-all:
-       @echo "make sysent only"
+SUBDIR=        linprocfs
+
+.include <bsd.subdir.mk>
 
 sysent:
        cd ${.CURDIR} && ${MAKE} -f Makefile.misc sysent