Răsfoiți Sursa

[DM/FEATURE] make SoC Kconfig import easy

Open Kconfig will not fail if using osource,
This way can make SoC Kconfig to DM easy.

Link: ecb89b1370ec27be650a0a2fae7c6802b4246933

Signed-off-by: GuEe-GUI <2991707448@qq.com>
GuEe-GUI 5 luni în urmă
părinte
comite
0d2c84d89f
2 a modificat fișierele cu 1 adăugiri și 6 ștergeri
  1. 0 5
      components/drivers/Kconfig.dm
  2. 1 1
      components/drivers/clk/Kconfig

+ 0 - 5
components/drivers/Kconfig.dm

@@ -1,5 +0,0 @@
-# SPDX-License-Identifier: Apache-2.0
-#
-# This a empty file for SoC DM Kconfig
-#
-comment "SoC Device Drivers"

+ 1 - 1
components/drivers/clk/Kconfig

@@ -5,5 +5,5 @@ menuconfig RT_USING_CLK
     default y
 
 if RT_USING_CLK
-    source "$(RTT_DIR)/components/drivers/$(SOC_DM_CLK_DIR)/Kconfig.dm"
+    osource "$(SOC_DM_CLK_DIR)/Kconfig"
 endif