[Buildroot] [PATCH v2 1/1] package/mtd: fix musl compile

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sat Apr 25 08:30:35 UTC 2015


Dear Jörg Krause,

On Fri, 24 Apr 2015 23:56:03 +0200, Jörg Krause wrote:
> Update rpmatch patch to commit 5923077649ca167991a24ca05bd285fdf6fa1a06 and
> expand to musl. Rename it.
> 
> Add more patches to fix compile issues with musl.
> 
> Patches sent upstream:
> 1) "include/common.h: fix build against musl"
>    http://patchwork.ozlabs.org/patch/464074/
> 2) "lib/libfec.c: fix build against musl"
>    http://patchwork.ozlabs.org/patch/464073/
> 3) "serve_image: do not include error.h"
>    http://patchwork.ozlabs.org/patch/464416/
> 4) "recv_image: do not include error.h"
>    http://patchwork.ozlabs.org/patch/464417/
> 
> Signed-off-by: Jörg Krause <joerg.krause at embedded.rocks>
> Reported-by: Peter Korsgaard <peter at korsgaard.com>
> 
> ---
> Changes v1 -> v2:
>   - Fix malformed patch
>   - Do not squash additional musl patches
>   - Drop rejected patch "Makefile: fix build against musl"
>   - Add patch "serve_image: do not include error.h"
>   - Add patch "recv_image: do not include error.h"
> ---
>  ...1-Fix-rpmatch-call-under-uClibc-and-musl.patch} | 51 ++++++++++++++--------
>  .../0002-lib-libfec.c-fix-build-against-musl.patch | 30 +++++++++++++
>  .../0003-serve_image-do-not-include-error.h.patch  | 31 +++++++++++++
>  .../0004-recv_image-do-not-include-error.h.patch   | 31 +++++++++++++
>  4 files changed, 126 insertions(+), 17 deletions(-)
>  rename package/mtd/{0001-Fix-rpmatch-call-under-uClibc.patch => 0001-Fix-rpmatch-call-under-uClibc-and-musl.patch} (50%)
>  create mode 100644 package/mtd/0002-lib-libfec.c-fix-build-against-musl.patch
>  create mode 100644 package/mtd/0003-serve_image-do-not-include-error.h.patch
>  create mode 100644 package/mtd/0004-recv_image-do-not-include-error.h.patch

Applied, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list