Skip to content

Commit 1522d9d

Browse files
committed
Merge tag 'riscv/for-v5.5-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux
Pull RISC-V fixes from Paul Walmsley: "Two minor build fixes: - Fix builds of the ELF loader when built with 'make -j1' (nommu only) - Fix CONFIG_SOC_SIFIVE builds when CONFIG_TTY is disabled (found during randconfig testing)" * tag 'riscv/for-v5.5-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux: riscv: only select serial sifive if TTY is enabled riscv: Fix build dependency for loader
2 parents b01d7cb + bc3e8f5 commit 1522d9d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

arch/riscv/Kconfig.socs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ menu "SoC selection"
22

33
config SOC_SIFIVE
44
bool "SiFive SoCs"
5-
select SERIAL_SIFIVE
6-
select SERIAL_SIFIVE_CONSOLE
5+
select SERIAL_SIFIVE if TTY
6+
select SERIAL_SIFIVE_CONSOLE if TTY
77
select CLK_SIFIVE
88
select CLK_SIFIVE_FU540_PRCI
99
select SIFIVE_PLIC

arch/riscv/boot/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ $(obj)/Image: vmlinux FORCE
2424
$(obj)/Image.gz: $(obj)/Image FORCE
2525
$(call if_changed,gzip)
2626

27-
loader.o: $(src)/loader.S $(obj)/Image
27+
$(obj)/loader.o: $(src)/loader.S $(obj)/Image
2828

2929
$(obj)/loader: $(obj)/loader.o $(obj)/Image $(obj)/loader.lds FORCE
3030
$(Q)$(LD) -T $(obj)/loader.lds -o $@ $(obj)/loader.o

0 commit comments

Comments
 (0)