]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r309412,r316109,r316132:
authorngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 28 May 2017 01:14:59 +0000 (01:14 +0000)
committerngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 28 May 2017 01:14:59 +0000 (01:14 +0000)
commitc8afcd982e0777f80e57a4c147bbd5af9c59bec4
tree7d9f68fca9f2fca67ac15c6866c00e1d2d01b535
parente5968ea76a28c49faea89719da92e4578c2bdf1e
MFC r309412,r316109,r316132:

r309412 (by imp):

dd is currently a bootstrap tool. It really doesn't have any business
being a bootstrap tool. However, for reproducible build output,
FreeBSD added dd status=none because it was otherwise difficult to
suppress the status information, but retain any errors that might
happen. There's no real reason that dd has to be a build tool, other
than we use status=none unconditional. Remove dd from a bootstrap tool
entirely by only using status=none when available. This may also help
efforts to build the system on non-FreeBSD hosts as well.

r316109:

Don't hardcode input files for stage 1/2 bootloaders; use .ALLSRC instead

This is a better pattern to follow when creating the bootloaders and doing
the relevant space checks to make sure that the sizes aren't exceeded (and
thus, copy-pasting is a bit less error prone).

r316132:

Parameterize out 7680 (15 * 512) as BOOT2SIZE, similar to sys/boot/i386/zfsboot/...

This is being done to make it easier to change in the future--this action might be
needed sooner rather than later because of gcc 6.3.0 bailing, stating that there
is negative free space left (deficit) in the boot2 bootloader.

git-svn-id: svn://svn.freebsd.org/base/stable/10@319025 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/boot/Makefile.inc
sys/boot/efi/boot1/Makefile
sys/boot/i386/boot2/Makefile
sys/boot/i386/pxeldr/Makefile
sys/boot/i386/zfsboot/Makefile
sys/boot/pc98/boot0.5/Makefile
sys/boot/pc98/boot2/Makefile
sys/boot/pc98/pc98boot/Makefile
sys/boot/powerpc/boot1.chrp/Makefile
sys/boot/sparc64/boot1/Makefile