m1n1/src/libfdt
Hector Martin efa4452a47 Fix libc header dependencies
Turns out we had a bunch of silly dependencies on libc headers that are
not included with freestanding compilers. Fix all this and change the
CFLAGS to exclude libc headers and only include the built-in compiler
path.

Add our own versions of assert.h, errno.h, limits.h, and move malloc.h
and string.h together into a new path used as -isystem, so these headers
can be included using #include <>.

Remove a bunch of other dependencies in third-party code.

Add a strnlen function.

Disable building the libfdt overlay code for now, as it needs a strtoul
implementation. We can throw that in if/when we decide to use overlays.

Signed-off-by: Hector Martin <marcan@marcan.st>
2021-03-08 01:31:14 +09:00
..
fdt.c libfdt: actually add libfdt 2021-01-30 01:37:09 +09:00
fdt.h libfdt: actually add libfdt 2021-01-30 01:37:09 +09:00
fdt_addresses.c libfdt: actually add libfdt 2021-01-30 01:37:09 +09:00
fdt_empty_tree.c libfdt: actually add libfdt 2021-01-30 01:37:09 +09:00
fdt_overlay.c libfdt: actually add libfdt 2021-01-30 01:37:09 +09:00
fdt_ro.c libfdt: actually add libfdt 2021-01-30 01:37:09 +09:00
fdt_rw.c libfdt: actually add libfdt 2021-01-30 01:37:09 +09:00
fdt_strerror.c libfdt: actually add libfdt 2021-01-30 01:37:09 +09:00
fdt_sw.c libfdt: actually add libfdt 2021-01-30 01:37:09 +09:00
fdt_wip.c libfdt: actually add libfdt 2021-01-30 01:37:09 +09:00
libfdt.h libfdt: actually add libfdt 2021-01-30 01:37:09 +09:00
libfdt_env.h Fix libc header dependencies 2021-03-08 01:31:14 +09:00
libfdt_internal.h libfdt: actually add libfdt 2021-01-30 01:37:09 +09:00