diff options
Diffstat (limited to 'tools/lib')
| -rw-r--r-- | tools/lib/lockdep/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/lib/lockdep/Makefile b/tools/lib/lockdep/Makefile index 85ef05da7453..52f9279c6c13 100644 --- a/tools/lib/lockdep/Makefile +++ b/tools/lib/lockdep/Makefile | |||
| @@ -1,8 +1,7 @@ | |||
| 1 | # file format version | 1 | # file format version |
| 2 | FILE_VERSION = 1 | 2 | FILE_VERSION = 1 |
| 3 | 3 | ||
| 4 | MAKEFLAGS += --no-print-directory | 4 | LIBLOCKDEP_VERSION=$(shell make --no-print-directory -sC ../../.. kernelversion) |
| 5 | LIBLOCKDEP_VERSION=$(shell make -sC ../../.. kernelversion) | ||
| 6 | 5 | ||
| 7 | # Makefiles suck: This macro sets a default value of $(2) for the | 6 | # Makefiles suck: This macro sets a default value of $(2) for the |
| 8 | # variable named by $(1), unless the variable has been set by | 7 | # variable named by $(1), unless the variable has been set by |
| @@ -231,7 +230,7 @@ install_lib: all_cmd | |||
| 231 | install: install_lib | 230 | install: install_lib |
| 232 | 231 | ||
| 233 | clean: | 232 | clean: |
| 234 | $(RM) *.o *~ $(TARGETS) *.a *.so $(VERSION_FILES) .*.d | 233 | $(RM) *.o *~ $(TARGETS) *.a *liblockdep*.so* $(VERSION_FILES) .*.d |
| 235 | $(RM) tags TAGS | 234 | $(RM) tags TAGS |
| 236 | 235 | ||
| 237 | endif # skip-makefile | 236 | endif # skip-makefile |
