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>
This commit is contained in:
parent
d1db0eea85
commit
0041898ec1
2 changed files with 7 additions and 2 deletions
|
@ -44,6 +44,9 @@ cpupower: FORCE
|
||||||
cgroup firewire hv guest usb virtio vm net: FORCE
|
cgroup firewire hv guest usb virtio vm net: FORCE
|
||||||
$(call descend,$@)
|
$(call descend,$@)
|
||||||
|
|
||||||
|
liblockdep: FORCE
|
||||||
|
$(call descend,lib/lockdep)
|
||||||
|
|
||||||
libapikfs: FORCE
|
libapikfs: FORCE
|
||||||
$(call descend,lib/api)
|
$(call descend,lib/api)
|
||||||
|
|
||||||
|
@ -91,6 +94,9 @@ cpupower_clean:
|
||||||
cgroup_clean hv_clean firewire_clean lguest_clean usb_clean virtio_clean vm_clean net_clean:
|
cgroup_clean hv_clean firewire_clean lguest_clean usb_clean virtio_clean vm_clean net_clean:
|
||||||
$(call descend,$(@:_clean=),clean)
|
$(call descend,$(@:_clean=),clean)
|
||||||
|
|
||||||
|
liblockdep_clean:
|
||||||
|
$(call descend,lib/lockdep,clean)
|
||||||
|
|
||||||
libapikfs_clean:
|
libapikfs_clean:
|
||||||
$(call descend,lib/api,clean)
|
$(call descend,lib/api,clean)
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
# file format version
|
# file format version
|
||||||
FILE_VERSION = 1
|
FILE_VERSION = 1
|
||||||
|
|
||||||
MAKEFLAGS += --no-print-directory
|
LIBLOCKDEP_VERSION=$(shell make --no-print-directory -sC ../../.. kernelversion)
|
||||||
LIBLOCKDEP_VERSION=$(shell make -sC ../../.. kernelversion)
|
|
||||||
|
|
||||||
# Makefiles suck: This macro sets a default value of $(2) for the
|
# Makefiles suck: This macro sets a default value of $(2) for the
|
||||||
# variable named by $(1), unless the variable has been set by
|
# variable named by $(1), unless the variable has been set by
|
||||||
|
|
Loading…
Add table
Reference in a new issue