]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3eae2fa654a3508e0598c2a20f5ceb0131747eb0
treea8ddf6f22356c22ffe930ab4198c0ab74eea5cb5
parent7855fcc07be326322b44982a21760fd9bd8e2b92
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: b9a6caa5a923 ("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