lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Sat, 31 Oct 2015 19:21:46 +0000
From:	Martin Habets <errandir_news@....eclipse.co.uk>
To:	linux-kernel@...r.kernel.org
Cc:	a.p.zijlstra@...llo.nl, mingo@...hat.com, acme@...nel.org,
	Martin Habets <errandir_news@....eclipse.co.uk>
Subject: [PATCH ] Fix perf_install build when a separate output directory (O=) is used

Before this patch
 make tools/perf_install
would fail as it was wrongly trying to check for directory
 $(O)/tools/perf/tools/perf/

As the original patch states, the perf build does not follow the descend
function setup, so it needs invoking it via it's own make rule.
This is also true for the install build target of perf.

Fixes: 16671c1 ("tools build: Fix Makefile(s) to properly invoke tools build")
Signed-off-by: Martin Habets <errandir_news@....eclipse.co.uk>
---
 tools/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/tools/Makefile b/tools/Makefile
index d6f307d..6f88a13 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -77,13 +77,16 @@ tmon: FORCE
 freefall: FORCE
 	$(call descend,laptop/$@)
 
+perf_install: FORCE
+	$(Q)$(MAKE) --no-print-directory -C perf O=$(PERF_O) subdir= install
+
 acpi_install:
 	$(call descend,power/$(@:_install=),install)
 
 cpupower_install:
 	$(call descend,power/$(@:_install=),install)
 
-cgroup_install firewire_install hv_install lguest_install perf_install usb_install virtio_install vm_install net_install:
+cgroup_install firewire_install hv_install lguest_install usb_install virtio_install vm_install net_install:
 	$(call descend,$(@:_install=),install)
 
 selftests_install:
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ