diff options
author | Nathaniel Graff <nathaniel.graff@sifive.com> | 2019-03-15 10:05:57 -0700 |
---|---|---|
committer | Nathaniel Graff <nathaniel.graff@sifive.com> | 2019-03-15 10:18:34 -0700 |
commit | 5dd316a7fff887877c229be395db74dd62634586 (patch) | |
tree | 1b3b9c2adcbc09c8b0a134d4ae2c01803c778087 | |
parent | 23070ea89d17af8b4675ba1854910b604e89d9c5 (diff) |
Mark list-* as PHONY
Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -113,6 +113,7 @@ MATCHING_SETTINGS = $(shell scripts/filter-targets $(TARGET_ROOT)/bsp $(TARGET_R # Get the name of the containing directory of all matching settings.mk MATCHING_TARGETS = $(patsubst $(TARGET_ROOT)/bsp/%/,%,$(dir $(MATCHING_SETTINGS))) +.PHONY: list-targets list-targets: @echo bsp-list: $(sort $(MATCHING_TARGETS)) @@ -125,6 +126,7 @@ list-targets: # 5. Sort the lines # 6. Find unique tags # +.PHONY: list-target-tags list-target-tags: @echo target-tags: $(shell find $(TARGET_ROOT)/bsp -name settings.mk | \ xargs grep -he "TARGET_TAGS" | \ @@ -134,9 +136,11 @@ list-target-tags: uniq) # Metal programs are any submodules in the software folder +.PHONY: list-programs list-programs: @echo program-list: $(shell grep -o '= software/.*$$' .gitmodules | sed 's/.*\///') +.PHONY: list-options list-options: list-programs list-targets ############################################################# |