Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

S. Lockwood-Childs and committed by
Sasha Levin
0041898e d1db0eea

+7 -2
+6
tools/Makefile
··· 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 ··· 93 90 94 91 cgroup_clean hv_clean firewire_clean lguest_clean usb_clean virtio_clean vm_clean net_clean: 95 92 $(call descend,$(@:_clean=),clean) 93 + 94 + liblockdep_clean: 95 + $(call descend,lib/lockdep,clean) 96 96 97 97 libapikfs_clean: 98 98 $(call descend,lib/api,clean)
+1 -2
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