kbuild: use $(obj)/ instead of $(src)/ for common pattern rules
[linux-2.6-block.git] / scripts / Makefile.lib
index e67f066c0cea794b912794b887cf49893d4da158..42d3c772c8e066cb36b2b4de4987154f1f190b91 100644 (file)
@@ -423,7 +423,7 @@ quiet_cmd_dtb = $(quiet_cmd_dtc)
       cmd_dtb = $(cmd_dtc)
 endif
 
-$(obj)/%.dtb: $(src)/%.dts $(DTC) $(DT_TMP_SCHEMA) FORCE
+$(obj)/%.dtb: $(obj)/%.dts $(DTC) $(DT_TMP_SCHEMA) FORCE
        $(call if_changed_dep,dtb)
 
 $(obj)/%.dtbo: $(src)/%.dtso $(DTC) FORCE