[Skiboot] [PATCH] external: Add Makefile targets to install libflash

Stewart Smith stewart at linux.vnet.ibm.com
Fri Jan 15 15:47:43 AEDT 2016


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.


-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list