summaryrefslogtreecommitdiff
path: root/arch/riscv/configs/32-bit.config
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmer@rivosinc.com>2022-05-21 22:33:57 +0300
committerPalmer Dabbelt <palmer@rivosinc.com>2022-07-14 21:19:49 +0300
commit44c1e84a38a031758cf762c1902c2ae0b166c0d4 (patch)
tree748968758bba8816e28c0fa7792cef4256a9e267 /arch/riscv/configs/32-bit.config
parent9009f55bc44e4cb6f94e8e3315e85ad5ed69a519 (diff)
downloadlinux-44c1e84a38a031758cf762c1902c2ae0b166c0d4.tar.xz
RISC-V: Add CONFIG_{NON,}PORTABLE
The RISC-V port has collected a handful of options that are fundamentally non-portable. To prevent users from shooting themselves in the foot, hide them all behind a config entry that explicitly calls out that non-portable binaries may be produced. Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com> Reviewed-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com> Reviewed-by: Atish Patra <atishp@rivosinc.com> Reviewed-by: Damien Le Moal <damien.lemoal@opensource.wdc.com> Reviewed-by: Guo Ren <guoren@kernel.org> Link: https://lore.kernel.org/r/20220521193356.26562-1-palmer@rivosinc.com Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'arch/riscv/configs/32-bit.config')
-rw-r--r--arch/riscv/configs/32-bit.config2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/riscv/configs/32-bit.config b/arch/riscv/configs/32-bit.config
index 43f41323b67e..f6af0f708df4 100644
--- a/arch/riscv/configs/32-bit.config
+++ b/arch/riscv/configs/32-bit.config
@@ -1,2 +1,4 @@
CONFIG_ARCH_RV32I=y
CONFIG_32BIT=y
+# CONFIG_PORTABLE is not set
+CONFIG_NONPORTABLE=y