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

2023-11-26 Thread Richard Cochran
On Mon, Oct 23, 2023 at 10:43:43AM +0100, 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} also inside in

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 +, Luca Fancellu wrote: > >> This is what I’ve tried: >> >> Makefile: >> >> CC ?= $(CROSS_COMPILE)gcc > > and if you add: > > expo

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

2023-10-30 Thread Richard Cochran
On Mon, Oct 30, 2023 at 10:44:13AM +, Luca Fancellu wrote: > This is what I’ve tried: > > Makefile: > > CC ?= $(CROSS_COMPILE)gcc and if you add: export CC does it work? Thanks, Richard

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 +, Luca Fancellu wrote: >> Any thought about this? > > For the sake of consistency, can you please implement something like > this instead? > > commit d3dd51ba611802d7cbb28631cb943cb882fa4a

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

2023-10-27 Thread Richard Cochran
On Thu, Oct 26, 2023 at 08:41:08AM +, Luca Fancellu wrote: > Any thought about this? For the sake of consistency, can you please implement something like this instead? commit d3dd51ba611802d7cbb28631cb943cb882fa4aac Author: Changqing Li Date: Wed Nov 23 08:23:46 2022 +0800 makefile: u

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} also inside incdefs.sh.

[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}