summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathaniel Graff <nathaniel.graff@sifive.com>2019-05-22 10:55:50 -0700
committerNathaniel Graff <nathaniel.graff@sifive.com>2019-05-22 10:55:52 -0700
commit737b86e1bbd748f286a12f24dd520d895c391b04 (patch)
treebad6149c92ea0f2a6d19153ba4f1939604551a70
parent44deff8b8d615721c11ab5f408da73030b01d0f9 (diff)
Simplify the list-programs make target
Just lists all the subdirectiores of PROGRAM_ROOT/software Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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