$(obj) doesn't necessarily contain the toplevel object path. Use $(objtree) for this. Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> --- scripts/Makefile.lib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index 0b56dcc..307412f 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib @@ -329,4 +329,4 @@ $(obj)/%.S: $(obj)/%.dcd $(call cmd,imximage_S_dcd) quiet_cmd_imx_image = IMX-IMG $@ - cmd_imx_image = $(obj)/scripts/imx/imx-image -b -c $(CFG_$(@F)) -f $< -o $@ + cmd_imx_image = $(objtree)/scripts/imx/imx-image -b -c $(CFG_$(@F)) -f $< -o $@ -- 1.8.3.1 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox