opnsense-src/sys/kern/Makefile
Brooks Davis 3ad2fd6fb1 makesyscalls: don't make syscall.mk by default
We only want to produce syscall.mk for the main syscall table so default
to not producing it (send it to /dev/null) and add a syscalls.conf to
sys/kern to trigger the creation of sys/sys/syscall.mk.  This eliminates
the need for entries in other syscalls.conf files and is a cleaner
pattern going forward.

Reviewed by:	kevans, imp
Differential Revision:	https://reviews.freebsd.org/D42663

(cherry picked from commit 54d487c4d01d68ef0ac03eae1fc574f7533d46f6)
2023-12-13 23:07:06 +00:00

12 lines
251 B
Makefile

# @(#)Makefile 8.2 (Berkeley) 3/21/94
#
# Makefile for init_sysent
GENERATED= init_sysent.c \
syscalls.c \
systrace_args.c \
${SYSDIR}/sys/syscall.h \
${SYSDIR}/sys/syscall.mk \
${SYSDIR}/sys/sysproto.h
.include "../conf/sysent.mk"