From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MJ95S-0007UC-Aq for qemu-devel@nongnu.org; Tue, 23 Jun 2009 12:43:10 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MJ95P-0007S6-7R for qemu-devel@nongnu.org; Tue, 23 Jun 2009 12:43:07 -0400 Received: from [199.232.76.173] (port=34560 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MJ95O-0007Rq-PU for qemu-devel@nongnu.org; Tue, 23 Jun 2009 12:43:06 -0400 Received: from fg-out-1718.google.com ([72.14.220.158]:16565) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MJ95O-0002y9-AG for qemu-devel@nongnu.org; Tue, 23 Jun 2009 12:43:06 -0400 Received: by fg-out-1718.google.com with SMTP id l27so908539fgb.8 for ; Tue, 23 Jun 2009 09:43:05 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: Date: Tue, 23 Jun 2009 19:43:05 +0300 Message-ID: From: Blue Swirl Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [PATCH 11/15] sd flash is only used in arm devices List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Juan Quintela Cc: qemu-devel@nongnu.org On 6/23/09, Juan Quintela wrote: > Blue Swirl wrote: > > On 6/23/09, quintela@redhat.com wrote: > >> From: Juan Quintela > > > > While $SUBJECT may be true, the patch still goes to wrong direction. > > The long term goal is to have a single binary for all systems. This > > means that devices should get more generic and not be tied to some > > systems. > > > What do you prefer then, a config option that get only enabled for each > arch when it is needed? > > Something like ARCH_HAS_SD=0|1 > > and then have the sd.o file in a single place on the Makefile. Or CONFIG_SD, defined only if needed. > What we are searching here is to be able to compile-out functionality > that we are not interested in. This RFC was related about how people > preffer it implemented. Sounds like we'd get faster builds when building only a few targets, nice.