Add help target to list available targets

This commit is contained in:
2025-12-07 18:51:43 +01:00
parent 4b94ea7a41
commit 807f067101
4 changed files with 49 additions and 19 deletions

View File

@ -1,13 +1,19 @@
include build/make.config
include build/make.help
srctree := $(PWD)
all:
$(make) -C $(srctree)/kernel srctree=$(srctree) all
clean:
$(make) -C $(srctree)/kernel srctree=$(srctree) clean
include platform/make.$(platform)
.PHONY: all clean
kernel:
$(make) -C $(srctree)/kernel srctree=$(srctree) all
clean: platform_clean
$(make) -C $(srctree)/kernel srctree=$(srctree) clean
.hidden:
help:
$(call print_help)
.PHONY: all clean help