diff options
author | ed <ed@FreeBSD.org> | 2015-07-22 07:32:49 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2015-07-22 07:32:49 +0000 |
commit | 62d8c473152b0ec95975895bb959881b6da82d4e (patch) | |
tree | 71ae3b47c67cfa26232a718693159735df251800 /sys/modules | |
parent | eb8aae544f9d158c06c16e632bfd51da386d28b6 (diff) | |
download | FreeBSD-src-62d8c473152b0ec95975895bb959881b6da82d4e.zip FreeBSD-src-62d8c473152b0ec95975895bb959881b6da82d4e.tar.gz |
Add Makefiles for CloudABI kernel modules.
Place all of the machine/pointer size independent code in a kernel
module called 'cloudabi'. All of the 64-bit specific code goes in a
separate module called 'cloudabi64'. The latter is only enabled on
amd64, as it is the only architecture supported.
Diffstat (limited to 'sys/modules')
-rw-r--r-- | sys/modules/Makefile | 3 | ||||
-rw-r--r-- | sys/modules/cloudabi/Makefile | 10 | ||||
-rw-r--r-- | sys/modules/cloudabi64/Makefile | 11 |
3 files changed, 24 insertions, 0 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile index 951f553..5084884 100644 --- a/sys/modules/Makefile +++ b/sys/modules/Makefile @@ -72,6 +72,8 @@ SUBDIR= \ ${_ce} \ ${_cfi} \ ${_ciss} \ + cloudabi \ + ${_cloudabi64} \ ${_cm} \ ${_cmx} \ ${_coff} \ @@ -616,6 +618,7 @@ _x86bios= x86bios .endif .if ${MACHINE_CPUARCH} == "amd64" +_cloudabi64= cloudabi64 _ixl= ixl _ixlv= ixlv _linux64= linux64 diff --git a/sys/modules/cloudabi/Makefile b/sys/modules/cloudabi/Makefile new file mode 100644 index 0000000..bba5036 --- /dev/null +++ b/sys/modules/cloudabi/Makefile @@ -0,0 +1,10 @@ +# $FreeBSD$ + +.PATH: ${.CURDIR}/../../compat/cloudabi + +KMOD= cloudabi +SRCS= cloudabi_clock.c cloudabi_errno.c cloudabi_fd.c cloudabi_file.c \ + cloudabi_futex.c cloudabi_mem.c cloudabi_proc.c cloudabi_random.c \ + cloudabi_sock.c cloudabi_thread.c vnode_if.h + +.include <bsd.kmod.mk> diff --git a/sys/modules/cloudabi64/Makefile b/sys/modules/cloudabi64/Makefile new file mode 100644 index 0000000..1e1a058 --- /dev/null +++ b/sys/modules/cloudabi64/Makefile @@ -0,0 +1,11 @@ +# $FreeBSD$ + +.PATH: ${.CURDIR}/../../compat/cloudabi64 +.PATH: ${.CURDIR}/../../${MACHINE_CPUARCH}/cloudabi64 + +KMOD= cloudabi64 +SRCS= cloudabi64_fd.c cloudabi64_poll.c cloudabi64_sock.c \ + cloudabi64_syscalls.c cloudabi64_sysent.c cloudabi64_sysvec.c \ + cloudabi64_thread.c + +.include <bsd.kmod.mk> |