linuxptp_1.6.bb 822 B

1234567891011121314151617181920
  1. DESCRIPTION = "Precision Time Protocol (PTP) according to IEEE standard 1588 for Linux"
  2. LICENSE = "GPLv2"
  3. LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
  4. SRC_URI = "http://sourceforge.net/projects/linuxptp/files/v${PV}/linuxptp-${PV}.tgz \
  5. file://build-Allow-CC-and-prefix-to-be-overriden.patch"
  6. SRC_URI[md5sum] = "6aa15d83f5a35f1fd076ba9adc4e7285"
  7. SRC_URI[sha256sum] = "e7fd16a9f235b059be527bd512e86f0c1d9f2e7c36736e6d6d9727a4427ac14c"
  8. EXTRA_OEMAKE = "ARCH=${TARGET_ARCH} \
  9. EXTRA_CFLAGS='-D_GNU_SOURCE -DHAVE_CLOCK_ADJTIME -DHAVE_ONESTEP_SYNC ${CFLAGS}'"
  10. do_install () {
  11. install -d ${D}/${bindir}
  12. install -p ${S}/ptp4l ${D}/${bindir}
  13. install -p ${S}/pmc ${D}/${bindir}
  14. install -p ${S}/phc2sys ${D}/${bindir}
  15. install -p ${S}/hwstamp_ctl ${D}/${bindir}
  16. }