freebsd-dev/sys/boot/efi
Ed Maste 5e66298138 boot1 generate-fat: generate all templates at once
In advance of other changes to the fat template generation process, have
generate-fat.sh create all template files at the same time so that they
cannot get out of sync.

Also correct a longstanding but where BOOT1_OFFSET was overwritten on
each invocation. A previous version of this patch stored a per-arch
offset (e.g. BOOT1_arm64_OFFSET) but that was deemed unnecessary.
Instead just hardcode the known offset that applies to all archs (0x2d)
and fail if the offset happens to be different.

Ongiong work (using newfs_msdos in bsdinstall and adding msdosfs support
to makefs) will eventually allow us to do away with this fat template
hack altogether, but in the near term we have a few improvements that
will build on this.

Reviewed by:	allanjude, imp, Eric McCorkle
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D10931
2017-09-11 00:37:00 +00:00
..
boot1 boot1 generate-fat: generate all templates at once 2017-09-11 00:37:00 +00:00
fdt Do not use -msoft-float with intention of disabling FP on aarch64 2017-04-07 22:58:25 +00:00
include loader.efi: chain loader should provide proper device handle 2017-09-10 13:53:42 +00:00
libefi loader.efi: chain loader should provide proper device handle 2017-09-10 13:53:42 +00:00
loader loader.efi: chain loader should provide proper device handle 2017-09-10 13:53:42 +00:00
Makefile Fix typo in the COMPILER_VERSION check 2016-10-22 20:00:39 +00:00
Makefile.inc Do not use -msoft-float with intention of disabling FP on aarch64 2017-04-07 22:58:25 +00:00