Skip to content

Commit 0e72a2f

Browse files
olofjpaul-walmsley-sifive
authored andcommitted
riscv: Fix build dependency for loader
The Makefile addition for the flat image loader missed an obj prefix. For most parallel builds this worked out fine, but with -j1 the dependency wasn't fulfilled and thus fails: arch/riscv/boot/loader.S: Assembler messages: arch/riscv/boot/loader.S:7: Error: file not found: arch/riscv/boot/Image Fixes: 405fe7a ("riscv: provide a flat image loader") Cc: Christoph Hellwig <[email protected]> Signed-off-by: Olof Johansson <[email protected]> Reviewed-by: Anup Patel <[email protected]> Signed-off-by: Paul Walmsley <[email protected]>
1 parent e42617b commit 0e72a2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/riscv/boot/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ $(obj)/Image: vmlinux FORCE
2424
$(obj)/Image.gz: $(obj)/Image FORCE
2525
$(call if_changed,gzip)
2626

27-
loader.o: $(src)/loader.S $(obj)/Image
27+
$(obj)/loader.o: $(src)/loader.S $(obj)/Image
2828

2929
$(obj)/loader: $(obj)/loader.o $(obj)/Image $(obj)/loader.lds FORCE
3030
$(Q)$(LD) -T $(obj)/loader.lds -o $@ $(obj)/loader.o

0 commit comments

Comments
 (0)