diff options
| author | Markus Stockhausen | 2026-02-20 19:51:05 +0000 |
|---|---|---|
| committer | Robert Marko | 2026-02-23 21:03:03 +0000 |
| commit | cf4cd07777787e813f16ed80a50384a5f3936260 (patch) | |
| tree | b45567171c4e6b39325f97ea8feb4dc1bafc6053 | |
| parent | f45cfd1f4310db0240f9ba7b1c30fd227a45b859 (diff) | |
| download | stintel-cf4cd07777787e813f16ed80a50384a5f3936260.tar.gz | |
realtek: dsa: allow building as a module
The makefile recipe is wrong and a module compilation tries
to build each object individually. Fix that. This allows to
build the dsa driver as a module.
Suggested-by: Balázs Triszka <info@balika011.hu>
Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/22121
Signed-off-by: Robert Marko <robimarko@gmail.com>
| -rw-r--r-- | target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/Makefile b/target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/Makefile index 8752c79700..1511dae8ea 100644 --- a/target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/Makefile +++ b/target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/Makefile @@ -1,3 +1,3 @@ # SPDX-License-Identifier: GPL-2.0 -obj-$(CONFIG_NET_DSA_RTL83XX) += common.o dsa.o \ - rtl838x.o rtl839x.o rtl930x.o rtl931x.o debugfs.o qos.o tc.o +obj-$(CONFIG_NET_DSA_RTL83XX) += rtl_otto_dsa.o +rtl_otto_dsa-objs := common.o dsa.o rtl838x.o rtl839x.o rtl930x.o rtl931x.o debugfs.o qos.o tc.o |