Skip to content

Commit 4e70b64

Browse files
geertumasahir0y
authored andcommitted
sh: Add missing FORCE prerequisites in Makefile
make: arch/sh/boot/Makefile:87: FORCE prerequisite is missing Add the missing FORCE prerequisites for all build targets identified by "make help". Fixes: e1f86d7 ("kbuild: warn if FORCE is missing for if_changed(_dep,_rule) and filechk") Signed-off-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Masahiro Yamada <[email protected]>
1 parent ec783c7 commit 4e70b64

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

arch/sh/boot/Makefile

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -80,30 +80,30 @@ $(obj)/vmlinux.bin.xz: $(obj)/vmlinux.bin FORCE
8080
$(obj)/vmlinux.bin.lzo: $(obj)/vmlinux.bin FORCE
8181
$(call if_changed,lzo)
8282

83-
$(obj)/uImage.bz2: $(obj)/vmlinux.bin.bz2
83+
$(obj)/uImage.bz2: $(obj)/vmlinux.bin.bz2 FORCE
8484
$(call if_changed,uimage,bzip2)
8585

86-
$(obj)/uImage.gz: $(obj)/vmlinux.bin.gz
86+
$(obj)/uImage.gz: $(obj)/vmlinux.bin.gz FORCE
8787
$(call if_changed,uimage,gzip)
8888

89-
$(obj)/uImage.lzma: $(obj)/vmlinux.bin.lzma
89+
$(obj)/uImage.lzma: $(obj)/vmlinux.bin.lzma FORCE
9090
$(call if_changed,uimage,lzma)
9191

92-
$(obj)/uImage.xz: $(obj)/vmlinux.bin.xz
92+
$(obj)/uImage.xz: $(obj)/vmlinux.bin.xz FORCE
9393
$(call if_changed,uimage,xz)
9494

95-
$(obj)/uImage.lzo: $(obj)/vmlinux.bin.lzo
95+
$(obj)/uImage.lzo: $(obj)/vmlinux.bin.lzo FORCE
9696
$(call if_changed,uimage,lzo)
9797

98-
$(obj)/uImage.bin: $(obj)/vmlinux.bin
98+
$(obj)/uImage.bin: $(obj)/vmlinux.bin FORCE
9999
$(call if_changed,uimage,none)
100100

101101
OBJCOPYFLAGS_vmlinux.srec := -I binary -O srec
102-
$(obj)/vmlinux.srec: $(obj)/compressed/vmlinux
102+
$(obj)/vmlinux.srec: $(obj)/compressed/vmlinux FORCE
103103
$(call if_changed,objcopy)
104104

105105
OBJCOPYFLAGS_uImage.srec := -I binary -O srec
106-
$(obj)/uImage.srec: $(obj)/uImage
106+
$(obj)/uImage.srec: $(obj)/uImage FORCE
107107
$(call if_changed,objcopy)
108108

109109
$(obj)/uImage: $(obj)/uImage.$(suffix-y)

0 commit comments

Comments
 (0)