]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
[PowerPC] Remove obsolete MK_LOADER_FORCE_LE
authorbdragon <bdragon@FreeBSD.org>
Tue, 15 Sep 2020 04:22:28 +0000 (04:22 +0000)
committerbdragon <bdragon@FreeBSD.org>
Tue, 15 Sep 2020 04:22:28 +0000 (04:22 +0000)
commita1931422181e32fa1671500ee418420e67437b32
tree882375b8e95bdec95215c677c98d09c0086bb6ce
parentfd6740f61ebd81d0444baff42f8c809d5ec91e02
[PowerPC] Remove obsolete MK_LOADER_FORCE_LE

In D12421, the ability to compile stand/ in little-endian was added, with the
intention to extend loader.kboot to run in Petitboot.

However, no further work was done, as the kernel then gained self-execution
capabilities as Petitboot was taught to load FreeBSD kernels directly.

The FreeBSD installer on powerpc64 (on POWER8 and POWER9) uses
/boot/etc/kboot.conf instead of loader.

As this option does nothing but cause stand/ to be miscompiled and actively
causes confusion, remove it.

(I have a functioning petitboot loader in my local tree, however, it turned
out to be quite inconvient to use due to the current petitboot plugin design
so I put it on hold.)

Reviewed by: emaste, imp, jhibbits
Sponsored by: Tag1 Consulting, Inc.
Differential Revision: https://reviews.freebsd.org/D26430
share/man/man5/src.conf.5
share/mk/src.opts.mk
stand/defs.mk
tools/build/options/WITH_LOADER_FORCE_LE [deleted file]