From 771b62b056cfebecf8fb5ed4e1938ffc12d167f8 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 15 Dec 2017 15:19:55 +0100 Subject: Add basic help output --- Makefile | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index cf5d8b7..45244fc 100644 --- a/Makefile +++ b/Makefile @@ -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 -- cgit v1.2.3