riscv: configs: Add nommu PHONY defconfig for RV32
authorJesse Taube <mr.bossman075@gmail.com>
Wed, 1 Mar 2023 00:26:57 +0000 (19:26 -0500)
committerPalmer Dabbelt <palmer@rivosinc.com>
Mon, 27 Mar 2023 23:27:47 +0000 (16:27 -0700)
32bit risc-v can be configured to run without MMU. Introduce
rv32_nommu_virt_defconfig .PHONY target, that is based on
nommu_virt_defconfig. This is similar to how rv32_defconfig
is based on "defconfig".

Suggested-by: Conor Dooley <conor@kernel.org>
Signed-off-by: Jesse Taube <Mr.Bossman075@gmail.com>
Cc: Yimin Gu <ustcymgu@gmail.com>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20230301002657.352637-4-Mr.Bossman075@gmail.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/Makefile

index 6203c33..1b276f6 100644 (file)
@@ -174,3 +174,7 @@ rv64_randconfig:
 PHONY += rv32_defconfig
 rv32_defconfig:
        $(Q)$(MAKE) -f $(srctree)/Makefile defconfig 32-bit.config
+
+PHONY += rv32_nommu_virt_defconfig
+rv32_nommu_virt_defconfig:
+       $(Q)$(MAKE) -f $(srctree)/Makefile nommu_virt_defconfig 32-bit.config