mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-03-03 18:23:47 +01:00
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>
This commit is contained in:
parent
f45cfd1f43
commit
cf4cd07777
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue