projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
kbuild: replace KBUILD_SRCTREE with boolean building_out_of_srctree
[linux-2.6-block.git]
/
tools
/
testing
/
selftests
/
Makefile
diff --git
a/tools/testing/selftests/Makefile
b/tools/testing/selftests/Makefile
index 9781ca79794af774ca86b3ef0708283cfa73db0a..25b43a8c2b15903a15a712e611f3e7e982f8921d 100644
(file)
--- a/
tools/testing/selftests/Makefile
+++ b/
tools/testing/selftests/Makefile
@@
-74,7
+74,7
@@
endif
# Append kselftest to KBUILD_OUTPUT to avoid cluttering
# KBUILD_OUTPUT with selftest objects and headers installed
# by selftests Makefile or lib.mk.
-if
neq ($(KBUILD_SRC),)
+if
def building_out_of_srctree
override LDFLAGS =
endif