[PATCH] ARM: Include Makefile.boot only when it exists

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Wed Apr 20 05:48:45 EDT 2011


Hello,

On Wed, Apr 20, 2011 at 05:27:06PM +0800, Eric Miao wrote:
> On Wed, Apr 20, 2011 at 4:32 PM, Shawn Guo <shawn.guo at freescale.com> wrote:
> >> -include $(srctree)/$(MACHINE)/Makefile.boot
> >> +-include $(srctree)/$(MACHINE)/Makefile.boot
> >   ^ Makefile grammar?
> 
> Yes. GNU make will only include the file if it _exists_.
To be more exact it will still try to "make" the include files if they
don't exist.

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |



More information about the linux-arm-kernel mailing list