Commit 8944146d authored by Julian Calaby's avatar Julian Calaby Committed by David S. Miller

sparc32: Fix makefile not generating required files

The tftpboot build was failing with missing file errors.

It turns out that $(obj)/image wasn't being generated which was causing the a.out conversion to be skipped and hence piggyback to be called with nonexistent files.
Signed-off-by: default avatarJulian Calaby <julian.calaby@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 3e05c5e2
...@@ -58,7 +58,7 @@ $(obj)/image: $(obj)/btfix.o FORCE ...@@ -58,7 +58,7 @@ $(obj)/image: $(obj)/btfix.o FORCE
$(obj)/zImage: $(obj)/image $(obj)/zImage: $(obj)/image
$(call if_changed,strip) $(call if_changed,strip)
$(obj)/tftpboot.img: $(obj)/piggyback_32 System.map $(ROOT_IMG) FORCE $(obj)/tftpboot.img: $(obj)/image $(obj)/piggyback_32 System.map $(ROOT_IMG) FORCE
$(call if_changed,elftoaout) $(call if_changed,elftoaout)
$(call if_changed,piggy) $(call if_changed,piggy)
...@@ -79,7 +79,7 @@ $(obj)/image: vmlinux FORCE ...@@ -79,7 +79,7 @@ $(obj)/image: vmlinux FORCE
$(call if_changed,strip) $(call if_changed,strip)
@echo ' kernel: $@ is ready' @echo ' kernel: $@ is ready'
$(obj)/tftpboot.img: vmlinux $(obj)/piggyback_64 System.map $(ROOT_IMG) FORCE $(obj)/tftpboot.img: $(obj)/image $(obj)/piggyback_64 System.map $(ROOT_IMG) FORCE
$(call if_changed,elftoaout) $(call if_changed,elftoaout)
$(call if_changed,piggy) $(call if_changed,piggy)
@echo ' kernel: $@ is ready' @echo ' kernel: $@ is ready'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment