Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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: 405fe7aa0dba ("riscv: provide a flat image loader")
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Olof Johansson <olof@lixom.net>
Reviewed-by: Anup Patel <anup@brainfault.org>
Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com>

authored by

Olof Johansson and committed by
Paul Walmsley
0e72a2f9 e42617b8

+1 -1
+1 -1
arch/riscv/boot/Makefile
··· 24 24 $(obj)/Image.gz: $(obj)/Image FORCE 25 25 $(call if_changed,gzip) 26 26 27 - loader.o: $(src)/loader.S $(obj)/Image 27 + $(obj)/loader.o: $(src)/loader.S $(obj)/Image 28 28 29 29 $(obj)/loader: $(obj)/loader.o $(obj)/Image $(obj)/loader.lds FORCE 30 30 $(Q)$(LD) -T $(obj)/loader.lds -o $@ $(obj)/loader.o