From: Stephen Langstaff <stephenlangstaff1@gmail.com>
To: andrew@lunn.ch, f.fainelli@gmain.com, olteanv@gmain.com
Cc: linux-kernel@vger.kernel.org
Subject: drivers/net/dsa/dsa_loop_bdinfo.c build problems
Date: Mon, 13 May 2024 15:43:57 +0100 [thread overview]
Message-ID: <CAHx5RXBCLPEZcrnUNx9GrQhQKtA-c4WSN6+vbAaqk6P4WSvrKA@mail.gmail.com> (raw)
Hi there.
I have come across an issue in the Linux kernel (6.8.7 and others) and
wondered whether I am doing something wrong?
In trying to test the dsa_loop module, I have found that the
dsa_loop_bdinfo module is not built when the following combination of
configuration items is set:
CONFIG_NET_DSA=y
CONFIG_NET_DSA_LOOP=m
CONFIG_FIXED_PHY=y
This combination can easily be obtained using make menuconfig.
It seems that driver/net/Makefile’s inclusion of the dsa directory as
an obj-m precludes the building of dsa_loop_bdinfo.c (which is an
obj-y):
driver/net/Makefile:
…
obj-$(CONFIG_NET_DSA) += dsa/
…
driver/net/dsa/Makefile:
…
ifdef CONFIG_NET_DSA_LOOP
obj-$(CONFIG_FIXED_PHY) += dsa_loop_bdinfo.o
endif
…
next reply other threads:[~2024-05-13 14:44 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-13 14:43 Stephen Langstaff [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-05-13 15:33 drivers/net/dsa/dsa_loop_bdinfo.c build problems Stephen Langstaff
2024-05-13 15:34 ` Florian Fainelli
2024-05-13 15:36 ` Stephen Langstaff
2024-05-13 15:40 ` Florian Fainelli
2024-05-13 15:45 ` Stephen Langstaff
2024-05-13 15:50 ` Florian Fainelli
2024-05-13 16:21 ` Stephen Langstaff
2024-05-13 16:54 ` Andrew Lunn
2024-05-13 17:40 ` Stephen Langstaff
2024-05-13 17:54 ` Andrew Lunn
[not found] ` <CAHx5RXCF0=Soz_k88RGvJFGrajaxn=mVnqpb99GAQ=b7XOcWiw@mail.gmail.com>
2024-05-13 19:05 ` Florian Fainelli
2024-05-14 9:28 ` Stephen Langstaff
2024-05-14 12:32 ` Andrew Lunn
2024-05-14 16:08 ` Stephen Langstaff
2024-05-14 16:17 ` Andrew Lunn
2024-05-15 4:05 ` Florian Fainelli
2024-05-15 19:20 ` Florian Fainelli
2024-05-16 2:17 ` Masahiro Yamada
2024-05-16 3:35 ` Florian Fainelli
2024-05-16 6:39 ` Masahiro Yamada
2024-05-15 9:23 ` Stephen Langstaff
2024-05-15 19:26 ` Florian Fainelli
2024-05-16 9:27 ` Stephen Langstaff
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAHx5RXBCLPEZcrnUNx9GrQhQKtA-c4WSN6+vbAaqk6P4WSvrKA@mail.gmail.com \
--to=stephenlangstaff1@gmail.com \
--cc=andrew@lunn.ch \
--cc=f.fainelli@gmain.com \
--cc=linux-kernel@vger.kernel.org \
--cc=olteanv@gmain.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).