freebsd-dev/tools/build
Ed Maste 2e85df652c Add libcbor to the build
From https://github.com/PJK/libcbor:

    libcbor is a C library for parsing and generating CBOR, the general-
    purpose schema-less binary data format.

libcbor will be used by ssh to support FIDO/U2F keys.  It is currently
intended only for use by ssh, and so is installed as a PRIVATELIB and is
placed in the ssh pkgbase package.

cbor_export.h and configuration.h were generated by the upstream CMake
build.  We could create them with bmake rules instead (as NetBSD has
done) but this is a fine start.

This is currently disabled for the 32-bit library build as libfido2 is
not compatible with the COMPAT_32BIT hack in usb_ioctl.h, and there is
no need for libcbor without libfido2.

Reviewed by:	kevans
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D32347
2021-10-15 15:10:24 -04:00
..
bootstrap-m4 tools/build/bootstrap-m4: regenerate after d37f81e35b 2021-04-21 10:57:51 +01:00
cross-build cross-build: fix some redeclaration warnings during bootstrap 2021-10-11 11:57:54 +01:00
libc-bootstrap Fix crossbuild bootstrap tools build with Clang 12 2021-02-17 09:54:59 +00:00
make_check
mk Add libcbor to the build 2021-10-15 15:10:24 -04:00
options tzcode: Implement timezone change detection 2021-09-12 03:07:58 +00:00
beinstall.sh beinstall.sh: Use bectl instead of beadm by default 2020-10-30 09:40:55 +00:00
check-links.sh check-links.sh: treat PIE executable as elf files 2021-09-23 04:49:57 +02:00
depend-cleanup.sh libspl: fix NO_CLEAN build 2021-06-08 17:56:15 -06:00
dummy.c
fcntl.h truncate(1): Fix cross-build CI failure due to missing fspacectl 2021-08-24 17:08:28 +08:00
fspacectl.c Silence unused parameter warnings in fspacectl(2) bootstrap stub 2021-08-28 15:37:43 +02:00
futimens.c build: Add legacy support for futimens() and utimensat(). 2016-06-09 21:57:34 +00:00
make.py Allow bootstrapping llvm-tblgen on macOS and Linux 2021-08-02 14:36:03 +01:00
Makefile Support bootstrapping from Linux/ppc* 2021-09-04 11:47:30 -05:00
Makefile.depend
stat.h build: Add legacy support for futimens() and utimensat(). 2016-06-09 21:57:34 +00:00
stdlib.h
strings.h Fix buildworld on FreeBSD 10 2018-07-16 11:03:05 +00:00
utimensat.c build: Add legacy support for futimens() and utimensat(). 2016-06-09 21:57:34 +00:00