Quick sweep over usr.bin to move to SRCTOP
Details
buildworld works (modulo current build breakage, will try again when that's fixed)
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
just my $0.02
usr.bin/bzip2/Makefile | ||
---|---|---|
3 ↗ | (On Diff #26099) | choosing just the first of these to respond to but this applies to ALL the changes here: Also the definition of all these could include ${FOO:tA} (I hope I got that right). we should import gmake's $(realpath..) and $(abspath...) which is much more usable. |
usr.bin/bzip2/Makefile | ||
---|---|---|
3 ↗ | (On Diff #26099) | The first is an interesting idea but it's a bit out of scope of this work. |
usr.bin/bzip2/Makefile | ||
---|---|---|
3 ↗ | (On Diff #26099) | I always hit enter too fast. It was so slow that we made bmake cache the results *per process*. So reusing the same :tA in 1 make execution is fast, but across the entire tree if we applied :tA all over the place it would just smash the namecache and create a ton of extra contention there. |
Nice two cents. Not going to do it since it is beyond the scope of this work, but it is a nice idea down the road. Similar to libnames.mk, it would make things better. But there's a lot of them in the tree, so that's outside the scope.
Torn on the FOO:tA thing since isn't needed, would slow things down and SRCTOP is already an absolute path so it wouldn't change anything. But that's a thought for another time.
just an idea for sometime
Torn on the FOO:tA thing since isn't needed, would slow things down and SRCTOP is already an absolute path so it wouldn't change anything. But that's a thought for another time.
I think I overstate it with "everywhere: I think "in selected places" might be a better term. We use the gmake equivalent $(abspath $(somepath)) a lot and it makes things a lot more readable. As for the speed of it, whatever gmake does doesnt seem to take so long as I've never noticed a slowdown.
- Move /etc/ to SRCTOP
- Convert include over to SRCTOP
- Fix two CURDIR references in comments that should be SRCTOP
- Make rescue use SRCTOP
- Fold with usr.bin
- Convert gnu/lib to using SRCTOP
- gnu/usr.bin SRCTOP