Re: [Linuxptp-devel] [PATCH v2 0/2] Build linuxptp with Yocto

2023-11-06 Thread Luca Fancellu
> On 23 Oct 2023, at 10:43, Luca Fancellu wrote: > > Hi, I'm sending this serie that allows linuxptp to be built with Yocto, > we are now carrying them as downstream patches [1], but having them merged in > the codebase would be great to limit the maintenance of the reci

Re: [Linuxptp-devel] [PATCH v2 2/2] linuxptp: Use ${CC} in incdefs.sh

2023-10-30 Thread Luca Fancellu
Hi Richard, > On 30 Oct 2023, at 14:48, Richard Cochran wrote: > > On Mon, Oct 30, 2023 at 10:44:13AM +0000, Luca Fancellu wrote: > >> This is what I’ve tried: >> >> Makefile: >> >> CC

Re: [Linuxptp-devel] [PATCH v2 2/2] linuxptp: Use ${CC} in incdefs.sh

2023-10-30 Thread Luca Fancellu
Hi Richard, > On 28 Oct 2023, at 00:12, Richard Cochran wrote: > > On Thu, Oct 26, 2023 at 08:41:08AM +0000, Luca Fancellu wrote: >> Any thought about this? > > For the sake of consistency, can you please implement something like >

Re: [Linuxptp-devel] [PATCH v2 2/2] linuxptp: Use ${CC} in incdefs.sh

2023-10-26 Thread Luca Fancellu
> On 23 Oct 2023, at 10:43, Luca Fancellu wrote: > > The Makefile is defining CC and incdefs.sh is using > ${CROSS_COMPILE}cpp inside it, allowing both to use different > compilers depending on what the user pass during make invocation > as CC. > > Align them using ${CC

[Linuxptp-devel] [PATCH v2 0/2] Build linuxptp with Yocto

2023-10-23 Thread Luca Fancellu
ta-oe/recipes-connectivity/linuxptp/linuxptp v2: Based on the status of these upstream patches, I will align the linuxptp meta-openembedded downstream patches. Khem Raj (1): include string.h for strncpy() Luca Fancellu (1): linuxptp: Use ${CC} in incdefs.sh incdefs.sh | 2 +- interface.

[Linuxptp-devel] [PATCH v2 2/2] linuxptp: Use ${CC} in incdefs.sh

2023-10-23 Thread Luca Fancellu
The Makefile is defining CC and incdefs.sh is using ${CROSS_COMPILE}cpp inside it, allowing both to use different compilers depending on what the user pass during make invocation as CC. Align them using ${CC} also inside incdefs.sh. Signed-off-by: Luca Fancellu --- Changes from v1: - The ${CC

[Linuxptp-devel] [PATCH v2 1/2] include string.h for strncpy()

2023-10-23 Thread Luca Fancellu
From: Khem Raj Signed-off-by: Khem Raj --- Changes from v1: - no changes --- interface.c | 1 + 1 file changed, 1 insertion(+) diff --git a/interface.c b/interface.c index 29229ad6f53d..9a83c36933e7 100644 --- a/interface.c +++ b/interface.c @@ -5,6 +5,7 @@ * @note SPDX-License-Identifier:

Re: [Linuxptp-devel] [PATCH 2/2] linuxptp: Use ${CC} in incdefs.sh

2023-10-20 Thread Luca Fancellu
version := $(shell $(srcdir)/version.sh $(srcdir)) VPATH = $(srcdir) What do you think? > > > > > On Thu, 19 Oct 2023 at 17:10, Luca Fancellu wrote: > The Makefile is defining CC and incdefs.sh is using > ${CROSS_COMPILE}cpp inside it, allowing both to use different >

[Linuxptp-devel] [PATCH 2/2] linuxptp: Use ${CC} in incdefs.sh

2023-10-19 Thread Luca Fancellu
The Makefile is defining CC and incdefs.sh is using ${CROSS_COMPILE}cpp inside it, allowing both to use different compilers depending on what the user pass during make invocation as CC. Align them using ${CC} also inside incdefs.sh Signed-off-by: Luca Fancellu --- incdefs.sh | 2 +- 1 file

[Linuxptp-devel] [PATCH 0/2] Build linuxptp with Yocto

2023-10-19 Thread Luca Fancellu
ta-oe/recipes-connectivity/linuxptp/linuxptp Khem Raj (1): include string.h for strncpy() Luca Fancellu (1): linuxptp: Use ${CC} in incdefs.sh incdefs.sh | 2 +- interface.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) -- 2.34.1 ___ Lin

[Linuxptp-devel] [PATCH 1/2] include string.h for strncpy()

2023-10-19 Thread Luca Fancellu
From: Khem Raj Signed-off-by: Khem Raj --- interface.c | 1 + 1 file changed, 1 insertion(+) diff --git a/interface.c b/interface.c index 29229ad6f53d..9a83c36933e7 100644 --- a/interface.c +++ b/interface.c @@ -5,6 +5,7 @@ * @note SPDX-License-Identifier: GPL-2.0+ */ #include +#include