Skip to contentSkip to conversation

tools: add install make target for liblockdep

PATCH New Alexander Sverdlin 1 participant 1 message Oct 17, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tools: add install make target for liblockdep

Allow user to call "liblockdep_install" target. Also add liblockdep to "all" and "install" targets (as "help" command suggests).

Cc Arnaldo Carvalho de Melo <[email protected]>
Cc Linus Walleij <[email protected]>
---
 tools/Makefile | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
tools/Makefile +6 -2
index daa8fb3..14b96f4 100644
@@ -18,6 +18,7 @@ help:
 	@echo '  iio                    - IIO tools'
 	@echo '  kvm_stat               - top-like utility for displaying kvm statistics'
 	@echo '  lguest                 - a minimal 32-bit x86 hypervisor'
+	@echo '  liblockdep             - user-space wrapper for kernel locking-validator'
 	@echo '  net                    - misc networking tools'
 	@echo '  perf                   - Linux performance measurement and analysis tool'
 	@echo '  selftests              - various kernel selftests'
@@ -85,7 +86,7 @@ tmon: FORCE
 freefall: FORCE
 	$(call descend,laptop/$@)
 
-all: acpi cgroup cpupower gpio hv firewire lguest \
+all: acpi cgroup cpupower gpio hv firewire lguest liblockdep \
 		perf selftests turbostat usb \
 		virtio vm net x86_energy_perf_policy \
 		tmon freefall objtool
@@ -99,6 +100,9 @@ cpupower_install:
 cgroup_install firewire_install gpio_install hv_install lguest_install perf_install usb_install virtio_install vm_install net_install objtool_install:
 	$(call descend,$(@:_install=),install)
 
+liblockdep_install:
+	$(call descend,lib/lockdep,install)
+
 selftests_install:
 	$(call descend,testing/$(@:_install=),install)
 
@@ -115,7 +119,7 @@ kvm_stat_install:
 	$(call descend,kvm/$(@:_install=),install)
 
 install: acpi_install cgroup_install cpupower_install gpio_install \
-		hv_install firewire_install lguest_install \
+		hv_install firewire_install lguest_install liblockdep_install \
 		perf_install selftests_install turbostat_install usb_install \
 		virtio_install vm_install net_install x86_energy_perf_policy_install \
 		tmon_install freefall_install objtool_install kvm_stat_install
Signature · 1 line
2.10.0