freebsd-dev/stand/powerpc
Justin Hibbits 39404490b7 powerpc/loader: Install ubldr without stripping
Summary:
Install's strip capability, by way of strip(1), doesn't seem to work
correctly on msdosfs, and instead ends up truncating the resulting
binary to 0-length.  As a workaround, don't strip ubldr(8).  This
fixes installworld on Book-E ubldr-based platforms, which prior to this
would need to manually install ubldr separately after installworld, in
order to have a functional ubldr.

The same thing could be done on PowerNV platforms that use msdosfs /boot
volumes, since loader and loader.kboot, etc, all get truncated to 0 on
install.  However, PowerNV does not use loader, instead loading from
petitboot, so it's not really necessary at this time.

Reviewed by:	kevans
Differential Revision: https://reviews.freebsd.org/D21725
2019-09-20 13:35:28 +00:00
..
boot1.chrp [PowerPC64] stand: fix build using clang 8 as compiler 2019-05-20 19:21:35 +00:00
kboot [PowerPC64] stand: fix build using clang 8 as compiler 2019-05-20 19:21:35 +00:00
ofw Move CAS check in powerpc64 ofw loader until after the PVR check. 2019-09-01 18:26:21 +00:00
uboot powerpc/loader: Install ubldr without stripping 2019-09-20 13:35:28 +00:00
Makefile stand: TARGET_ARCH is spelled MACHINE_ARCH in Makefiles 2019-05-21 03:05:24 +00:00
Makefile.inc