Skip to content

Commit 72f045d

Browse files
guoren83palmer-dabbelt
authored andcommitted
riscv: Fixup difference with defconfig
Let's follow the origin patch's spirit: The only difference between rv32_defconfig and defconfig is that rv32_defconfig has CONFIG_ARCH_RV32I=y. This is helpful to compare rv64-compat-rv32 v.s. rv32-linux. Fixes: 1b937e8 ("RISC-V: Add separate defconfig for 32bit systems") Signed-off-by: Guo Ren <guoren@linux.alibaba.com> Signed-off-by: Guo Ren <guoren@kernel.org> Reviewed-by: Arnd Bergmann <arnd@arndb.de> Tested-by: Heiko Stuebner <heiko@sntech.de> Link: https://lore.kernel.org/r/20220405071314.3225832-9-guoren@kernel.org Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
1 parent c86d2ca commit 72f045d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

arch/riscv/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,3 +154,7 @@ PHONY += rv64_randconfig
154154
rv64_randconfig:
155155
$(Q)$(MAKE) KCONFIG_ALLCONFIG=$(srctree)/arch/riscv/configs/64-bit.config \
156156
-f $(srctree)/Makefile randconfig
157+
158+
PHONY += rv32_defconfig
159+
rv32_defconfig:
160+
$(Q)$(MAKE) -f $(srctree)/Makefile defconfig 32-bit.config

0 commit comments

Comments
 (0)