From 737b86e1bbd748f286a12f24dd520d895c391b04 Mon Sep 17 00:00:00 2001 From: Nathaniel Graff Date: Wed, 22 May 2019 10:55:50 -0700 Subject: Simplify the list-programs make target Just lists all the subdirectiores of PROGRAM_ROOT/software Signed-off-by: Nathaniel Graff --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 530c5ca..c19045b 100644 --- a/Makefile +++ b/Makefile @@ -139,7 +139,7 @@ list-target-tags: # Metal programs are any submodules in the software folder .PHONY: list-programs list-programs: - @echo program-list: $(shell grep -o '= software/.*$$' .gitmodules | sed 's/.*\///') + @echo program-list: $(shell ls $(PROGRAM_ROOT)/software) .PHONY: list-options list-options: list-programs list-targets -- cgit v1.2.1-18-gbd029