another stab at fixing out-of-tree build
authorDenis Vlasenko <vda.linux@googlemail.com>
Sun, 19 Apr 2009 14:12:50 +0000 (14:12 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Sun, 19 Apr 2009 14:12:50 +0000 (14:12 -0000)
applets/Kbuild

index 6c1c8a3340ae8a86f63baead02e7142e3e21e4a2..983037987c7679bf04d9ecd0f4a9e18e0934f275 100644 (file)
@@ -16,7 +16,7 @@ always:= $(hostprogs-y)
 
 # This trick decreases amount of rebuilds
 # if tree is merely renamed/copied
-ifeq ($(src),$(obj))
+ifeq ($(srctree),$(objtree))
 srctree_slash =
 else
 srctree_slash = $(srctree)/