Messages in this thread | | | From | Guo Ren <> | Date | Wed, 22 Dec 2021 19:34:13 +0800 | Subject | Re: [PATCH 02/13] riscv: Fixup difference with defconfig |
| |
On Wed, Dec 22, 2021 at 1:09 AM Arnd Bergmann <arnd@arndb.de> wrote: > > On Tue, Dec 21, 2021 at 5:35 PM <guoren@kernel.org> wrote: > > > > From: Guo Ren <guoren@linux.alibaba.com> > > > > 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. > > > > If the intention is to keep them in sync, maybe use a fragment for 32-bit > mode, like powerpc or mips do. > > Arnd
Some people are familiar with "make rv32_defconfig". There has a 32-bit.config fragment config in arch/riscv/configs/.
I've tested with:
make ARCH=riscv CROSS_COMPILE=riscv32-buildroot-linux-gnu- EXTRA_CFLAGS+=-g O=../build-rv32/ defconfig 32-bit.config
The above is tested Okay, do you mean we should delete rv32_defconfig? I think it's another topic, I just want them the same in "compat" patchset.
-- Best Regards Guo Ren
ML: https://lore.kernel.org/linux-csky/
| |