Commit graph

2 commits

Author SHA1 Message Date
Florian Fainelli
657be0880b libcanfestival: Don't force -fhonour-opts
-fhonour-copts is an OpenWrt/LEDE toolchain specific patch, forcing it
will make external toolchain fail to build this package. What we need
instead is a way to override CFLAGS from the different Makefile files so
rename the patch to illustrate that.

Fixes: 317c2469d9 ("libcanfestival: fix several small build process issues")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2017-06-04 19:48:46 -07:00
Michael Heimpold
317c2469d9 libcanfestival: fix several small build process issues
This patch tries to address the following package issues:

- the upstream hg repository seems to contain some invalid timestamps,
  at least the following warning are generated during package compilation
  (only one example):

  emcy.c: Timestamp out of range; substituting 2514-05-30 01:53:03.999999999

  This can be fixed by touching all files after unpacking, thus tar is
  now given the -m switch.

- one or more LEDE buildbot(s) do not have hg tool installed and thus are not
  able to checkout the sources from upstream

  This patch populates PKG_MIRROR_HASH in the hope that the buildbot's first
  try is to download an already packed source tarball prior to checkout it out
  from upstream.

- While at packaging from upstream, use the common infrastructure, i.e. use
  a source date etc. This also results in tar.xz files and thus reduces the
  disk footprint a little bit.

- during compilation the follwing warning could be observed:

  cc1: note: someone does not honour copts correctly, passed 0 times

  To silent down these warning, patch the Makefiles and pass the expected
  option.

Important note: changes are only compile tested due to missing hardware at
hand.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2017-04-18 23:33:48 +02:00