Commit Graph

11 Commits

Author SHA1 Message Date
Wojciech Dubowik 2c01641216 Bump linuxptp to version 1.9.2
Signed-off-by: Wojciech Dubowik <klute99@gmail.com>
2018-04-09 15:01:15 +02:00
Hannu Nyman 2db8bec8fe linuxptp: fix version and hash
Correct the versioning and use PKG_HASH

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-04-03 18:08:37 +03:00
Wojciech Dubowik 92bc48de9b linuxptp: Upgrade to v1.9
Plus one upstream fix.

Signed-off-by: Wojciech Dubowik <klute99@gmail.com>
2018-04-03 09:13:01 +02:00
Etienne Champetier 4006865ae8 treewide: run "make check FIXUP=1"
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git

(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-08-29 21:41:14 -07:00
Florian Fainelli b493f36887 linuxptp: Remove unnecessary netdb.h includes
This backports a patch that has been accepted upstream in linuxptp:
8b61aa2c3f3103db1d4ca1d1e49bb4f8831c1abf ("udp: Avoid including
netdb.h") to fix build errors with external glibc toolchains that
provide rpc/types.h.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2017-06-04 14:01:27 -07:00
Hauke Mehrtens 3d8b505356 linuxptp: fix libc functionality check in incdefs.sh
The checks in the incdefs.sh script do not fully work when cross
compiling. It probably checks the hosts libc. Just provide the settings
manually, as our musl at least supports all these features.

Signed-off-by: Hauke Mehrtens <hauke.mehrtens@intel.com>
2017-03-17 19:54:20 +01:00
Hauke Mehrtens e7c51f5973 linuxptp: download directly via http
Instead of cloning the released version via git, just download it via
http from sourceforge.

Signed-off-by: Hauke Mehrtens <hauke.mehrtens@intel.com>
2017-03-17 19:52:34 +01:00
Wojciech Dubowik 398c7ea919 linuxptp: Update to version 1.8
Signed-off-by: Wojciech Dubowik <klute99@gmail.com>
2016-12-02 13:54:35 +01:00
Stephen Walker 87044ef55c linuxptp: pass TARGET_CFLAGS using MAKE_VARS, bump PKG_RELEASE
ccache_cc -Wall -DVER=1.6  -D_GNU_SOURCE -DHAVE_CLOCK_ADJTIME -DHAVE_POSIX_SPAWN -DHAVE_ONESTEP_SYNC     -c -o ptp4l.o ptp4l.c
cc1: note: someone does not honour COPTS correctly, passed 0 times

unpatched
  8229 hwstamp_ctl
128213 phc2sys
 37045 phc_ctl
 99077 pmc
185589 ptp4l
 41141 timemaster

patched (honouring -Os CFLAG)
  8213 hwstamp_ctl
 54469 phc2sys
 20645 phc_ctl
 49877 pmc
 74965 ptp4l
 20645 timemaster

Signed-off-by: Stephen Walker <stephendwalker+github@gmail.com>
2016-07-19 19:02:02 -04:00
Stephen Walker e54025a3f4 linuxptp: include time.h to fix unknown type name 'time_t' error with musl, refresh patches
In file included from print.h:25:0,
                 from linreg.c:24:
util.h:364:32: error: unknown type name 'time_t'
 int rate_limited(int interval, time_t *last);
                                ^

Signed-off-by: Stephen Walker <stephendwalker+github@gmail.com>
2016-07-09 15:10:23 -04:00
Wojciech Dubowik c29df28843 linuxptp: Add the package
Linuxptp is a user space software implementation of IEEE 1588
Precision Time Protocol standard.

Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>
Reviewed-by: John Crispin<blogic@openwrt.org>
2016-01-19 11:04:02 +01:00