diff --git a/bsp/xuantie/smartl/e902/Kconfig b/bsp/xuantie/smartl/e902/Kconfig index 8680668cf0b..9474632ffc0 100644 --- a/bsp/xuantie/smartl/e902/Kconfig +++ b/bsp/xuantie/smartl/e902/Kconfig @@ -1,27 +1,10 @@ mainmenu "RT-Thread Configuration" -config BSP_DIR - string - option env="BSP_ROOT" - default "." +BSP_DIR := . -config RTT_DIR - string - option env="RTT_ROOT" - default "rt-thread" +RTT_DIR := ../../../../ -# you can change the RTT_ROOT default "rt-thread" -# example : default "F:/git_repositories/rt-thread" - -config PKGS_DIR - string - option env="PKGS_ROOT" - default "packages" - -config ENV_DIR - string - option env="ENV_ROOT" - default "/" +PKGS_DIR := packages config XUANTIAN_SMARTL_E902 bool @@ -30,6 +13,6 @@ config XUANTIAN_SMARTL_E902 select RT_USING_USER_MAIN default y -source "$RTT_DIR/Kconfig" +source "$(RTT_DIR)/Kconfig" source "$PKGS_DIR/Kconfig" source "$BSP_DIR/board/Kconfig" diff --git a/bsp/xuantie/smartl/e906/Kconfig b/bsp/xuantie/smartl/e906/Kconfig index 8fe8e876e98..feecd060a2e 100644 --- a/bsp/xuantie/smartl/e906/Kconfig +++ b/bsp/xuantie/smartl/e906/Kconfig @@ -1,27 +1,10 @@ mainmenu "RT-Thread Configuration" -config BSP_DIR - string - option env="BSP_ROOT" - default "." +BSP_DIR := . -config RTT_DIR - string - option env="RTT_ROOT" - default "rt-thread" +RTT_DIR := ../../../../ -# you can change the RTT_ROOT default "rt-thread" -# example : default "F:/git_repositories/rt-thread" - -config PKGS_DIR - string - option env="PKGS_ROOT" - default "packages" - -config ENV_DIR - string - option env="ENV_ROOT" - default "/" +PKGS_DIR := packages config XUANTIAN_SMARTL_E906 bool @@ -30,6 +13,6 @@ config XUANTIAN_SMARTL_E906 select RT_USING_USER_MAIN default y -source "$RTT_DIR/Kconfig" +source "$(RTT_DIR)/Kconfig" source "$PKGS_DIR/Kconfig" source "$BSP_DIR/board/Kconfig" diff --git a/bsp/xuantie/smartl/e907/Kconfig b/bsp/xuantie/smartl/e907/Kconfig index a7754dca2ea..3ed73c88943 100644 --- a/bsp/xuantie/smartl/e907/Kconfig +++ b/bsp/xuantie/smartl/e907/Kconfig @@ -1,27 +1,10 @@ mainmenu "RT-Thread Configuration" -config BSP_DIR - string - option env="BSP_ROOT" - default "." +BSP_DIR := . -config RTT_DIR - string - option env="RTT_ROOT" - default "rt-thread" +RTT_DIR := ../../../../ -# you can change the RTT_ROOT default "rt-thread" -# example : default "F:/git_repositories/rt-thread" - -config PKGS_DIR - string - option env="PKGS_ROOT" - default "packages" - -config ENV_DIR - string - option env="ENV_ROOT" - default "/" +PKGS_DIR := packages config XUANTIAN_SMARTL_E907 bool @@ -30,6 +13,6 @@ config XUANTIAN_SMARTL_E907 select RT_USING_USER_MAIN default y -source "$RTT_DIR/Kconfig" +source "$(RTT_DIR)/Kconfig" source "$PKGS_DIR/Kconfig" source "$BSP_DIR/board/Kconfig" diff --git a/bsp/xuantie/xiaohui/c906/Kconfig b/bsp/xuantie/xiaohui/c906/Kconfig index e6554754234..593b1723066 100644 --- a/bsp/xuantie/xiaohui/c906/Kconfig +++ b/bsp/xuantie/xiaohui/c906/Kconfig @@ -1,27 +1,10 @@ mainmenu "RT-Thread Configuration" -config BSP_DIR - string - option env="BSP_ROOT" - default "." +BSP_DIR := . -config RTT_DIR - string - option env="RTT_ROOT" - default "rt-thread" +RTT_DIR := ../../../../ -# you can change the RTT_ROOT default "rt-thread" -# example : default "F:/git_repositories/rt-thread" - -config PKGS_DIR - string - option env="PKGS_ROOT" - default "packages" - -config ENV_DIR - string - option env="ENV_ROOT" - default "/" +PKGS_DIR := packages config XUANTIAN_XIAOHUI_C906 bool @@ -30,6 +13,6 @@ config ENV_DIR select RT_USING_USER_MAIN default y -source "$RTT_DIR/Kconfig" +source "$(RTT_DIR)/Kconfig" source "$PKGS_DIR/Kconfig" source "$BSP_DIR/board/Kconfig" diff --git a/bsp/xuantie/xiaohui/c907/Kconfig b/bsp/xuantie/xiaohui/c907/Kconfig index 7986b1ff299..0fc0c1d78fc 100644 --- a/bsp/xuantie/xiaohui/c907/Kconfig +++ b/bsp/xuantie/xiaohui/c907/Kconfig @@ -1,27 +1,10 @@ mainmenu "RT-Thread Configuration" -config BSP_DIR - string - option env="BSP_ROOT" - default "." +BSP_DIR := . -config RTT_DIR - string - option env="RTT_ROOT" - default "rt-thread" +RTT_DIR := ../../../../ -# you can change the RTT_ROOT default "rt-thread" -# example : default "F:/git_repositories/rt-thread" - -config PKGS_DIR - string - option env="PKGS_ROOT" - default "packages" - -config ENV_DIR - string - option env="ENV_ROOT" - default "/" +PKGS_DIR := packages config XUANTIAN_XIAOHUI_C907 bool @@ -30,6 +13,6 @@ config ENV_DIR select RT_USING_USER_MAIN default y -source "$RTT_DIR/Kconfig" +source "$(RTT_DIR)/Kconfig" source "$PKGS_DIR/Kconfig" source "$BSP_DIR/board/Kconfig" diff --git a/bsp/xuantie/xiaohui/c908/Kconfig b/bsp/xuantie/xiaohui/c908/Kconfig index 99c62ff7dab..bdff90abde5 100644 --- a/bsp/xuantie/xiaohui/c908/Kconfig +++ b/bsp/xuantie/xiaohui/c908/Kconfig @@ -1,27 +1,10 @@ mainmenu "RT-Thread Configuration" -config BSP_DIR - string - option env="BSP_ROOT" - default "." +BSP_DIR := . -config RTT_DIR - string - option env="RTT_ROOT" - default "rt-thread" +RTT_DIR := ../../../../ -# you can change the RTT_ROOT default "rt-thread" -# example : default "F:/git_repositories/rt-thread" - -config PKGS_DIR - string - option env="PKGS_ROOT" - default "packages" - -config ENV_DIR - string - option env="ENV_ROOT" - default "/" +PKGS_DIR := packages config XUANTIAN_XIAOHUI_C908 bool @@ -30,6 +13,6 @@ config ENV_DIR select RT_USING_USER_MAIN default y -source "$RTT_DIR/Kconfig" +source "$(RTT_DIR)/Kconfig" source "$PKGS_DIR/Kconfig" source "$BSP_DIR/board/Kconfig" diff --git a/bsp/xuantie/xiaohui/c910/Kconfig b/bsp/xuantie/xiaohui/c910/Kconfig index 6b85ddc4492..29cb077c2a0 100644 --- a/bsp/xuantie/xiaohui/c910/Kconfig +++ b/bsp/xuantie/xiaohui/c910/Kconfig @@ -1,27 +1,10 @@ mainmenu "RT-Thread Configuration" -config BSP_DIR - string - option env="BSP_ROOT" - default "." +BSP_DIR := . -config RTT_DIR - string - option env="RTT_ROOT" - default "rt-thread" +RTT_DIR := ../../../../ -# you can change the RTT_ROOT default "rt-thread" -# example : default "F:/git_repositories/rt-thread" - -config PKGS_DIR - string - option env="PKGS_ROOT" - default "packages" - -config ENV_DIR - string - option env="ENV_ROOT" - default "/" +PKGS_DIR := packages config XUANTIAN_XIAOHUI_C910 bool @@ -30,6 +13,6 @@ config ENV_DIR select RT_USING_USER_MAIN default y -source "$RTT_DIR/Kconfig" +source "$(RTT_DIR)/Kconfig" source "$PKGS_DIR/Kconfig" source "$BSP_DIR/board/Kconfig" diff --git a/bsp/xuantie/xiaohui/r908/Kconfig b/bsp/xuantie/xiaohui/r908/Kconfig index 41a6fba7cb7..4527cb43262 100644 --- a/bsp/xuantie/xiaohui/r908/Kconfig +++ b/bsp/xuantie/xiaohui/r908/Kconfig @@ -1,27 +1,10 @@ mainmenu "RT-Thread Configuration" -config BSP_DIR - string - option env="BSP_ROOT" - default "." +BSP_DIR := . -config RTT_DIR - string - option env="RTT_ROOT" - default "rt-thread" +RTT_DIR := ../../../../ -# you can change the RTT_ROOT default "rt-thread" -# example : default "F:/git_repositories/rt-thread" - -config PKGS_DIR - string - option env="PKGS_ROOT" - default "packages" - -config ENV_DIR - string - option env="ENV_ROOT" - default "/" +PKGS_DIR := packages config XUANTIAN_XIAOHUI_R908 bool @@ -30,6 +13,6 @@ config ENV_DIR select RT_USING_USER_MAIN default y -source "$RTT_DIR/Kconfig" +source "$(RTT_DIR)/Kconfig" source "$PKGS_DIR/Kconfig" source "$BSP_DIR/board/Kconfig" diff --git a/bsp/xuantie/xiaohui/r910/Kconfig b/bsp/xuantie/xiaohui/r910/Kconfig index 6f263e0019a..88d47ae1f86 100644 --- a/bsp/xuantie/xiaohui/r910/Kconfig +++ b/bsp/xuantie/xiaohui/r910/Kconfig @@ -1,27 +1,10 @@ mainmenu "RT-Thread Configuration" -config BSP_DIR - string - option env="BSP_ROOT" - default "." +BSP_DIR := . -config RTT_DIR - string - option env="RTT_ROOT" - default "rt-thread" +RTT_DIR := ../../../../ -# you can change the RTT_ROOT default "rt-thread" -# example : default "F:/git_repositories/rt-thread" - -config PKGS_DIR - string - option env="PKGS_ROOT" - default "packages" - -config ENV_DIR - string - option env="ENV_ROOT" - default "/" +PKGS_DIR := packages config XUANTIAN_XIAOHUI_R910 bool @@ -30,6 +13,6 @@ config ENV_DIR select RT_USING_USER_MAIN default y -source "$RTT_DIR/Kconfig" +source "$(RTT_DIR)/Kconfig" source "$PKGS_DIR/Kconfig" source "$BSP_DIR/board/Kconfig" diff --git a/bsp/xuantie/xiaohui/r920/Kconfig b/bsp/xuantie/xiaohui/r920/Kconfig index 7464b3e434e..6ccc0d96c09 100644 --- a/bsp/xuantie/xiaohui/r920/Kconfig +++ b/bsp/xuantie/xiaohui/r920/Kconfig @@ -1,27 +1,10 @@ mainmenu "RT-Thread Configuration" -config BSP_DIR - string - option env="BSP_ROOT" - default "." +BSP_DIR := . -config RTT_DIR - string - option env="RTT_ROOT" - default "rt-thread" +RTT_DIR := ../../../../ -# you can change the RTT_ROOT default "rt-thread" -# example : default "F:/git_repositories/rt-thread" - -config PKGS_DIR - string - option env="PKGS_ROOT" - default "packages" - -config ENV_DIR - string - option env="ENV_ROOT" - default "/" +PKGS_DIR := packages config XUANTIAN_XIAOHUI_R920 bool @@ -30,6 +13,6 @@ config ENV_DIR select RT_USING_USER_MAIN default y -source "$RTT_DIR/Kconfig" +source "$(RTT_DIR)/Kconfig" source "$PKGS_DIR/Kconfig" source "$BSP_DIR/board/Kconfig"