Skip to content

Commit 2c42bcb

Browse files
Kefeng Wangpalmer-dabbelt
authored andcommitted
riscv: Clean up boot dir
Let's remove all files under riscv boot dir by using archclean rule. Signed-off-by: Kefeng Wang <[email protected]> Reviewed-by: Atish Patra <[email protected]> Signed-off-by: Palmer Dabbelt <[email protected]>
1 parent c18d7c1 commit 2c42bcb

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

arch/riscv/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,3 +101,6 @@ Image.%: Image
101101

102102
zinstall install:
103103
$(Q)$(MAKE) $(build)=$(boot) $@
104+
105+
archclean:
106+
$(Q)$(MAKE) $(clean)=$(boot)

arch/riscv/boot/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ KCOV_INSTRUMENT := n
1818

1919
OBJCOPYFLAGS_Image :=-O binary -R .note -R .note.gnu.build-id -R .comment -S
2020

21-
targets := Image loader
21+
targets := Image Image.* loader loader.o loader.lds loader.bin
2222

2323
$(obj)/Image: vmlinux FORCE
2424
$(call if_changed,objcopy)

0 commit comments

Comments
 (0)