From patchwork Thu Apr 4 11:06:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kishon Vijay Abraham I X-Patchwork-Id: 161777 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp1454238jan; Thu, 4 Apr 2019 04:07:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqwzK+29GABaHHnPwIiOjjkj+AYSckxDP5/N37eRhtDn25o76GHgLkUviKpzp0heKYbIlgh6 X-Received: by 2002:a62:4d43:: with SMTP id a64mr5238964pfb.157.1554376043086; Thu, 04 Apr 2019 04:07:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554376043; cv=none; d=google.com; s=arc-20160816; b=I5F42L3QtI8NxaO/Hgv8gO7q5dnI6CtCHsg1qF8g7OAEhvWbAEG2hk9k/IfAb29vji N6FK0gQf70cmfKdnw+ifuLFHzZVtLTu+MiuP92yjU1CYRrMsxZZ5464UhbPBKIfy/at5 cWbctiAvHsNWvP1XFq03qA+A8eomtGXl3S90OfaJ+gNo4FWZX+Mqh3Ov1lqQ5ZUtzawm li0z3cxKR9cmMpIbfTEdOxrTQYU4Q6Ocw2PZdmdeAvVrgTJK+AOWVIqJNRFyOVM5VpzZ 1BzObeuztwSsmJpqUv5tKYKU0ny5eY0MTAEYWIQIQ+z71byP/dSyos0i8zZS6+PmDTgO ExfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=e6DcWDo3OCHtrefJpX2XsLERr6UZA2Xj3zcBx0kKNIM=; b=BjbIU59a2FcJ+vuhFxIydQMujb1zuPoAyvJlq9FdCCBC50Si2ialhrLE9slMjjz19i +KizqImmkSOgigJRssd2lGGkKGfrcvS/b93CVgTmzja2Ydgve4VJtATwrvqYYxQ+PtZb uB2LfXDdMox+stismRkMPBMMZL7vM2B4oaG6AyHR9CqPPjdpi5tJ9/iKsJGxnGlLTOuW HZKGSCguuM7AAAlT3jtO9I7zv4Ka4+u606Nvsz3INwWod2xBtMBNcBsSbvf6vlzSoj6g 4ejZqQz9QfviHKo240mon6H8O5EAMMB6NeQDywAeaQJjSlMWCuZ0adYriU2Py8RDIi3i EWzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=iiGUuInt; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f7si16011582pgq.522.2019.04.04.04.07.22; Thu, 04 Apr 2019 04:07:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=iiGUuInt; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729363AbfDDLHV (ORCPT + 31 others); Thu, 4 Apr 2019 07:07:21 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:50902 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729067AbfDDLHS (ORCPT ); Thu, 4 Apr 2019 07:07:18 -0400 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id x34B7ErO071032; Thu, 4 Apr 2019 06:07:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1554376034; bh=e6DcWDo3OCHtrefJpX2XsLERr6UZA2Xj3zcBx0kKNIM=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=iiGUuIntohliccrMjV+M2+YHv4dnuQ3S0U4C1OQ9SAiSAJ1P1xOqKf0g3wrv8zyvX Vg0KeT9HWXuRvXbkOeWzLgkFIuemHWVi76YwJMrt/g7bKp0XVOiMtfrAHSQXdU7CrF Mumyecqbz4df6mz8n7txUa4IskYwcRDXdpjuP8RU= Received: from DLEE102.ent.ti.com (dlee102.ent.ti.com [157.170.170.32]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x34B7EWU057637 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 4 Apr 2019 06:07:14 -0500 Received: from DLEE101.ent.ti.com (157.170.170.31) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Thu, 4 Apr 2019 06:07:14 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE101.ent.ti.com (157.170.170.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5 via Frontend Transport; Thu, 4 Apr 2019 06:07:14 -0500 Received: from a0393678ub.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id x34B78dW106541; Thu, 4 Apr 2019 06:07:13 -0500 From: Kishon Vijay Abraham I To: Lorenzo Pieralisi CC: , , Kishon Vijay Abraham I , Gustavo Pimentel Subject: [PATCH 2/2] tools: PCI: Handle pcitest.sh independently from pcitest Date: Thu, 4 Apr 2019 16:36:09 +0530 Message-ID: <20190404110609.26158-3-kishon@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190404110609.26158-1-kishon@ti.com> References: <20190404110609.26158-1-kishon@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Handling pcitest.sh along with pcitest (obtained by compiling pcitest.c) results in pcitest.sh getting removed inadvertently while "make -C tools/pci clean". Fix it here by handling pcitest.sh independently of pcitest. Fixes: 1ce78ce09430a5f ("tools: PCI: Change pcitest compiling process") Cc: Gustavo Pimentel Reported-by: Adrian Hunter Signed-off-by: Kishon Vijay Abraham I --- tools/pci/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) -- 2.17.1 diff --git a/tools/pci/Makefile b/tools/pci/Makefile index 46e4c2f318c9..9b7534457060 100644 --- a/tools/pci/Makefile +++ b/tools/pci/Makefile @@ -14,9 +14,12 @@ MAKEFLAGS += -r CFLAGS += -O2 -Wall -g -D_GNU_SOURCE -I$(OUTPUT)include -ALL_TARGETS := pcitest pcitest.sh +ALL_TARGETS := pcitest ALL_PROGRAMS := $(patsubst %,$(OUTPUT)%,$(ALL_TARGETS)) +SCRIPTS := pcitest.sh +ALL_SCRIPTS := $(patsubst %,$(OUTPUT)%,$(SCRIPTS)) + all: $(ALL_PROGRAMS) export srctree OUTPUT CC LD CFLAGS @@ -46,6 +49,9 @@ install: $(ALL_PROGRAMS) install -d -m 755 $(DESTDIR)$(bindir); \ for program in $(ALL_PROGRAMS); do \ install $$program $(DESTDIR)$(bindir); \ + done; \ + for script in $(ALL_SCRIPTS); do \ + install $$script $(DESTDIR)$(bindir); \ done FORCE: