The following patch adds some missing phony targets.
2019-01-11 Luis Machado luis.machado@linaro.org
* Makefile: New phony target list. * Test.mk: Likewise.
Signed-off-by: Luis Machado luis.machado@linaro.org --- Makefile | 2 ++ Test.mk | 2 ++ 2 files changed, 4 insertions(+)
diff --git a/Makefile b/Makefile index 6c0621f..624ce31 100644 --- a/Makefile +++ b/Makefile @@ -32,6 +32,8 @@ SUBDIRS := $(wildcard */.) # All files that need to be installed. INSTALL_FILES := $(wildcard */*.sh */*.txt) $(EXEC)
+.PHONY: all check clean install recheck uncheck + # Build all the utils required by the tests. all: @(cd utils; $(MAKE)) diff --git a/Test.mk b/Test.mk index 86e59ab..acf62a4 100644 --- a/Test.mk +++ b/Test.mk @@ -40,6 +40,8 @@ SRC=$(wildcard ../utils/*.c) $(wildcard ../cpuidle/*.c) # All executable files built from the utils' source files. EXEC=$(SRC:%.c=%)
+.PHONY: build_utils check clean recheck run_tests uncheck + # Build the utils and run the tests. build_utils: $(EXEC)