diff options
author | Stafford Horne <shorne@gmail.com> | 2017-01-11 10:16:06 -0500 |
---|---|---|
committer | Shuah Khan <shuahkh@osg.samsung.com> | 2017-01-19 12:30:40 -0500 |
commit | 29fa1d436e96954ebcdac0beecb2e0d96c26350d (patch) | |
tree | 4f153bba3dd7223a8a0eeb87389d306d60311cdf /tools | |
parent | aff985fd07cf785fbd1544194f8fae08333e523e (diff) |
selftests/intel_pstate: Update makefile to match new style
Recent changes from Bamvor (88baa78d1f318) have standardized the
variable names like TEST_GEN_FILES and removed the need for make targets
all and clean.
These changes bring the intel_pstate test inline with those changes.
Cc: Prarit Bhargava <prarit@redhat.com>
Signed-off-by: Stafford Horne <shorne@gmail.com>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/testing/selftests/intel_pstate/Makefile | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/tools/testing/selftests/intel_pstate/Makefile b/tools/testing/selftests/intel_pstate/Makefile index f5f1a28715ff..19678e90efb2 100644 --- a/tools/testing/selftests/intel_pstate/Makefile +++ b/tools/testing/selftests/intel_pstate/Makefile | |||
@@ -1,15 +1,10 @@ | |||
1 | CC := $(CROSS_COMPILE)gcc | ||
2 | CFLAGS := $(CFLAGS) -Wall -D_GNU_SOURCE | 1 | CFLAGS := $(CFLAGS) -Wall -D_GNU_SOURCE |
3 | LDFLAGS := $(LDFLAGS) -lm | 2 | LDFLAGS := $(LDFLAGS) -lm |
4 | 3 | ||
5 | TARGETS := msr aperf | 4 | TEST_GEN_FILES := msr aperf |
6 | 5 | ||
7 | TEST_PROGS := $(TARGETS) run.sh | 6 | TEST_PROGS := run.sh |
8 | 7 | ||
9 | .PHONY: all clean | 8 | include ../lib.mk |
10 | all: $(TARGETS) | ||
11 | 9 | ||
12 | $(TARGETS): $(HEADERS) | 10 | $(TEST_GEN_FILES): $(HEADERS) |
13 | |||
14 | clean: | ||
15 | rm -f $(TARGETS) | ||