From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1765354AbdAKPRE (ORCPT ); Wed, 11 Jan 2017 10:17:04 -0500 Received: from mail-pg0-f66.google.com ([74.125.83.66]:32847 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1765288AbdAKPRA (ORCPT ); Wed, 11 Jan 2017 10:17:00 -0500 From: Stafford Horne To: Shuah Khan , Darren Hart Cc: Bamvor Jian Zhang , linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Stafford Horne , Prarit Bhargava Subject: [PATCH v2 5/6] selftests/intel_pstate: Update makefile to match new style Date: Thu, 12 Jan 2017 00:16:06 +0900 Message-Id: <21d0401d6b4a2db723f6177009a318a6533b8d59.1484147115.git.shorne@gmail.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <9f3d11fc1f75e2589aee67cbafac6ead3adf0f23.1484147115.git.shorne@gmail.com> References: <9f3d11fc1f75e2589aee67cbafac6ead3adf0f23.1484147115.git.shorne@gmail.com> In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Signed-off-by: Stafford Horne --- tools/testing/selftests/intel_pstate/Makefile | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/tools/testing/selftests/intel_pstate/Makefile b/tools/testing/selftests/intel_pstate/Makefile index f5f1a28..19678e9 100644 --- a/tools/testing/selftests/intel_pstate/Makefile +++ b/tools/testing/selftests/intel_pstate/Makefile @@ -1,15 +1,10 @@ -CC := $(CROSS_COMPILE)gcc CFLAGS := $(CFLAGS) -Wall -D_GNU_SOURCE LDFLAGS := $(LDFLAGS) -lm -TARGETS := msr aperf +TEST_GEN_FILES := msr aperf -TEST_PROGS := $(TARGETS) run.sh +TEST_PROGS := run.sh -.PHONY: all clean -all: $(TARGETS) +include ../lib.mk -$(TARGETS): $(HEADERS) - -clean: - rm -f $(TARGETS) +$(TEST_GEN_FILES): $(HEADERS) -- 2.9.3