[U-Boot] [PATCH v2 01/24] Makefile: move MTD-related lines in coherent Makefiles

Boris Brezillon boris.brezillon at bootlin.com
Thu Nov 29 09:21:14 UTC 2018


On Thu, 29 Nov 2018 10:16:50 +0100
Miquel Raynal <miquel.raynal at bootlin.com> wrote:

> Hi Boris,
> 
> Boris Brezillon <boris.brezillon at bootlin.com> wrote on Thu, 29 Nov 2018
> 00:46:23 +0100:
> 
> > On Thu, 29 Nov 2018 00:07:37 +0100
> > Miquel Raynal <miquel.raynal at bootlin.com> wrote:
> > 
> >   
> > > --- a/drivers/Makefile
> > > +++ b/drivers/Makefile
> > > @@ -6,7 +6,7 @@ obj-$(CONFIG_$(SPL_TPL_)DRIVERS_MISC_SUPPORT) += misc/ sysreset/ firmware/
> > >  obj-$(CONFIG_$(SPL_TPL_)I2C_SUPPORT) += i2c/
> > >  obj-$(CONFIG_$(SPL_TPL_)LED) += led/
> > >  obj-$(CONFIG_$(SPL_TPL_)MMC_SUPPORT) += mmc/
> > > -obj-$(CONFIG_$(SPL_TPL_)NAND_SUPPORT) += mtd/nand/raw/
> > > +obj-$(CONFIG_$(SPL_TPL_)NAND_SUPPORT) += mtd/nand/    
> > 
> > Can't we have
> > 					 += mtd/
> > 
> > instead?  
> 
> You are right the SPL Makefile lines needs to be improved as well. I
> propose the following diff for that.

This is much better.

Thanks for addressing that.

Boris


More information about the U-Boot mailing list