[Skiboot] [PATCH] external: Add Makefile targets to install libflash
sam at mendozajonas.com
Fri Jan 15 16:06:55 AEDT 2016
On Fri, Jan 15, 2016 at 03:47:43PM +1100, Stewart Smith wrote:
> Sam Mendoza-Jonas <sam at mendozajonas.com> writes:
> > From: Samuel Mendoza-Jonas <sam.mj at au1.ibm.com>
> > This adds a Makefile under external/shared to build libflash as a
> > shared library and install it.
> > This allows programs outside of the skiboot tree to link against
> > libflash in order to access MTD devices (eg. Petitboot).
> > Signed-off-by: Samuel Mendoza-Jonas <sam.mj at au1.ibm.com>
> > ---
> > V2: Check if CC needs to be set, and avoid using ldconfig (in buildroot it is
> > not properly exported for cross-compilation).
> Thanks! Merged as of b2649b822ab57ab06f0028d8343320ae6e11cc50 even
> though likely going to replace with autotools at some point, merging
> this will let you get petitboot things going.
Many thanks :) Feel free to push that in my direction as well if you
need a hand.
> Stewart Smith
> OPAL Architect, IBM.
> Skiboot mailing list
> Skiboot at lists.ozlabs.org
More information about the Skiboot