[Buildroot] [PATCH 1/6] package/axfsutils: fix Makefile

Arnout Vandecappelle arnout at mind.be
Sun Nov 15 16:44:24 UTC 2015


On 13-11-15 22:48, Yann E. MORIN wrote:
> mkfs.axfs uses zlib, but does not have an rpath to our host dir.
> 
> That's because:
>   - we're not passing our host CFLAGS or LDFLAGS
>   - it is forcibly setting CFLAGS in the Makefile, overriding anything
>     specified by the user
>   - it is not using LDFLAGS at all
> 
> Add two patches so that CFLAGS and LDFLAGS from the environment are
> used if present.
> 
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>

Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
 (verified with ldd)

 Probably difficult to upstream this.

 Regards,
 Arnout


> ---
>  package/axfsutils/0001-fix-cflags.patch  | 19 +++++++++++++++++++
>  package/axfsutils/0002-use-ldflags.patch | 20 ++++++++++++++++++++
>  package/axfsutils/axfsutils.mk           |  2 +-
>  3 files changed, 40 insertions(+), 1 deletion(-)
>  create mode 100644 package/axfsutils/0001-fix-cflags.patch
>  create mode 100644 package/axfsutils/0002-use-ldflags.patch
[snip]


-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF



More information about the buildroot mailing list