Skip to content

Commit

Permalink
Merge branch 'liblockdep-fixes-3.15' of git://git.kernel.org/pub/scm/…
Browse files Browse the repository at this point in the history
…linux/kernel/git/sashal/linux into perf/urgent

Pull liblockdep fixes from Sasha Levin, to fix two build related bugs.

Signed-off-by: Ingo Molnar <mingo@kernel.org>
  • Loading branch information
Ingo Molnar committed May 11, 2014
2 parents a4b4f11 + ad3b564 commit a45e903
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
6 changes: 6 additions & 0 deletions tools/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ cpupower: FORCE
cgroup firewire hv guest usb virtio vm net: FORCE
$(call descend,$@)

liblockdep: FORCE
$(call descend,lib/lockdep)

libapikfs: FORCE
$(call descend,lib/api)

Expand Down Expand Up @@ -91,6 +94,9 @@ cpupower_clean:
cgroup_clean hv_clean firewire_clean lguest_clean usb_clean virtio_clean vm_clean net_clean:
$(call descend,$(@:_clean=),clean)

liblockdep_clean:
$(call descend,lib/lockdep,clean)

libapikfs_clean:
$(call descend,lib/api,clean)

Expand Down
5 changes: 2 additions & 3 deletions tools/lib/lockdep/Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# file format version
FILE_VERSION = 1

MAKEFLAGS += --no-print-directory
LIBLOCKDEP_VERSION=$(shell make -sC ../../.. kernelversion)
LIBLOCKDEP_VERSION=$(shell make --no-print-directory -sC ../../.. kernelversion)

# Makefiles suck: This macro sets a default value of $(2) for the
# variable named by $(1), unless the variable has been set by
Expand Down Expand Up @@ -231,7 +230,7 @@ install_lib: all_cmd
install: install_lib

clean:
$(RM) *.o *~ $(TARGETS) *.a *.so $(VERSION_FILES) .*.d
$(RM) *.o *~ $(TARGETS) *.a *liblockdep*.so* $(VERSION_FILES) .*.d
$(RM) tags TAGS

endif # skip-makefile
Expand Down

0 comments on commit a45e903

Please sign in to comment.