Commit 0041898ec19f10e2adf5f1245f32df88d627ae8a
Committed by
Sasha Levin
1 parent
d1db0eea85
Exists in
ti-lsk-linux-4.1.y
and in
12 other branches
tools/liblockdep: Build liblockdep from tools/Makefile
add targets to build liblockdep with make -C tools liblockdep like the way other stuff under tools/ can be built Signed-off-by: S. Lockwood-Childs <sjl@vctlabs.com> Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Showing 2 changed files with 7 additions and 2 deletions Side-by-side Diff
tools/Makefile
... | ... | @@ -44,6 +44,9 @@ |
44 | 44 | cgroup firewire hv guest usb virtio vm net: FORCE |
45 | 45 | $(call descend,$@) |
46 | 46 | |
47 | +liblockdep: FORCE | |
48 | + $(call descend,lib/lockdep) | |
49 | + | |
47 | 50 | libapikfs: FORCE |
48 | 51 | $(call descend,lib/api) |
49 | 52 | |
... | ... | @@ -90,6 +93,9 @@ |
90 | 93 | |
91 | 94 | cgroup_clean hv_clean firewire_clean lguest_clean usb_clean virtio_clean vm_clean net_clean: |
92 | 95 | $(call descend,$(@:_clean=),clean) |
96 | + | |
97 | +liblockdep_clean: | |
98 | + $(call descend,lib/lockdep,clean) | |
93 | 99 | |
94 | 100 | libapikfs_clean: |
95 | 101 | $(call descend,lib/api,clean) |
tools/lib/lockdep/Makefile
1 | 1 | # file format version |
2 | 2 | FILE_VERSION = 1 |
3 | 3 | |
4 | -MAKEFLAGS += --no-print-directory | |
5 | -LIBLOCKDEP_VERSION=$(shell make -sC ../../.. kernelversion) | |
4 | +LIBLOCKDEP_VERSION=$(shell make --no-print-directory -sC ../../.. kernelversion) | |
6 | 5 | |
7 | 6 | # Makefiles suck: This macro sets a default value of $(2) for the |
8 | 7 | # variable named by $(1), unless the variable has been set by |