From fdde5c6ae601eaa0a45df47d029298e0761c1950 Mon Sep 17 00:00:00 2001 From: Yixun Lan Date: Sat, 30 Jan 2021 16:38:49 +0000 Subject: [PATCH 2/3] riscv: add config.sh and modules_load current these two are kind of dummy files Signed-off-by: Yixun Lan --- arch/riscv64/config.sh | 6 ++++++ arch/riscv64/modules_load | 11 +++++++++++ 2 files changed, 17 insertions(+) create mode 100644 arch/riscv64/config.sh create mode 100644 arch/riscv64/modules_load diff --git a/arch/riscv64/config.sh b/arch/riscv64/config.sh new file mode 100644 index 0000000..8081d57 --- /dev/null +++ b/arch/riscv64/config.sh @@ -0,0 +1,6 @@ +# This file is sourced AFTER defaults/config.sh; generic options should be set there. +# Arch-specific options that normally shouldn't be changed. +# +KERNEL_MAKE_DIRECTIVE="Image" +KERNEL_MAKE_DIRECTIVE_2="" +KERNEL_BINARY="arch/riscv/boot/Image" diff --git a/arch/riscv64/modules_load b/arch/riscv64/modules_load new file mode 100644 index 0000000..51903a1 --- /dev/null +++ b/arch/riscv64/modules_load @@ -0,0 +1,11 @@ +# riscv module groups for genkernel initramfs auto-loading +# (extending defaults/modules_load) + +# Hardware (IDE/SCSI/SATA/NVMe) +MODULES_SATA+=" " + +# Hardware (Network) +MODULES_NET+=" " + +# Crypto +MODULES_CRYPTO+=" " -- 2.30.0