[U-Boot] [PATCH v3 08/24] pmic: Move pmic related code to ./drivers/power directory

Lukasz Majewski l.majewski at majess.pl
Sat Oct 27 23:01:06 CEST 2012


Hi Tom,

> On Fri, Oct 19, 2012 at 05:43:55PM +0200, Lukasz Majewski wrote:
> 
> > The PMIC framework has been moved to its more natural place
> > ./drivers/power from ./drivers/misc directory.
> > 
> > Signed-off-by: Lukasz Majewski <l.majewski at samsung.com>
> > Signed-off-by: Kyungmin Park <kyungmin.park at samsung.com>
> > ---
> > Changes for v2:
> > - New patch for v2
> > Changes for v3:
> > - None
> > ---
> >  drivers/misc/Makefile                          |    7 -------
> >  drivers/power/Makefile                         |    8 ++++++++
> >  drivers/{misc => power/max8997}/pmic_max8997.c |    0
> >  drivers/{misc => power/max8998}/pmic_max8998.c |    0
> 
> OK, problem.  This doesn't work with O= building.  You need to convert
> these subdirs to building libmax8997.o, etc.

You got me here :-)

I've found this problem when I've been testing the patch series with
MAKEALL script, which cannot duplicate this directory tree at
its ./build dir.

I believe, that those directories are necessary for code readability
and good structure.

I will look into this problem and prepare a proper fix. 

Best regards,
Lukasz Majewski



More information about the U-Boot mailing list