Skip to content

Make help target#103

Open
arbormoss wants to merge 3 commits intoUMN-Kernel-Object:trunkfrom
arbormoss:arbormoss/mk-help
Open

Make help target#103
arbormoss wants to merge 3 commits intoUMN-Kernel-Object:trunkfrom
arbormoss:arbormoss/mk-help

Conversation

@arbormoss
Copy link
Copy Markdown
Contributor

@arbormoss arbormoss commented Apr 9, 2026

This adds a make help target. If all supplied make targets are help,
configuration is not required. This also makes running make help by
itself faster, because it won't try to include the other Makefiles.

HELP_TEXT is defined at the top of the Makefile so that it can act
like documentation within the Makefile.

It suggests using ../configure instead of
../configure --targets qemu-riscv64 because the configure script will
explain how to list and select targets when run with no arguments.

This gitignores cscope database files and vim swap files. Since two
members of UKO use cscope it is worth gitignoring, same with vim swap
files. The cscope database can be regenerated from the repository, and
swap files are temporary and should not be version controlled.

It may be worth adding a cscope make target like the linux kernel has.

This fixes the find prints after each file is formatted. The busybox
version of find in our alpine qemu VM does not recongnise -printf.

This should close #38 .

Merge this before merging #105 .

@arbormoss arbormoss mentioned this pull request Apr 9, 2026
@arbormoss arbormoss force-pushed the arbormoss/mk-help branch 5 times, most recently from 08685a4 to cb8c75a Compare April 10, 2026 03:25
This gitignores cscope database files and vim swap files. Since two
members of UKO use cscope it is worth gitignoring, same with vim swap
files. The cscope database can be regenerated from the repository, and
swap files are temporary and should not be version controlled.

It may be worth adding a cscope make target like the linux kernel has.

Signed-off-by: arbormoss <arbormoss@woodsprite.dev>
This adds a make help target. If all supplied make targets are `help`,
configuration is not required. This also makes running `make help` by
itself faster, because it won't try to include the other Makefiles.

HELP_TEXT is defined at the top of the Makefile so that it can act
like documentation within the Makefile.

It suggests using `../configure` instead of
`../configure --targets qemu-riscv64` because the configure script will
explain how to list and select targets when run with no arguments.

Signed-off-by: arbormoss <arbormoss@woodsprite.dev>
This fixes the find prints after each file is formatted. The busybox
version of find in our alpine qemu VM does not recongnise -printf.

Signed-off-by: arbormoss <arbormoss@woodsprite.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

make help

1 participant