linuxptp: fix and simplify recipe, drop dependency on kernel
authorDenys Dmytriyenko <denys@ti.com>
Tue, 1 Apr 2014 04:47:51 +0000 (00:47 -0400)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:36:54 +0000 (08:36 -0800)
commit6a3d4cb1edb64b7632de40e9ff99275a41e710ce
treeb0da55fefcd517b109be497f0b42f20ac0a1d10f
parent52804eadbfc691c1237ccd51348da975a65a1b7e
linuxptp: fix and simplify recipe, drop dependency on kernel

* Build script tries to locate the correct /usr/include/linux/net_tstamp.h just
to see if it contains definition for HWTSTAMP_TX_ONESTEP_SYNC. But that header
file hasn't changed in at least 5 years. The result of the check is to pass
additional defines to the build, which can be passed via EXTRA_OEMAKE.

* The sed command on makefile wasn't even working, plus there's no AR, prefix
is not used and better way is to use EXTRA_CFLAGS and EXTRA_LDFLAGS anyway.

* Neither autotools nor pkgconfig are use during the build, don't inherit them.

(From meta-openembedded rev: ccb88f65709eb2db27e1f41241707ddd1fccd359)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-openembedded/meta-oe/recipes-connectivity/linuxptp/linuxptp_1.4.bb