[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <mhng-95f35c0e-0ea1-4c32-a495-6a3f892ebbeb@palmer-si-x1c4>
Date: Mon, 22 May 2017 21:49:35 -0700 (PDT)
From: Palmer Dabbelt <palmer@...belt.com>
To: rdunlap@...radead.org
CC: patches@...ups.riscv.org
Subject: Re: [PATCH 2/7] RISC-V: arch/riscv Makefile and Kconfigs
On Mon, 22 May 2017 18:31:08 PDT (-0700), rdunlap@...radead.org wrote:
> On 05/22/17 18:27, Olof Johansson wrote:
>> Hi,
>>
>>
>> On Mon, May 22, 2017 at 5:41 PM, Palmer Dabbelt <palmer@...belt.com> wrote:
>>> ---
>>> arch/riscv/.gitignore | 35 ++++
>>> arch/riscv/Kconfig | 300 +++++++++++++++++++++++++++++++++++
>>> arch/riscv/Makefile | 64 ++++++++
>>> arch/riscv/configs/riscv32_spike | 47 ++++++
>>> arch/riscv/configs/riscv64_freedom-u | 52 ++++++
>>> arch/riscv/configs/riscv64_qemu | 64 ++++++++
>>> arch/riscv/configs/riscv64_spike | 45 ++++++
>>> 7 files changed, 607 insertions(+)
>>> create mode 100644 arch/riscv/.gitignore
>>> create mode 100644 arch/riscv/Kconfig
>>> create mode 100644 arch/riscv/Makefile
>>> create mode 100644 arch/riscv/configs/riscv32_spike
>>> create mode 100644 arch/riscv/configs/riscv64_freedom-u
>>> create mode 100644 arch/riscv/configs/riscv64_qemu
>>> create mode 100644 arch/riscv/configs/riscv64_spike
>>
>> Nearly all other platforms have _defconfig in the config names. It
>> might get a bit excessive to prepend riscv{32,64} to all of them
>> though. Most other platforms have shortened it to, for example,
>> spike_defconfig, spike64_defconfig, qemu_defconfig,
>> freedom-u_defconfig.
>>
>> Not going to argue too much about the color of the shed here, but
>> using the _defconfig naming is recommended.
>
> well, the top-level Makefile looks for "make *config" to indicate that
> there is a config-command in progress (or in process), so they usually
> have to end in the string "config".
>
> Have these been tested?
Ah, that's much better -- I've just been copying them to .config :). I've
already renamed them to things that end in defconfig.
Thanks!
Powered by blists - more mailing lists