kbuild: sync with Linux Kernel v3.15-rc1
[platform/kernel/u-boot.git] / scripts / Makefile
index 242e3a0..68c998e 100644 (file)
@@ -9,7 +9,7 @@ hostprogs-y += docproc
 
 # These targets are used internally to avoid "is up to date" messages
 PHONY += build_docproc
-build_docproc: scripts/docproc
+build_docproc: $(obj)/docproc
        @:
 
 # Let clean descend into subdirs