package/axfsutils: fix Makefile
authorYann E. MORIN <yann.morin.1998@free.fr>
Fri, 13 Nov 2015 21:48:47 +0000 (22:48 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 17 Nov 2015 08:29:24 +0000 (09:29 +0100)
commitcb8b5c27b2eaca31e83603417dd7a7269504cbac
tree5d7dc785ca1e8801d3ec5f659526e1789edcb98f
parent7caf46439c684340a494e3aed345c479ec6927c2
package/axfsutils: fix Makefile

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@free.fr>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/axfsutils/0001-fix-cflags.patch [new file with mode: 0644]
package/axfsutils/0002-use-ldflags.patch [new file with mode: 0644]
package/axfsutils/axfsutils.mk