2f99bcce1e
linux_syscallnames[] from linux_* to linux32_* to avoid conflicts with linux64.ko. While here, add support for linux64 binaries to systrace. - Update NOPROTO entries in amd64/linux/syscalls.master to match the main table to fix systrace build. - Add a special case for union l_semun arguments to the systrace generation. - The systrace_linux32 module now only builds the systrace_linux32.ko. module on amd64. - Add a new systrace_linux module that builds on both i386 and amd64. For i386 it builds the existing systrace_linux.ko. For amd64 it builds a systrace_linux.ko for 64-bit binaries. Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D3954
31 lines
618 B
Makefile
31 lines
618 B
Makefile
# $FreeBSD$
|
|
|
|
.include "Makefile.inc"
|
|
|
|
SUBDIR= dtmalloc \
|
|
dtnfscl \
|
|
dtrace \
|
|
dtraceall \
|
|
dtrace_test \
|
|
profile \
|
|
prototype \
|
|
sdt \
|
|
systrace
|
|
|
|
.if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "i386"
|
|
SUBDIR+= fasttrap fbt systrace_linux
|
|
.endif
|
|
.if ${MACHINE_CPUARCH} == "amd64"
|
|
SUBDIR+= systrace_linux32
|
|
.endif
|
|
.if ${MACHINE_CPUARCH} == "powerpc"
|
|
SUBDIR+= fbt fasttrap
|
|
.endif
|
|
.if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_ARCH} == "powerpc64"
|
|
SUBDIR+= systrace_freebsd32
|
|
.endif
|
|
.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "arm"
|
|
SUBDIR+= fbt
|
|
.endif
|
|
.include <bsd.subdir.mk>
|