freebsd-skq/sys/compat/cloudabi32
Kyle Evans 05d7dd739c sysent targets: further cleanup and deduplication
r355473 vastly improved the readability and cleanliness of these Makefiles.
Every single one of them follows the same pattern and duplicates the exact
same logic.

Now that we have GENERATED/SRCS, split SRCS up into the two parameters we'll
use for ${MAKESYSCALLS} rather than assuming a specific ordering of SRCS and
include a common sysent.mk to handle the rest. This makes it less tedious to
make sweeping changes.

Some default values are provided for GENERATED/SYSENT_*; almost all of these
just use a 'syscalls.master' and 'syscalls.conf' in cwd, and they all use
effectively the same filenames with an arbitrary prefix. Most ABIs will be
able to get away with just setting GENERATED_PREFIX and including
^/sys/conf/sysent.mk, while others only need light additions. kern/Makefile
is the notable exception, as it doesn't take a SYSENT_CONF and the generated
files are spread out between ^/sys/kern and ^/sys/sys, but it otherwise fits
the pattern enough to use the common version.

Reviewed by:	brooks, imp
Nice!:		emaste
Differential Revision:	https://reviews.freebsd.org/D23197
2020-01-18 20:37:45 +00:00
..
cloudabi32_fd.c Catch up with changes to structure member names. 2017-01-17 22:05:52 +00:00
cloudabi32_module.c Use uintptr_t instead of register_t * for the stack base. 2019-12-03 23:17:54 +00:00
cloudabi32_poll.c Allow timed waits with relative timeouts on locks and condvars. 2018-01-04 21:57:37 +00:00
cloudabi32_proto.h Regen after r347228 and r352693. 2019-09-30 21:00:19 +00:00
cloudabi32_sock.c Use mallocarray(9) in CloudABI kernel code where possible. 2018-01-07 22:38:45 +00:00
cloudabi32_syscall.h Regen after r347228 and r352693. 2019-09-30 21:00:19 +00:00
cloudabi32_syscalls.c Regen after r347228 and r352693. 2019-09-30 21:00:19 +00:00
cloudabi32_sysent.c Regen after r347228 and r352693. 2019-09-30 21:00:19 +00:00
cloudabi32_systrace_args.c Regen after r347228 and r352693. 2019-09-30 21:00:19 +00:00
cloudabi32_thread.c Catch up with changes to structure member names. 2017-01-17 22:05:52 +00:00
cloudabi32_util.h Use uintptr_t instead of register_t * for the stack base. 2019-12-03 23:17:54 +00:00
Makefile sysent targets: further cleanup and deduplication 2020-01-18 20:37:45 +00:00
syscalls.conf