<feed xmlns='http://www.w3.org/2005/Atom'>
<title>buildroot/package/linuxptp, branch 2019.02-op-build</title>
<subtitle>OpenPOWER buildroot sources</subtitle>
<id>https://git.raptorcs.com/git/buildroot/atom?h=2019.02-op-build</id>
<link rel='self' href='https://git.raptorcs.com/git/buildroot/atom?h=2019.02-op-build'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/'/>
<updated>2019-02-08T10:35:22+00:00</updated>
<entry>
<title>packages: update sysv S* scripts to 644</title>
<updated>2019-02-08T10:35:22+00:00</updated>
<author>
<name>Matt Weber</name>
<email>matthew.weber@rockwellcollins.com</email>
</author>
<published>2019-02-05T19:23:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=590e9e05b683ee521d4984b5cb77a590ebb3fd17'/>
<id>urn:sha1:590e9e05b683ee521d4984b5cb77a590ebb3fd17</id>
<content type='text'>
Signed-off-by: Matthew Weber &lt;matthew.weber@rockwellcollins.com&gt;
Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
<entry>
<title>package/linuxptp: bump to version 2.0</title>
<updated>2018-11-24T10:12:47+00:00</updated>
<author>
<name>Fabrice Fontaine</name>
<email>fontaine.fabrice@gmail.com</email>
</author>
<published>2018-11-23T21:04:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=9226efda7621c400c8932d5428dabc20e2552a50'/>
<id>urn:sha1:9226efda7621c400c8932d5428dabc20e2552a50</id>
<content type='text'>
Add hash for license file

Signed-off-by: Fabrice Fontaine &lt;fontaine.fabrice@gmail.com&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@bootlin.com&gt;
</content>
</entry>
<entry>
<title>package: linuxptp: enhance systemd service</title>
<updated>2018-10-21T22:02:24+00:00</updated>
<author>
<name>Petr Kulhavy</name>
<email>brain@jikos.cz</email>
</author>
<published>2018-01-28T16:00:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=85519fc6923c9b670350be2909f73da98ee05307'/>
<id>urn:sha1:85519fc6923c9b670350be2909f73da98ee05307</id>
<content type='text'>
linuxptp now pulls in the time-sync.target, which other services can
use to make sure they have a valid time before starting.

phc2sys (linuxptp-system-clock.service) starts after ptp4l
(linuxptp.service) so we have a valid time before writing it to the
hardware clock.

Signed-off-by: Petr Kulhavy &lt;brain@jikos.cz&gt;
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) &lt;arnout@mind.be&gt;
</content>
</entry>
<entry>
<title>linuxptp: add patch to fix no-thread/linuxthreads uClibc builds</title>
<updated>2018-08-05T13:29:56+00:00</updated>
<author>
<name>Thomas Petazzoni</name>
<email>thomas.petazzoni@bootlin.com</email>
</author>
<published>2018-08-05T13:29:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=ae2cae70b82bbb1c85307c5947e1b441567038fd'/>
<id>urn:sha1:ae2cae70b82bbb1c85307c5947e1b441567038fd</id>
<content type='text'>
linuxptp missing.h header implements a replacement clock_nanosleep()
function, which was used when the thread implementation was not NPTL,
because uClibc failed to provide clock_nanosleep() in such
configurations.

However, uClibc-ng has fixed this problem upstream, and has backported
this change in Buildroot in patch
package/uclibc/0002-librt-declare-clock_nanosleep-independent-of-thread-.patch
(the code is upstream and will be part of uClibc-ng 1.0.31). Due to
this, there is now a conflicting definition of clock_nanosleep()
between the C library and the linuxptp missing.h code, which manifests
itself by the following build failure:

missing.h:117:19: error: static declaration of 'clock_nanosleep' follows non-static declaration
 static inline int clock_nanosleep(clockid_t clock_id, int flags,
                   ^~~~~~~~~~~~~~~
In file included from clockadj.h:24:0,
                 from clockadj.c:24:

This commit fixes that by adding a patch that removes the replacement
clock_nanosleep() implementation from the linuxptp code base.

Fixes:

  http://autobuild.buildroot.net/results/bf400095a853f5beb28c77a50fcffefe52c3d769/

Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@bootlin.com&gt;
</content>
</entry>
<entry>
<title>package: linuxptp: bump to the latest GIT version</title>
<updated>2018-01-30T22:00:22+00:00</updated>
<author>
<name>Petr Kulhavy</name>
<email>brain@jikos.cz</email>
</author>
<published>2018-01-28T16:00:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=a6672bb3ca7bfdd472467c91bbf5b4cde107b496'/>
<id>urn:sha1:a6672bb3ca7bfdd472467c91bbf5b4cde107b496</id>
<content type='text'>
Signed-off-by: Petr Kulhavy &lt;brain@jikos.cz&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>linuxptp: bump to the latest version</title>
<updated>2017-10-10T21:35:21+00:00</updated>
<author>
<name>Petr Kulhavy</name>
<email>brain@jikos.cz</email>
</author>
<published>2017-09-11T10:50:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=2f5dea383e71383a6f6114800c60b6e0f96f29ea'/>
<id>urn:sha1:2f5dea383e71383a6f6114800c60b6e0f96f29ea</id>
<content type='text'>
Update Linuxptp to the latest version from 1. September 2017
This update brings bugfixes and minor enhancements.

Signed-off-by: Petr Kulhavy &lt;brain@jikos.cz&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>linuxptp: remove trailing backslashes</title>
<updated>2017-07-06T20:00:00+00:00</updated>
<author>
<name>Thomas Petazzoni</name>
<email>thomas.petazzoni@free-electrons.com</email>
</author>
<published>2017-07-06T20:00:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=4b693c3c3fa92c4a57f561dcc25e47d4827f8a42'/>
<id>urn:sha1:4b693c3c3fa92c4a57f561dcc25e47d4827f8a42</id>
<content type='text'>
Thanks to Yann E. Morin for spotting these.

Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>linuxptp: refactor with LINUXPTP_MAKE_{ENV,OPTS} variables</title>
<updated>2017-07-06T19:08:05+00:00</updated>
<author>
<name>Thomas Petazzoni</name>
<email>thomas.petazzoni@free-electrons.com</email>
</author>
<published>2017-07-06T19:08:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=3692b63fb1b94fe93b40336f97657d77bf0011bd'/>
<id>urn:sha1:3692b63fb1b94fe93b40336f97657d77bf0011bd</id>
<content type='text'>
Since there is quite some duplication in the variables to be passed in
the make environment and as make options between the build and install
steps, this commit introduces LINUXPTP_MAKE_ENV and LINUXPTP_MAKE_OPTS
to avoid the duplication.

Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>package/linuxptp: set KBUILD_OUTPUT to STAGING_DIR</title>
<updated>2017-07-06T19:05:57+00:00</updated>
<author>
<name>Romain Naour</name>
<email>romain.naour@smile.fr</email>
</author>
<published>2017-07-06T17:43:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=23a0f8808ea86612c9b2ce48b65fcf8c0701c04a'/>
<id>urn:sha1:23a0f8808ea86612c9b2ce48b65fcf8c0701c04a</id>
<content type='text'>
incdefs.sh try to define some flags with user_flags() and kernel_flags()
functions. The later is looking at the kernel headers installed on the host
when KBUILD_OUTPUT is not set. If no kernel headers are installed on the host,
the grep fail and HAVE_ONESTEP_SYNC is not set on the command line:
see: grep: /usr/include/linux/net_tstamp.h: No such file or directory
So the missing.h define HWTSTAMP_TX_ONESTEP_SYNC which is also present in the
kernel headers installed in STAGING_DIR (toolchain w/ headers &gt;= 3.2).

Indeed KBUILD_OUTPUT is empty because it's reset in the makefile, so move
KBUILD_OUTPUT in the enviroment while calling "make"/

Also set KBUILD_OUTPUT to STAGING_DIR to find net_tstamp.h.

While at it, use the same arguments for BUILD_CMDS and
INSTALL_TARGET_CMDS.

Thanks to Yann for the live review during the Buildroot summer camp.

Fixes:
http://autobuild.buildroot.net/results/364/36470db2c262d2e1fda5144a08cfe221831e093e

Signed-off-by: Romain Naour &lt;romain.naour@smile.fr&gt;
Cc: Petr Kulhavy &lt;brain@jikos.cz&gt;
Cc: "Yann E. MORIN" &lt;yann.morin.1998@free.fr&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>package/linuxptp: fix coding style issue</title>
<updated>2017-07-06T19:05:35+00:00</updated>
<author>
<name>Romain Naour</name>
<email>romain.naour@smile.fr</email>
</author>
<published>2017-07-06T17:43:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=d6a3175e83e58ce3359a43f283cb62e186f5453b'/>
<id>urn:sha1:d6a3175e83e58ce3359a43f283cb62e186f5453b</id>
<content type='text'>
Thanks to Yann for the live review during the Buildroot summer camp.

Signed-off-by: Romain Naour &lt;romain.naour@smile.fr&gt;
Cc: Petr Kulhavy &lt;brain@jikos.cz&gt;
Cc: "Yann E. MORIN" &lt;yann.morin.1998@free.fr&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
</feed>
