Page MenuHomeFreeBSD

stand/uboot: Fix building of ubldr.bin
ClosedPublic

Authored by imp on Feb 7 2022, 6:19 AM.
Tags
None
Referenced Files
F61946487: D34189.diff
Sun, May 28, 10:08 PM
Unknown Object (File)
Apr 26 2023, 4:19 AM
Unknown Object (File)
Apr 9 2023, 5:37 AM
Unknown Object (File)
Apr 8 2023, 10:53 AM
Unknown Object (File)
Mar 23 2023, 6:09 AM
Unknown Object (File)
Feb 5 2023, 5:48 AM
Unknown Object (File)
Feb 5 2023, 5:47 AM
Unknown Object (File)
Feb 4 2023, 6:58 PM
Subscribers

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 44313
Build 41201: arc lint + arc unit

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.