mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-27 07:57:27 +00:00
ptpd: update to 2.3.0
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com> Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com> Signed-off-by: Cliff Brake <cbrake@bec-systems.com>
This commit is contained in:
committed by
Cliff Brake
parent
a6dcf62658
commit
d436ffc7ba
@@ -1,37 +0,0 @@
|
|||||||
Patch from http://patch-tracker.debian.org/package/ptpd
|
|
||||||
|
|
||||||
Description: Fix ld --as-needed
|
|
||||||
This patch fixes the order of gcc arguments to fix ld --as-needed
|
|
||||||
Author: Roland Stigge <stigge@antcom.de>
|
|
||||||
Bug-Debian: http://bugs.debian.org/607583
|
|
||||||
|
|
||||||
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
|
|
||||||
---
|
|
||||||
src/Makefile | 4 ++--
|
|
||||||
1 files changed, 2 insertions(+), 2 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/src/Makefile b/src/Makefile
|
|
||||||
index a672625..88a2fc8 100644
|
|
||||||
--- a/src/Makefile
|
|
||||||
+++ b/src/Makefile
|
|
||||||
@@ -40,7 +40,7 @@ CFLAGS += -DDBG_SIGUSR2_CHANGE_DEBUG
|
|
||||||
|
|
||||||
CFLAGS += -DPTP_EXPERIMENTAL
|
|
||||||
|
|
||||||
-LDFLAGS+= -lm -lrt
|
|
||||||
+LIBS += -lm -lrt
|
|
||||||
|
|
||||||
PROG = ptpd
|
|
||||||
SRCS = ptpd.c arith.c bmc.c protocol.c display.c\
|
|
||||||
@@ -63,7 +63,7 @@ TAGFILES = GPATH GRTAGS GSYMS GTAGS cscope.in.out cscope.out cscope.po.out
|
|
||||||
all: $(PROG)
|
|
||||||
|
|
||||||
$(PROG): $(OBJS)
|
|
||||||
- $(CC) -o $@ $(OBJS) $(LDFLAGS)
|
|
||||||
+ $(CC) -o $@ $(OBJS) $(LDFLAGS) $(LIBS)
|
|
||||||
|
|
||||||
$(OBJS): $(HDRS)
|
|
||||||
|
|
||||||
--
|
|
||||||
1.7.4
|
|
||||||
|
|
||||||
+11
-10
@@ -6,23 +6,24 @@ time coordination of LAN connected computers."
|
|||||||
HOMEPAGE = "http://sourceforge.net/projects/ptpd"
|
HOMEPAGE = "http://sourceforge.net/projects/ptpd"
|
||||||
SECTION = "network"
|
SECTION = "network"
|
||||||
LICENSE = "BSD"
|
LICENSE = "BSD"
|
||||||
LIC_FILES_CHKSUM = "file://../COPYRIGHT;md5=3d8ac2c46c116bce2d2ad838b6cf3491"
|
LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=4019cad2b3cd55f22ea819ffad6ccd41"
|
||||||
|
|
||||||
PR = "r1"
|
DEPENDS = "libpcap"
|
||||||
|
|
||||||
SRC_URI = "http://downloads.sourceforge.net/project/ptpd/ptpd/${PV}/ptpd-${PV}.tar.gz \
|
inherit autotools
|
||||||
file://ld-as-needed.patch;striplevel=2 \
|
|
||||||
"
|
|
||||||
|
|
||||||
SRC_URI[md5sum] = "c63a3a149d30c710773ccb02df5782a3"
|
SRC_URI = "http://downloads.sourceforge.net/project/ptpd/ptpd/${PV}/ptpd-${PV}.tar.gz"
|
||||||
SRC_URI[sha256sum] = "f2266a22db84318d8b9ce266ea83772c03438c31f4993fa9643fa675a07c26b4"
|
|
||||||
|
|
||||||
S = "${WORKDIR}/ptpd-${PV}/src"
|
S = "${WORKDIR}/ptpd-${PV}"
|
||||||
|
SRC_URI[md5sum] = "f5e931b4a229705ff0dbdfe22490566b"
|
||||||
|
SRC_URI[sha256sum] = "1a4e90496f004bfd91657ccc49209101dc25b787e540648c07c0973469f1d8f7"
|
||||||
|
|
||||||
EXTRA_OEMAKE = ""
|
EXTRA_OEMAKE = ""
|
||||||
|
|
||||||
|
EXTRA_OECONF += "--disable-snmp"
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
install -d ${D}${bindir} ${D}${mandir}/man8
|
install -d ${D}${bindir} ${D}${mandir}/man8
|
||||||
install -m 0755 ptpd2 ${D}${bindir}
|
install -m 0755 ${B}/src/ptpd2 ${D}${bindir}
|
||||||
install -m 0644 ptpd2.8 ${D}${mandir}/man8
|
install -m 0644 ${B}/src/ptpd2.8 ${D}${mandir}/man8
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user