From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754103Ab1I1NX0 (ORCPT ); Wed, 28 Sep 2011 09:23:26 -0400 Received: from moutng.kundenserver.de ([212.227.126.171]:53138 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752814Ab1I1NXY (ORCPT ); Wed, 28 Sep 2011 09:23:24 -0400 From: Arnd Bergmann To: Mark Salter Subject: Re: [PATCH v3 05/24] C6X: build infrastructure Date: Wed, 28 Sep 2011 15:23:15 +0200 User-Agent: KMail/1.12.2 (Linux/2.6.35-22-generic; KDE/4.3.2; x86_64; ; ) Cc: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org References: <1317155405-26235-1-git-send-email-msalter@redhat.com> <1317155405-26235-6-git-send-email-msalter@redhat.com> In-Reply-To: <1317155405-26235-6-git-send-email-msalter@redhat.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201109281523.15680.arnd@arndb.de> X-Provags-ID: V02:K0:ySnkcFxisB7kUrESR8f8C2RL7nd4gvAfWV4/SH0eLrd AAoFvd14ceoK/jo6YFgUf/Fo9t7dtY+p1ut1BgoozaOHfVjKYp XHPh4FAF6VxeQFELPKjyRBtdF/FnKq6OHaePnoUYe8JrYOLCek Wvk18k8aCd+EWpjRsVE6WSYSLzVYevY7rNx4u0uB1afa4d7bsS GdRa/KwLHI1fE17ys8cpMfZAfIBwpubTDKXqd2iieSUEa1EpnC NbufwRlA+Jam3DurJZh7jf3u6Py/MnnkuAKBi5jh/NtdYetNmn 8zGIN2au4dzlD/SWnSzkH+xkFFAXIK6pAqF1FEDvA5u+83sUjl 2wHAvZCnMdiQOTaWyxOo= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tuesday 27 September 2011, Mark Salter wrote: > +comment "Board Selection" > +choice > + prompt "Board" > + help > + This option specifies the specific board for which the kernel will be > + compiled. > + > +config BOARD_DSK6455 > + bool "DSK6455" > + select SOC_TMS320C6455 > + > +config BOARD_EVM6457 > + bool "EVM6472" > + select SOC_TMS320C6457 > + > +config BOARD_EVM6472 > + bool "EVM6472" > + select SOC_TMS320C6472 > + > +config BOARD_EVM6474 > + bool "EVM6474" > + select SOC_TMS320C6474 > + > +endchoice This really wants to be a flat list instead of a "choice" statement, so you can build a kernel for multiple boards at once. Is there a reason why this is not possible right now? Also, how different are these boards and socs still? Since you are based on device trees for hardware configuration, do you actually need the options at all? Arnd