diff options
author | sjg <sjg@FreeBSD.org> | 2015-06-14 03:30:39 +0000 |
---|---|---|
committer | sjg <sjg@FreeBSD.org> | 2015-06-14 03:30:39 +0000 |
commit | 4307cae51d368217a8c7c16bc2daa872fff88910 (patch) | |
tree | b4a1e739c1bc52dc3172752e6972b7dbd29ab608 /usr.bin | |
parent | e87dcc3900ebdd70bfd70cd72d74eb7969bf60c1 (diff) | |
download | FreeBSD-src-4307cae51d368217a8c7c16bc2daa872fff88910.zip FreeBSD-src-4307cae51d368217a8c7c16bc2daa872fff88910.tar.gz |
Create proper targets for linux*syscalls.c
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/kdump/Makefile | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/usr.bin/kdump/Makefile b/usr.bin/kdump/Makefile index 3dbab6b2..b40fba0 100644 --- a/usr.bin/kdump/Makefile +++ b/usr.bin/kdump/Makefile @@ -25,9 +25,17 @@ CLEANFILES= ioctl.c kdump_subr.c kdump_subr.h .if (${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386") CLEANFILES+= linux_syscalls.c +kdump.o: linux_syscalls.c +linux_syscalls.c: linux_syscalls.conf + sh ${.CURDIR}/../../sys/kern/makesyscalls.sh \ + ${.CURDIR}/../../sys/${MACHINE_ARCH}/linux/syscalls.master ${.CURDIR}/linux_syscalls.conf .endif .if (${MACHINE_ARCH} == "amd64") CLEANFILES+= linux32_syscalls.c +kdump.o: linux32_syscalls.c +linux32_syscalls.c: linux32_syscalls.conf + sh ${.CURDIR}/../../sys/kern/makesyscalls.sh \ + ${.CURDIR}/../../sys/${MACHINE_ARCH}/linux32/syscalls.master ${.CURDIR}/linux32_syscalls.conf .endif ioctl.c: mkioctls @@ -40,13 +48,5 @@ kdump_subr.h: mksubr kdump_subr.c: mksubr kdump_subr.h sh ${.CURDIR}/mksubr ${DESTDIR}${INCLUDEDIR} >${.TARGET} -.if (${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386") - sh ${.CURDIR}/../../sys/kern/makesyscalls.sh \ - ${.CURDIR}/../../sys/${MACHINE_ARCH}/linux/syscalls.master ${.CURDIR}/linux_syscalls.conf -.endif -.if (${MACHINE_ARCH} == "amd64") - sh ${.CURDIR}/../../sys/kern/makesyscalls.sh \ - ${.CURDIR}/../../sys/${MACHINE_ARCH}/linux32/syscalls.master ${.CURDIR}/linux32_syscalls.conf -.endif .include <bsd.prog.mk> |