difos/target/linux/realtek/patches-6.12/306-disable-upstream-realtek-board.patch
Markus Stockhausen d9a5cafc40 realtek: 6.12: adapt platform patch
Upstream has integrated the Realtek target into the generic MIPS
initialization and so MACH_REALTEK_RTL has gained some new features.
Especially:

- CONFIG_MACH_GENERIC_CORE generates central modules
- board-realtek module adds device specific extensions

The current downstream initialization works well and upgrading to
kernel 6.12 is not the right time to harmonize this. Modify the
MACH definitions to the current needs.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/18935
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-06-11 22:27:22 +02:00

16 lines
686 B
Diff

From: Markus Stockhausen <markus.stockhausen@gmx.de>
Subject: [PATCH] realtek: disable upstream Realtek board
Upstream now has integrated the Realtek target into the generic
MIPS initialization. For now disable the board compilation.
Submitted-by: Markus Stockhausen <markus.stockhausen@gmx.de>
---
--- a/arch/mips/generic/Makefile
+++ b/arch/mips/generic/Makefile
@@ -13,4 +13,4 @@ obj-$(CONFIG_LEGACY_BOARD_SEAD3) += boar
obj-$(CONFIG_LEGACY_BOARD_OCELOT) += board-ocelot.o
obj-$(CONFIG_MACH_INGENIC) += board-ingenic.o
obj-$(CONFIG_VIRT_BOARD_RANCHU) += board-ranchu.o
-obj-$(CONFIG_MACH_REALTEK_RTL) += board-realtek.o
+# obj-$(CONFIG_MACH_REALTEK_RTL) += board-realtek.o