Page MenuHomeFreeBSD

bsd.lib.mk: decouple lib*_pic.a from TOOLCHAIN build knob
ClosedPublic

Authored by emaste on May 1 2023, 8:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Apr 24 2024, 8:49 PM
Unknown Object (File)
Apr 6 2024, 1:38 PM
Unknown Object (File)
Dec 20 2023, 6:51 AM
Unknown Object (File)
Dec 16 2023, 8:48 AM
Unknown Object (File)
Dec 12 2023, 10:38 AM
Unknown Object (File)
Sep 6 2023, 12:21 AM
Unknown Object (File)
Aug 6 2023, 10:07 AM
Unknown Object (File)
Jun 19 2023, 8:09 PM
Subscribers

Details

Summary
A user may use a tool chain from a package or just use an existing
tool chain from a previous installation.  There is no reason for this
to disable the installation of lib${LIB}_pic.a.

This also means we don't need to force MK_TOOLCHAIN=yes in lib/libc.
This reverts part of c0f5aeb0329d.

Diff Detail

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

Event Timeline

emaste requested review of this revision.May 1 2023, 8:39 PM

Related commits:
rG:9c662f355f059fe01d55ac703a2795ecba8327a5
rG:c0f5aeb0329d

It looks like rG:c0f5aeb0329d could be reverted entirely, but I'm not sure (and Jess is not sure) about the 2nd part off hand.

I'd vote for reverting the second half too provided it works in local testing, but as a separate commit in case some weird setup breaks (/me looks at dirdeps)

This revision is now accepted and ready to land.May 1 2023, 8:43 PM