diff options
author | Daniel Friesel <derf@finalrewind.org> | 2017-12-15 15:19:55 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2017-12-15 15:19:55 +0100 |
commit | 771b62b056cfebecf8fb5ed4e1938ffc12d167f8 (patch) | |
tree | ce30e216a38055fd43951bb0c13abf06297a8323 /Makefile | |
parent | d7ea6ad1cbcfaec12393a5789e0eef34e56c77b9 (diff) |
Add basic help output
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 17 |
1 files changed, 16 insertions, 1 deletions
@@ -33,4 +33,19 @@ include src/arch/${arch}/Makefile.inc clean: arch_clean rm -f build/system.elf -.PHONY: clean +help: arch_help + @echo + @echo "Global flags:" + @echo " timer_cycles timer_us timer_s" + @echo " loop" + @echo + @echo "${arch} drivers:" + @echo " $(shell ls src/arch/${arch}/driver | fgrep .c | cut -d . -f 1)" + @echo + @echo "Global drivers:" + @echo " $(shell ls src/driver | fgrep .c | cut -d . -f 1)" + @echo + @echo "Global architectures:" + @echo " $(shell ls src/arch)" + +.PHONY: clean help |