summaryrefslogtreecommitdiffstats
path: root/recipes-daemons/ptpd/ptpd-qoriq
diff options
context:
space:
mode:
authorChunrong Guo <chunrong.guo@nxp.com>2018-02-07 12:01:47 +0800
committerOtavio Salvador <otavio@ossystems.com.br>2018-02-21 08:56:06 -0300
commit065e16fc26ccad854112d90b896c72d2a2c3d9e2 (patch)
tree2de3a068293eed918fa21adce27baf90de20852d /recipes-daemons/ptpd/ptpd-qoriq
parent32c704ba38537c9dcc48a7aff17061d1220eb3cf (diff)
downloadmeta-freescale-065e16fc26ccad854112d90b896c72d2a2c3d9e2.tar.gz
ptpd-qoriq: add recipes
*update to ec34cdd ec34cdd - ptpd: support linux PHC APIs and HW timestamp fb75441 - Initial commit for ptpd 2.3.1 Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-daemons/ptpd/ptpd-qoriq')
-rw-r--r--recipes-daemons/ptpd/ptpd-qoriq/ptpd-use-pkgconfig.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/recipes-daemons/ptpd/ptpd-qoriq/ptpd-use-pkgconfig.patch b/recipes-daemons/ptpd/ptpd-qoriq/ptpd-use-pkgconfig.patch
new file mode 100644
index 00000000..e4578dda
--- /dev/null
+++ b/recipes-daemons/ptpd/ptpd-qoriq/ptpd-use-pkgconfig.patch
@@ -0,0 +1,35 @@
1From 4c850b92a1cf8cfa19677c66bcde2edfab1a4490 Mon Sep 17 00:00:00 2001
2From: Joe MacDonald <joe_macdonald@mentor.com>
3Date: Tue, 24 Feb 2015 23:02:14 -0500
4Subject: [PATCH] ptpd: use pkgconfig
5
6Yocto uses pkg-config for libpcap, rather than pcap-config, so use that
7instead as the source for libs and cflags.
8
9Upstream-status: Inappropriate [ embedded specific ]
10
11Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
12---
13 configure.ac | 4 ++--
14 1 file changed, 2 insertions(+), 2 deletions(-)
15
16diff --git a/configure.ac b/configure.ac
17index dc9541f..288f547 100644
18--- a/configure.ac
19+++ b/configure.ac
20@@ -112,10 +112,10 @@ case "$try_pcap" in
21 yes)
22 case "$PATH_PCAP_CONFIG" in
23 /*)
24- PCAP_LIBS=`$PATH_PCAP_CONFIG --libs`
25+ PCAP_LIBS=`$PATH_PCAP_CONFIG --libs libpcap`
26 AC_SUBST([PCAP_LIBS])
27 # Separate CPPFLAGS and CFLAGS
28- foo=`$PATH_PCAP_CONFIG --cflags`
29+ foo=`$PATH_PCAP_CONFIG --cflags libpcap`
30 PCAP_CPPFLAGS=
31 PCAP_CFLAGS=
32 for i in $foo; do
33--
341.9.1
35