diff options
| author | Masahiro Yamada <[email protected]> | 2024-03-23 11:35:00 +0000 |
|---|---|---|
| committer | Palmer Dabbelt <[email protected]> | 2024-03-27 14:14:05 +0000 |
| commit | 3b938e231b660a278de2988ee77b832d665c5326 (patch) | |
| tree | 957b737386dc3439ab752ad7352a93edc08731ee /scripts/generate_rust_target.rs | |
| parent | riscv: Remove unused asm/signal.h file (diff) | |
| download | kernel-3b938e231b660a278de2988ee77b832d665c5326.tar.gz kernel-3b938e231b660a278de2988ee77b832d665c5326.zip | |
riscv: merge two if-blocks for KBUILD_IMAGE
In arch/riscv/Makefile, KBUILD_IMAGE is assigned in two separate
if-blocks.
When CONFIG_XIP_KERNEL is disabled, the decision made by the first
if-block is overwritten by the second one, which is redundant and
unreadable.
Merge the two if-blocks.
Signed-off-by: Masahiro Yamada <[email protected]>
Reviewed-by: Alexandre Ghiti <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions
