diff options
author | Vincent <vincent.chen@sifive.com> | 2021-05-22 07:40:15 +0800 |
---|---|---|
committer | Palmer Dabbelt <palmerdabbelt@google.com> | 2021-06-01 21:16:41 -0700 |
commit | b75db25c416b9f0edae7cd86c4901c216a52e7a0 (patch) | |
tree | a783497c1c1edfe74046edabda294e294e100e37 /arch | |
parent | ec3a5cb61146c91f0f7dcec8b7e7157a4879a9ee (diff) | |
download | linux-stable-b75db25c416b9f0edae7cd86c4901c216a52e7a0.tar.gz linux-stable-b75db25c416b9f0edae7cd86c4901c216a52e7a0.tar.bz2 linux-stable-b75db25c416b9f0edae7cd86c4901c216a52e7a0.zip |
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 <lkp@intel.com>
Signed-off-by: Vincent <vincent.chen@sifive.com>
Fixes: 0e0d4992517f ("riscv: enable SiFive errata CIP-453 and CIP-1200 Kconfig only if CONFIG_64BIT=y")
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/riscv/errata/sifive/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/errata/sifive/Makefile b/arch/riscv/errata/sifive/Makefile index bdd5fc843b8e..2fde48db0619 100644 --- a/arch/riscv/errata/sifive/Makefile +++ b/arch/riscv/errata/sifive/Makefile @@ -1,2 +1,2 @@ -obj-y += errata_cip_453.o +obj-$(CONFIG_ERRATA_SIFIVE_CIP_453) += errata_cip_453.o obj-y += errata.o |