Page MenuHomeFreeBSD

stand/uboot: Fix building of ubldr.bin
ClosedPublic

Authored by imp on Feb 7 2022, 6:19 AM.
Tags
None
Referenced Files
F102556158: D34189.id102437.diff
Thu, Nov 14, 12:36 AM
F102515795: D34189.id102469.diff
Wed, Nov 13, 10:44 AM
Unknown Object (File)
Tue, Nov 12, 1:42 PM
Unknown Object (File)
Tue, Oct 29, 10:57 AM
Unknown Object (File)
Sun, Oct 20, 8:07 PM
Unknown Object (File)
Oct 2 2024, 11:40 AM
Unknown Object (File)
Sep 30 2024, 4:59 AM
Unknown Object (File)
Sep 27 2024, 11:21 AM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

imp requested review of this revision.Feb 7 2022, 6:19 AM

Do you know where this broke?

This looks correct to me, assuming it builds; I had tried a naive MK_PIE -> target(ubldr.bin) last night and noticed OBJS was problematic, but you've repositioned it and added another target dependency which seems promising.

This revision is now accepted and ready to land.Feb 7 2022, 5:46 PM

Thanks @kevans I was wondering where the MK_PIE came from - I guess just an accidental copy/paste from elsewhere.

Thanks @kevans I was wondering where the MK_PIE came from - I guess just an accidental copy/paste from elsewhere.

It seemed like a good idea at the time, but it wasn't. I think it is as @kevans speculated: I mistranslated the powerpc conditionals and didn't notice at the time because almost nothing actually uses this.
I have other patches that remove copying it.

This revision was automatically updated to reflect the committed changes.