From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965781AbdEWLax (ORCPT ); Tue, 23 May 2017 07:30:53 -0400 Received: from mail-oi0-f45.google.com ([209.85.218.45]:34216 "EHLO mail-oi0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965749AbdEWLav (ORCPT ); Tue, 23 May 2017 07:30:51 -0400 MIME-Version: 1.0 In-Reply-To: <20170523004107.536-2-palmer@dabbelt.com> References: <20170523004107.536-1-palmer@dabbelt.com> <20170523004107.536-2-palmer@dabbelt.com> From: Arnd Bergmann Date: Tue, 23 May 2017 13:30:50 +0200 X-Google-Sender-Auth: xP_LOHpVvoTJU_vEUnbbvZiFR4w Message-ID: Subject: Re: [PATCH 1/7] RISC-V: Top-Level Makefile for riscv{32,64} To: Palmer Dabbelt Cc: Linux Kernel Mailing List , Olof Johansson , albert@sifive.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 23, 2017 at 2:41 AM, Palmer Dabbelt 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