public inbox for linux-pci@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1] tools: PCI: Fix installation when `make tools/pci_install`
@ 2019-06-28 13:33 Andy Shevchenko
  2019-07-05 16:23 ` Lorenzo Pieralisi
  2019-07-09 11:45 ` Kishon Vijay Abraham I
  0 siblings, 2 replies; 7+ messages in thread
From: Andy Shevchenko @ 2019-06-28 13:33 UTC (permalink / raw)
  To: linux-pci
  Cc: Andy Shevchenko, Jean-Jacques Hiblot, Kishon Vijay Abraham I,
	Lorenzo Pieralisi, Arnaldo Carvalho de Melo

The commit c9a707875053 ("tools pci: Do not delete pcitest.sh in 'make clean'")
fixed a `make tools clean` issue and simultaneously brought a regression
to the installation process:

  for script in .../tools/pci/pcitest.sh; do	\
	install $script .../usr/usr/bin;	\
  done
  install: cannot stat '.../tools/pci/pcitest.sh': No such file or directory

Here is the missed part of the fix.

Cc: Jean-Jacques Hiblot <jjhiblot@ti.com>
Cc: Kishon Vijay Abraham I <kishon@ti.com>
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 tools/pci/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/pci/Makefile b/tools/pci/Makefile
index 6876ee4bd78c..cc4a161ee2cc 100644
--- a/tools/pci/Makefile
+++ b/tools/pci/Makefile
@@ -47,10 +47,10 @@ clean:
 
 install: $(ALL_PROGRAMS)
 	install -d -m 755 $(DESTDIR)$(bindir);		\
-	for program in $(ALL_PROGRAMS) pcitest.sh; do	\
+	for program in $(ALL_PROGRAMS); do		\
 		install $$program $(DESTDIR)$(bindir);	\
 	done;						\
-	for script in $(ALL_SCRIPTS); do		\
+	for script in pcitest.sh; do			\
 		install $$script $(DESTDIR)$(bindir);	\
 	done
 
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-07-09 11:48 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-28 13:33 [PATCH v1] tools: PCI: Fix installation when `make tools/pci_install` Andy Shevchenko
2019-07-05 16:23 ` Lorenzo Pieralisi
2019-07-05 17:08   ` Andy Shevchenko
2019-07-09 11:18     ` Kishon Vijay Abraham I
2019-07-09 11:38       ` Andy Shevchenko
2019-07-09 11:43         ` Kishon Vijay Abraham I
2019-07-09 11:45 ` Kishon Vijay Abraham I

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox