freebsd-dev/stand
Warner Losh 05f37f4d86 Stop building with the standard system headers.
Building with the standard system headers isn't a perfect match to the
stand environment. Instead, copy over the files we know are safe to
use and constrain what else is used. We use -nostdinc to achieve this.

This also fixes issues with building 32-bit libraries on amd64
sometimes pulling in the wrong cpufunc.h giving an error now that we
stop on errors. It will also enable an easier transition to lua boot.

Sponsored by: Netflix
2017-12-05 21:38:19 +00:00
..
arm
arm64
common Prefer stdint.h to inttypes.h since the added prototypes form the 2017-12-05 21:38:04 +00:00
efi Prefer stdint.h to inttypes.h since the added prototypes form the 2017-12-05 21:38:04 +00:00
fdt
ficl Include ficl.h before anything else and avoid including anything at 2017-12-05 21:37:41 +00:00
ficl32
forth
geli No need to include the userland md5.h, the kernel one is just fine. 2017-12-05 21:37:45 +00:00
i386 Need to include skein in the include path so we don't get this from 2017-12-05 21:37:55 +00:00
kshim
libsa Stop building with the standard system headers. 2017-12-05 21:38:19 +00:00
libsa32
man
mips Tweaks to the beri boot loader so that it builds w/o warnings. 2017-12-02 00:07:31 +00:00
ofw e_entry can be smaller than a pointer. Cast it to an intptr_t before 2017-12-03 04:55:04 +00:00
powerpc Provide a md_load64 prototype. 2017-12-03 04:55:28 +00:00
sparc64 Delcare md_load in libofw.h. Make all prototypes match for ofw 2017-12-03 04:54:49 +00:00
uboot
usb
userboot Don't inherit CFLAGS. This a specialized test program, and can be 2017-12-05 21:38:14 +00:00
zfs Mark two things as unused (since they are only sometimes used) and 2017-12-03 04:55:33 +00:00
zfs32
defs.mk Stop building with the standard system headers. 2017-12-05 21:38:19 +00:00
fdt.mk
ficl.mk
loader.mk
Makefile
Makefile.amd64 Switch to proper MK_LOADER_GELI tests. 2017-12-04 01:14:12 +00:00
Makefile.arm
Makefile.arm64
Makefile.i386 Switch to proper MK_LOADER_GELI tests. 2017-12-04 01:14:12 +00:00
Makefile.inc Minor flags cleanup 2017-12-02 00:06:58 +00:00
Makefile.mips
Makefile.powerpc
Makefile.sparc64
uboot.mk