Skip to content

Commit b75db25

Browse files
VincentZWCpalmer-dabbelt
authored andcommitted
riscv: skip errata_cip_453.o if CONFIG_ERRATA_SIFIVE_CIP_453 is disabled
The errata_cip_453.o should be built only when the Kconfig CONFIG_ERRATA_SIFIVE_CIP_453 is enabled. Reported-by: kernel test robot <[email protected]> Signed-off-by: Vincent <[email protected]> Fixes: 0e0d499 ("riscv: enable SiFive errata CIP-453 and CIP-1200 Kconfig only if CONFIG_64BIT=y") Signed-off-by: Palmer Dabbelt <[email protected]>
1 parent ec3a5cb commit b75db25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/riscv/errata/sifive/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
obj-y += errata_cip_453.o
1+
obj-$(CONFIG_ERRATA_SIFIVE_CIP_453) += errata_cip_453.o
22
obj-y += errata.o

0 commit comments

Comments
 (0)