From mboxrd@z Thu Jan 1 00:00:00 1970 From: Brian Swetland Subject: Re: patches for fsample/850 Date: Thu, 13 Apr 2006 10:40:05 -0700 Message-ID: <20060413174005.GA5707@localhost.localdomain> References: <20060407220658.GA19801@localhost.localdomain> <20060408110036.34284.qmail@web32904.mail.mud.yahoo.com> <20060408154425.GA24843@localhost.localdomain> <20060409183557.GF5032@atomide.com> <20060409210515.GA1877@localhost.localdomain> <20060413101705.GA3969@atomide.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20060413101705.GA3969@atomide.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-omap-open-source-bounces@linux.omap.com Errors-To: linux-omap-open-source-bounces@linux.omap.com To: tony@atomide.com Cc: linux-omap-open-source@linux.omap.com List-Id: linux-omap@vger.kernel.org [tony@atomide.com] > * Brian Swetland [060409 14:05]: > > [tony@atomide.com] > > > > > Then does it compile and boot for p2 and fsample both selected? > > > > Probably not -- is there something like cpu_is_*() that I could > > use to make this conditional at runtime? > > You can use machine_is_xxx() which also work during runtime based on the > machine id. Excellent. How does one arrange the Makefile so that it will build lcd_p2.c if either FSAMPLE or PERSEUS2 are being built, but not build it twice? Brian, not wise in the ways of Kconfig and linux builds