From patchwork Wed Oct 18 11:20:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Fancellu X-Patchwork-Id: 728 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 41584C46CA1 for ; Wed, 18 Oct 2023 11:21:16 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.278744.1697628069043272871 for ; Wed, 18 Oct 2023 04:21:09 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: luca.fancellu@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id C19DB1007; Wed, 18 Oct 2023 04:21:49 -0700 (PDT) Received: from e125770.cambridge.arm.com (e125770.arm.com [10.1.199.1]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 36C4F3F762; Wed, 18 Oct 2023 04:21:08 -0700 (PDT) From: Luca Fancellu To: openembedded-devel@lists.openembedded.org Cc: diego.sueiro@arm.com, rahul.singh@arm.com Subject: [PATCH v2 0/2] Updates to the linuxptp recipe Date: Wed, 18 Oct 2023 12:20:57 +0100 Message-Id: <20231018112059.2368845-1-luca.fancellu@arm.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 18 Oct 2023 11:21:16 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/105571 In this serie I am itroducing templates for the systemd services, to increase the portability and I'm also reducing the number of downstream patches. Changes from v1: - serie was not building with clang: https://errors.yoctoproject.org/Errors/Details/739959/ Fixed the issue introducing a new patch that should be upstreamable. Luca Fancellu (2): linuxptp: Drop unneeded downstream patches linuxptp: Use templates for the systemd services .../0002-linuxptp-Use-CC-in-incdefs.sh.patch | 34 ++++++++++++++++++ .../linuxptp/Use-cross-cpp-in-incdefs.patch | 28 --------------- ...-Allow-CC-and-prefix-to-be-overriden.patch | 35 ------------------- .../{phc2sys@.service => phc2sys@.service.in} | 2 +- .../{ptp4l@.service => ptp4l@.service.in} | 2 +- .../linuxptp/linuxptp_4.1.bb | 18 ++++++---- 6 files changed, 47 insertions(+), 72 deletions(-) create mode 100644 meta-oe/recipes-connectivity/linuxptp/linuxptp/0002-linuxptp-Use-CC-in-incdefs.sh.patch delete mode 100644 meta-oe/recipes-connectivity/linuxptp/linuxptp/Use-cross-cpp-in-incdefs.patch delete mode 100644 meta-oe/recipes-connectivity/linuxptp/linuxptp/build-Allow-CC-and-prefix-to-be-overriden.patch rename meta-oe/recipes-connectivity/linuxptp/linuxptp/systemd/{phc2sys@.service => phc2sys@.service.in} (85%) rename meta-oe/recipes-connectivity/linuxptp/linuxptp/systemd/{ptp4l@.service => ptp4l@.service.in} (73%)