[openwrt/openwrt] stm32: add missing SUBMENU for kmod-phy-stm32-usbphyc and kmod-stm32-timers

LEDE Commits lede-commits at lists.infradead.org
Sat Apr 19 09:46:50 PDT 2025


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/ef38ea7e34f923bdbcf7cb7b722a86e06ae914ac

commit ef38ea7e34f923bdbcf7cb7b722a86e06ae914ac
Author: Thomas Richard <thomas.richard at bootlin.com>
AuthorDate: Tue Jan 14 19:51:05 2025 +0100

    stm32: add missing SUBMENU for kmod-phy-stm32-usbphyc and kmod-stm32-timers
    
    Move kmod-phy-stm32-usbphyc in the "USB Support" menu and kmod-stm32-timers
    in "Other modules" menu.
    
    Signed-off-by: Thomas Richard <thomas.richard at bootlin.com>
    Link: https://github.com/openwrt/openwrt/pull/18119
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 target/linux/stm32/modules.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/target/linux/stm32/modules.mk b/target/linux/stm32/modules.mk
index 2a9ec36e46..2249218105 100644
--- a/target/linux/stm32/modules.mk
+++ b/target/linux/stm32/modules.mk
@@ -5,6 +5,7 @@
 define KernelPackage/phy-stm32-usbphyc
   TITLE:=STM32 USB HS PHY Controller driver
   DEPENDS:=@TARGET_stm32
+  SUBMENU:=$(USB_MENU)
   KCONFIG:=CONFIG_PHY_STM32_USBPHYC
   FILES:=$(LINUX_DIR)/drivers/phy/st/phy-stm32-usbphyc.ko
   AUTOLOAD:=$(call AutoProbe,phy-stm32-usbphyc,)
@@ -118,6 +119,7 @@ $(eval $(call KernelPackage,sound-soc-stm32-dfsdm))
 define KernelPackage/stm32-timers
   TITLE:=STM32 Timers
   DEPENDS:=@TARGET_stm32 +kmod-mfd
+  SUBMENU:=$(OTHER_MENU)
   KCONFIG:=CONFIG_MFD_STM32_TIMERS
   FILES:=$(LINUX_DIR)/drivers/mfd/stm32-timers.ko
   AUTOLOAD:=$(call AutoProbe,stm32-timers)




More information about the lede-commits mailing list