Message ID | 1398780493-15391-5-git-send-email-mmarek@suse.cz (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/Makefile b/Makefile index 7273a3b..7ae9e9d 100644 --- a/Makefile +++ b/Makefile @@ -153,7 +153,7 @@ else _all: modules endif -srctree := $(if $(KBUILD_SRC),$(KBUILD_SRC),$(CURDIR)) +srctree := $(if $(KBUILD_SRC),$(KBUILD_SRC),.) objtree := . src := $(srctree) obj := $(objtree)
When not using O=, $(srctree) refers to the same directory as $(objtree), so we can set it to '.' as well. This makes the default include path more compact and results in more readable messages from the compiler. Signed-off-by: Michal Marek <mmarek@suse.cz> --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)