Page MenuHomeFreeBSD

Reduce diffs between the three copies of libstand's Makefile
ClosedPublic

Authored by emaste on Mar 13 2015, 5:52 AM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 18 2024, 9:05 AM
Unknown Object (File)
Jan 8 2024, 7:02 PM
Unknown Object (File)
Dec 20 2023, 10:27 AM
Unknown Object (File)
Dec 19 2023, 11:03 PM
Unknown Object (File)
Nov 28 2023, 2:37 AM
Unknown Object (File)
Sep 10 2023, 9:32 AM
Unknown Object (File)
Aug 5 2023, 3:40 PM
Unknown Object (File)
Jul 15 2023, 10:14 PM
Subscribers
None

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

emaste retitled this revision from to Reduce diffs between the three copies of libstand's Makefile.
emaste updated this object.
emaste edited the test plan for this revision. (Show Details)
emaste added reviewers: jhb, imp.
emaste added inline comments.
sys/boot/userboot/libstand/Makefile
72โ€“73 โ†—(On Diff #4205)

It looks like powerpc userboot would not have worked correctly due to this one.

Definitely an improvement. I'm not sure I wouldn't prefer to use LIBC for the libc-pulling bits in all three though. Also, it would be really nice to have a 'Makefile.stand' or 'stand.mk' that all three of these included that included most of these guts (perhaps you are planning to do that next?)

emaste edited edge metadata.

LIBC_SRC as suggested by @jhb

Also wrap one > 80 col line while here.

jhb edited edge metadata.

Next stop: src/lib/libstand/Makefile.libstand (or the like) that all three variants can .include. :)

This revision is now accepted and ready to land.Apr 22 2015, 10:06 PM
In D2058#42752, @jhb wrote:

Next stop: src/lib/libstand/Makefile.libstand (or the like) that all three variants can .include. :)

Yes - I see three parts to converging these:

  1. reduce gratuitous formatting etc. differences (this change) - this should have no functional change
  2. address functional differences between the three (e.g. nandfs is missing from some, some have different compiler flags or arch support)
  3. converge on a single source for the three libstands
This revision was automatically updated to reflect the committed changes.