From 5dd316a7fff887877c229be395db74dd62634586 Mon Sep 17 00:00:00 2001 From: Nathaniel Graff Date: Fri, 15 Mar 2019 10:05:57 -0700 Subject: Mark list-* as PHONY Signed-off-by: Nathaniel Graff --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 4003189..7eb7229 100644 --- a/Makefile +++ b/Makefile @@ -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 ############################################################# -- cgit v1.2.1-18-gbd029