Re: [PATCH 1/7] RISC-V: Top-Level Makefile for riscv{32,64}

From: Arnd Bergmann
Date: Tue May 23 2017 - 07:30:55 EST


On Tue, May 23, 2017 at 2:41 AM, Palmer Dabbelt <palmer@xxxxxxxxxxx> wrote:
> RISC-V has both 32-bit and 64-bit base ISAs, but they are very similar.
> Like some other platforms, we'd like to share one arch directory between
> the two of them.

I think we mainly do the others for backwards-compatibility with ancient
build scripts, and we don't need that here. Instead, you could add one more
line to the 'SUBARCH:=' statement that interprets the uname output.

Arnd