Page MenuHomeFreeBSD

Makefile: Remove `make world` and `make kernel`
Needs ReviewPublic

Authored by emaste on Fri, May 9, 8:42 PM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

make world was deprecated more than two decades ago and is a bad and dangerous approach. Belatedly remove it.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

emaste requested review of this revision.Fri, May 9, 8:42 PM
emaste created this revision.

Sir when you merge this please note that I disapproved. This code is not causing any problems.

There are a few handbook references to make world. Some of them are bad - e.g.

it is possible to compile the entire operating system just by typing make world in the appropriate directory!

When I was a kid, I was in awe by the unbelievable simplicity and elegance of that statement.

But that statement is not correct, it is missing "and overwrite the running system" after "compile"

emaste retitled this revision from Makefile: Remove `make world` logic to Makefile: Remove `make world` and `make kernel`.

Also make kernel

If you want to remove them from build(7) so the commit is atomic for our downstream, I have no problem resolving the conflict in my build(7) draft.

This also needs to be in UPDATING and Relnotes, I think, since it is a breaking change of decades of behavior.