Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EDAB9C636D4 for ; Mon, 13 Feb 2023 16:52:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230037AbjBMQwF (ORCPT ); Mon, 13 Feb 2023 11:52:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44560 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229930AbjBMQwD (ORCPT ); Mon, 13 Feb 2023 11:52:03 -0500 Received: from mail-io1-xd2b.google.com (mail-io1-xd2b.google.com [IPv6:2607:f8b0:4864:20::d2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E0C317CDD for ; Mon, 13 Feb 2023 08:51:53 -0800 (PST) Received: by mail-io1-xd2b.google.com with SMTP id a10so4688056iod.0 for ; Mon, 13 Feb 2023 08:51:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=bmmLz8nohbcch6FxeAT3SlKM+5+qck2x1XsBsKmtgNI=; b=PwoV3X3eyjemyEy2AWNYQFDQJ55zPWiCWjFMAJ5oriqnYvrq7qSQOQnTANnS+QVldc u0Lhf3Ed4lk3WZ2QWHyiizxbJJfMvOhk2MMntY3u853PBH1vitkusNy86R8m5gD+YL3m PcdXURAQaDOBE1ty02cvZN0STh5mRx7OvZ7j0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=bmmLz8nohbcch6FxeAT3SlKM+5+qck2x1XsBsKmtgNI=; b=GfG2W7t9hHmC2UX0HpN5SEMSdAKpra3/nMAf+aFx3CNMmf+Lpbn5kL9KGrtqWZhpoe 9ynhHaUddq7NJpbjeKDXJEjAqHMXVtn9AJad9rjmllSBnF1wsqusrKF8ae6P/6R/ViIO 37uVqsthDQvv5kINaRfUa80cpprFpCPVRYvdRFghs/1dH2JLMc70v8u0/Xb4SoBIaFoC Adc2dvx8Kb64mClCuBZ7BMg9c6PXoXdmwOy8EiChmHuY1mTf++Xdy0428zKAKQoi15le 86F1jhE0jx5lSVadUY3o2XLoGJ9anfDXRt6TSr6cCGrSaBWFQaOFJwyWuC2MY2bYjF5/ y0SA== X-Gm-Message-State: AO0yUKUZLniAB77wDtxjrufWw7tIktu0WFwkgMIW/O+WrnxSMD2P4hHQ zx6CfLjNN4NfTiZYAHL9npdrqcqZ+nYcQzuz X-Google-Smtp-Source: AK7set8jdWwcHS37THmZN5Wyabh6n9pOvmNz4ORIZKR+xxUYVMozNWiBEzoeBwsrHlz2Qu0zrfCqsw== X-Received: by 2002:a6b:ed05:0:b0:716:8f6a:f480 with SMTP id n5-20020a6bed05000000b007168f6af480mr18443243iog.0.1676307112355; Mon, 13 Feb 2023 08:51:52 -0800 (PST) Received: from shuah-tx13.internal ([38.15.45.1]) by smtp.gmail.com with ESMTPSA id r83-20020a6b8f56000000b00710a7bf7f7esm4300508iod.51.2023.02.13.08.51.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Feb 2023 08:51:51 -0800 (PST) From: Shuah Khan To: shuah@kernel.org Cc: Shuah Khan , linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] selftests/ptp: Remove clean target from Makefile Date: Mon, 13 Feb 2023 09:51:49 -0700 Message-Id: <20230213165149.224527-1-skhan@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix the following build warn removing unnecessary clean target from the Makefile. lib.mk handles clean. Makefile:10: warning: overriding recipe for target clean ../lib.mk:124: warning: ignoring old recipe for target clean In addition, fix to use TEST_GEN_PROGS for generated test executables and TES_PROGS for the shell script. Ger rid of all target as lib.mk handles it. Signed-off-by: Shuah Khan --- tools/testing/selftests/ptp/Makefile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/tools/testing/selftests/ptp/Makefile b/tools/testing/selftests/ptp/Makefile index eeab44cc6863..8f57f88ecadd 100644 --- a/tools/testing/selftests/ptp/Makefile +++ b/tools/testing/selftests/ptp/Makefile @@ -1,10 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 CFLAGS += $(KHDR_INCLUDES) -TEST_PROGS := testptp +TEST_GEN_PROGS := testptp LDLIBS += -lrt -all: $(TEST_PROGS) +TEST_PROGS = phc.sh include ../lib.mk - -clean: - rm -fr $(TEST_PROGS) -- 2.37.2