summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-connectivity/linuxptp/linuxptp_4.1.bb
Commit message (Collapse)AuthorAgeFilesLines
* linuxptp: upgrade 4.1 -> 4.4Yi Zhao2024-09-291-62/+0
| | | | | | | | | * Update SRC_URI * Drop backport patches * Drop redundant UPSTREAM_CHECK_URI and UPSTREAM_CHECK_REGEX Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Start WORKDIR -> UNPACKDIR transitionKhem Raj2024-05-231-3/+3
| | | | | | | Replace references of WORKDIR with UNPACKDIR where it makes sense to do so in preparation for changing the default value of UNPACKDIR. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linuxptp: Use templates for the systemd servicesLuca Fancellu2023-10-181-5/+10
| | | | | | | | | | | | Use templates for the systemd services so that sbindir and sysconfdir can be written into them, improving portability. Pass sbindir with EXTRA_OEMAKE and remove 'prefix' which is redundant since we pass sbindir and mandir already. Signed-off-by: Luca Fancellu <luca.fancellu@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linuxptp: Drop unneeded downstream patchesLuca Fancellu2023-10-181-3/+2
| | | | | | | | | | | | | | | | | Drop Use-cross-cpp-in-incdefs.patch which is "Inappropriate" but what is fixing can be done in an "Upstreamable" way by the new downstream patch 0002-linuxptp-Use-CC-in-incdefs.sh.patch. Drop build-Allow-CC-and-prefix-to-be-overriden.patch that can be removed by passing CC='${CC}' in EXTRA_OEMAKE and, as already the case, passing prefix=${prefix} in the oe_runmake command line. While there, drop ARCH from EXTRA_OEMAKE because it's not used in the codebase. Signed-off-by: Luca Fancellu <luca.fancellu@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linuxptp: add systemd servicesLuca Fancellu2023-10-131-0/+16
| | | | | | | | | | | | Add systemd services phc2sys@.service and ptp4l@.service, these services are taken from the Ubuntu/Debian linuxptp package. Update the recipe to install them when needed using the systemd bbclass, the services are disabled by default. Signed-off-by: Luca Fancellu <luca.fancellu@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linuxptp: install default configuration file in sysconfdirLuca Fancellu2023-10-131-0/+5
| | | | | | | | | Install a default configuration files to be used in ${sysconfdir}/linuxptp, the default.cfg file from linuxptp is used. Signed-off-by: Luca Fancellu <luca.fancellu@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linuxptp: update linuxptp recipe to 4.1Luca Fancellu2023-10-131-0/+37
Update linuxptp recipe to the new version, from 3.1.1 to 4.1. Remove one downstream patch that is already applied and update the remaining to remove merge issues. Signed-off-by: Luca Fancellu <luca.fancellu@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>