Thread (32 messages) 32 messages, 6 authors, 2021-11-24

Re: [PATCH v2 0/7] Add PTP support for BCM53128 switch

flat view

From: Vladimir Oltean <olteanv@gmail.com>
Date: 2021-11-09 10:39:46
Also in: lkml

On Tue, Nov 09, 2021 at 10:50:02AM +0100, Martin Kaistra wrote:
Ideally, for the B53=m case, I would have liked to include the PTP
support in the b53_module itself, however I couldn't find a way to do
that without renaming either the common source file or the module, which
I didn't want to do.

Instead, b53_ptp will be allowed as a loadable module, but only if
b53_common is also a module, otherwise it will be built-in.
Does this not work?

obj-$(CONFIG_B53)		+= b53_common.o

ifdef CONFIG_B53_PTP
b53_common-objs += b53_ptp.o
endif

(haven't tried though)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help