diff --git a/tools/Makefile b/tools/Makefile
index 122e5bb7bb31bd8607cd7a029dea4a89a1d6b602..12f0216d775f2eb25b758628b0320a820540fa24 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -190,7 +190,7 @@ $(obj)bin2header$(SFX): $(obj)bin2header.o
 	$(STRIP) $@
 
 # Some files complain if compiled with -pedantic, use FIT_CFLAGS
-$(obj)image.o: $(SRCTREE)/tools/image.c
+$(obj)image.o: $(SRCTREE)/common/image.c
 	$(CC) -g $(FIT_CFLAGS) -c -o $@ $<
 
 $(obj)mkimage.o: $(SRCTREE)/tools/mkimage.c