riscv: Fix build dependency for loader
authorOlof Johansson <olof@lixom.net>
Sat, 7 Dec 2019 21:29:16 +0000 (13:29 -0800)
committerPaul Walmsley <paul.walmsley@sifive.com>
Mon, 9 Dec 2019 04:19:30 +0000 (20:19 -0800)
commit0e72a2f9c1a386aaa8337f9f524f89a7884b82cf
treea8ddf6f22356c22ffe930ab4198c0ab74eea5cb5
parente42617b825f8073569da76dc4510bfa019b1c35a
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>
arch/riscv/boot/Makefile