<feed xmlns='http://www.w3.org/2005/Atom'>
<title>buildroot/package/linuxptp, branch 2017.08</title>
<subtitle>OpenPOWER buildroot sources</subtitle>
<id>https://git.raptorcs.com/git/buildroot/atom?h=2017.08</id>
<link rel='self' href='https://git.raptorcs.com/git/buildroot/atom?h=2017.08'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/'/>
<updated>2017-07-06T20:00:00+00:00</updated>
<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>
<entry>
<title>linuxptp: don't check host headers for target features</title>
<updated>2017-07-01T22:36:25+00:00</updated>
<author>
<name>Baruch Siach</name>
<email>baruch@tkos.co.il</email>
</author>
<published>2017-07-01T21:09:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=85bf5750fe6415949cdd4e6ab27ed02f88f47d1e'/>
<id>urn:sha1:85bf5750fe6415949cdd4e6ab27ed02f88f47d1e</id>
<content type='text'>
The incdefs.sh script runs ${CROSS_COMPILE}cpp to get a list of default
headers directories. Make sure CROSS_COMPILE is set correctly to avoid check
of host headers.

Also, drop the CC command line override. Upstream makefile sets CC to
$(CROSS_COMPILE)gcc.

Should fix:
http://autobuild.buildroot.net/results/394/394414df25b0b7261b27ca5d4901fde0f639e73c/
http://autobuild.buildroot.net/results/6ad/6adbc8c77c2ca70246b31600ab66b37c56c1e89e/
http://autobuild.buildroot.net/results/70d/70dfd05acc9d951169267f2820ecedb37f0711fe/

Cc: Petr Kulhavy &lt;brain@jikos.cz&gt;
Signed-off-by: Baruch Siach &lt;baruch@tkos.co.il&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>linuxptp: new package</title>
<updated>2017-06-11T13:57:16+00:00</updated>
<author>
<name>Petr Kulhavy</name>
<email>brain@jikos.cz</email>
</author>
<published>2017-06-07T18:44:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=09f1b8011b580ae4ce21b6f0e716d69b86efa26a'/>
<id>urn:sha1:09f1b8011b580ae4ce21b6f0e716d69b86efa26a</id>
<content type='text'>
Add the Linux PTP Project package.
http://linuxptp.sourceforge.net/

The SysV and systemd init scripts start the daemon in slave-only mode on eth0
and synchronize the system clock to PTP.

Signed-off-by: Petr Kulhavy &lt;brain@jikos.cz&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
</feed>
