[Kconfig] Rename all of KConfig files to 'Kconfig'
This commit is contained in:
parent
89afad784c
commit
7bc87e4ae8
3
KConfig
3
KConfig
|
@ -1,3 +0,0 @@
|
||||||
source "$RTT_DIR/src/KConfig"
|
|
||||||
source "$RTT_DIR/libcpu/Kconfig"
|
|
||||||
source "$RTT_DIR/components/KConfig"
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
source "$RTT_DIR/src/Kconfig"
|
||||||
|
source "$RTT_DIR/libcpu/Kconfig"
|
||||||
|
source "$RTT_DIR/components/Kconfig"
|
|
@ -15,10 +15,8 @@ config $PKGS_DIR
|
||||||
option env="PKGS_ROOT"
|
option env="PKGS_ROOT"
|
||||||
default "packages"
|
default "packages"
|
||||||
|
|
||||||
source "$RTT_DIR/KConfig"
|
source "$RTT_DIR/Kconfig"
|
||||||
source "$PKGS_DIR/KConfig"
|
source "$PKGS_DIR/Kconfig"
|
||||||
|
|
||||||
menu "BSP_SPECIAL CONFIG"
|
|
||||||
|
|
||||||
config RT_USING_UART0
|
config RT_USING_UART0
|
||||||
bool "Using RT_USING_UART0"
|
bool "Using RT_USING_UART0"
|
||||||
|
@ -37,9 +35,4 @@ config RT_USING_LED
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
led blink demo
|
led blink demo
|
||||||
endmenu
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@ config BOARD_IMX6UL
|
||||||
select ARCH_ARM_CORTEX_A7
|
select ARCH_ARM_CORTEX_A7
|
||||||
default y
|
default y
|
||||||
|
|
||||||
source "$RTT_DIR/KConfig"
|
source "$RTT_DIR/Kconfig"
|
||||||
source "$PKGS_DIR/KConfig"
|
source "$PKGS_DIR/Kconfig"
|
||||||
|
|
||||||
source "$BSP_DIR/drivers/Kconfig"
|
source "$BSP_DIR/drivers/Kconfig"
|
|
@ -15,10 +15,8 @@ config $PKGS_DIR
|
||||||
option env="PKGS_ROOT"
|
option env="PKGS_ROOT"
|
||||||
default "packages"
|
default "packages"
|
||||||
|
|
||||||
source "$RTT_DIR/KConfig"
|
source "$RTT_DIR/Kconfig"
|
||||||
source "$PKGS_DIR/KConfig"
|
source "$PKGS_DIR/Kconfig"
|
||||||
|
|
||||||
menu "BSP_SPECIAL CONFIG"
|
|
||||||
|
|
||||||
config RT_USING_UART
|
config RT_USING_UART
|
||||||
bool "Using RT_USING_UART"
|
bool "Using RT_USING_UART"
|
||||||
|
@ -29,10 +27,4 @@ config RT_USING_UART1
|
||||||
bool "Using RT_USING_UART1"
|
bool "Using RT_USING_UART1"
|
||||||
default y
|
default y
|
||||||
endif
|
endif
|
||||||
|
|
||||||
endmenu
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -18,8 +18,8 @@ config $PKGS_DIR
|
||||||
option env="PKGS_ROOT"
|
option env="PKGS_ROOT"
|
||||||
default "packages"
|
default "packages"
|
||||||
|
|
||||||
source "$RTT_DIR/KConfig"
|
source "$RTT_DIR/Kconfig"
|
||||||
source "$PKGS_DIR/KConfig"
|
source "$PKGS_DIR/Kconfig"
|
||||||
|
|
||||||
config SOC_LPC54608
|
config SOC_LPC54608
|
||||||
bool
|
bool
|
||||||
|
@ -28,8 +28,3 @@ config SOC_LPC54608
|
||||||
|
|
||||||
source "$BSP_DIR/drivers/Kconfig"
|
source "$BSP_DIR/drivers/Kconfig"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -15,6 +15,6 @@ config $PKGS_DIR
|
||||||
option env="PKGS_ROOT"
|
option env="PKGS_ROOT"
|
||||||
default "packages"
|
default "packages"
|
||||||
|
|
||||||
source "$RTT_DIR/KConfig"
|
source "$RTT_DIR/Kconfig"
|
||||||
source "$PKGS_DIR/KConfig"
|
source "$PKGS_DIR/Kconfig"
|
||||||
source "$BSP_DIR/drivers/Kconfig"
|
source "$BSP_DIR/drivers/Kconfig"
|
||||||
|
|
|
@ -15,8 +15,8 @@ config $PKGS_DIR
|
||||||
option env="PKGS_ROOT"
|
option env="PKGS_ROOT"
|
||||||
default "packages"
|
default "packages"
|
||||||
|
|
||||||
source "$RTT_DIR/KConfig"
|
source "$RTT_DIR/Kconfig"
|
||||||
source "$PKGS_DIR/KConfig"
|
source "$PKGS_DIR/Kconfig"
|
||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "Device type"
|
prompt "Device type"
|
||||||
|
@ -182,8 +182,3 @@ if RT_USING_SPI
|
||||||
default n
|
default n
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -15,18 +15,10 @@ config $PKGS_DIR
|
||||||
option env="PKGS_ROOT"
|
option env="PKGS_ROOT"
|
||||||
default "packages"
|
default "packages"
|
||||||
|
|
||||||
source "$RTT_DIR/KConfig"
|
source "$RTT_DIR/Kconfig"
|
||||||
source "$PKGS_DIR/KConfig"
|
source "$PKGS_DIR/Kconfig"
|
||||||
|
|
||||||
menu "BSP_SPECIAL CONFIG"
|
|
||||||
|
|
||||||
config RT_USING_UART2
|
config RT_USING_UART2
|
||||||
bool "Using RT_USING_UART2"
|
bool "Using RT_USING_UART2"
|
||||||
default y
|
default y
|
||||||
|
|
||||||
endmenu
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@ config BOARD_STM32F429_APPOLO
|
||||||
select ARCH_ARM_CORTEX_M4
|
select ARCH_ARM_CORTEX_M4
|
||||||
default y
|
default y
|
||||||
|
|
||||||
source "$RTT_DIR/KConfig"
|
source "$RTT_DIR/Kconfig"
|
||||||
source "$PKGS_DIR/KConfig"
|
source "$PKGS_DIR/Kconfig"
|
||||||
|
|
||||||
source "$BSP_DIR/drivers/Kconfig"
|
source "$BSP_DIR/drivers/Kconfig"
|
|
@ -18,14 +18,8 @@ config $PKGS_DIR
|
||||||
option env="PKGS_ROOT"
|
option env="PKGS_ROOT"
|
||||||
default "packages"
|
default "packages"
|
||||||
|
|
||||||
source "$RTT_DIR/KConfig"
|
source "$RTT_DIR/Kconfig"
|
||||||
source "$PKGS_DIR/KConfig"
|
source "$PKGS_DIR/Kconfig"
|
||||||
|
|
||||||
source "$BSP_DIR/drivers/Kconfig"
|
source "$BSP_DIR/drivers/Kconfig"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -15,8 +15,8 @@ config $PKGS_DIR
|
||||||
option env="PKGS_ROOT"
|
option env="PKGS_ROOT"
|
||||||
default "packages"
|
default "packages"
|
||||||
|
|
||||||
source "$RTT_DIR/KConfig"
|
source "$RTT_DIR/Kconfig"
|
||||||
source "$PKGS_DIR/KConfig"
|
source "$PKGS_DIR/Kconfig"
|
||||||
|
|
||||||
|
|
||||||
choice
|
choice
|
||||||
|
@ -339,4 +339,4 @@ endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,6 @@ config $PKGS_DIR
|
||||||
option env="PKGS_ROOT"
|
option env="PKGS_ROOT"
|
||||||
default "packages"
|
default "packages"
|
||||||
|
|
||||||
source "$RTT_DIR/KConfig"
|
source "$RTT_DIR/Kconfig"
|
||||||
source "$PKGS_DIR/KConfig"
|
source "$PKGS_DIR/Kconfig"
|
||||||
source "$BSP_DIR/drivers/Kconfig"
|
source "$BSP_DIR/drivers/Kconfig"
|
||||||
|
|
|
@ -15,18 +15,10 @@ config $PKGS_DIR
|
||||||
option env="PKGS_ROOT"
|
option env="PKGS_ROOT"
|
||||||
default "packages"
|
default "packages"
|
||||||
|
|
||||||
source "$RTT_DIR/KConfig"
|
source "$RTT_DIR/Kconfig"
|
||||||
source "$PKGS_DIR/KConfig"
|
source "$PKGS_DIR/Kconfig"
|
||||||
|
|
||||||
menu "BSP_SPECIAL CONFIG"
|
|
||||||
|
|
||||||
config RT_USING_UART0
|
config RT_USING_UART0
|
||||||
bool "Using RT_USING_UART0"
|
bool "Using RT_USING_UART0"
|
||||||
default y
|
default y
|
||||||
|
|
||||||
endmenu
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -18,8 +18,8 @@ config $PKGS_DIR
|
||||||
option env="PKGS_ROOT"
|
option env="PKGS_ROOT"
|
||||||
default "packages"
|
default "packages"
|
||||||
|
|
||||||
source "$RTT_DIR/KConfig"
|
source "$RTT_DIR/Kconfig"
|
||||||
source "$PKGS_DIR/KConfig"
|
source "$PKGS_DIR/Kconfig"
|
||||||
|
|
||||||
config BOARD_X1000_REALBOARD
|
config BOARD_X1000_REALBOARD
|
||||||
bool
|
bool
|
||||||
|
|
|
@ -10,17 +10,17 @@ if RT_USING_COMPONENTS_INIT
|
||||||
default y
|
default y
|
||||||
endif
|
endif
|
||||||
|
|
||||||
source "$RTT_DIR/components/cplusplus/KConfig"
|
source "$RTT_DIR/components/cplusplus/Kconfig"
|
||||||
|
|
||||||
source "$RTT_DIR/components/finsh/KConfig"
|
source "$RTT_DIR/components/finsh/Kconfig"
|
||||||
|
|
||||||
source "$RTT_DIR/components/dfs/KConfig"
|
source "$RTT_DIR/components/dfs/Kconfig"
|
||||||
|
|
||||||
source "$RTT_DIR/components/drivers/KConfig"
|
source "$RTT_DIR/components/drivers/Kconfig"
|
||||||
|
|
||||||
source "$RTT_DIR/components/libc/KConfig"
|
source "$RTT_DIR/components/libc/Kconfig"
|
||||||
|
|
||||||
source "$RTT_DIR/components/net/KConfig"
|
source "$RTT_DIR/components/net/Kconfig"
|
||||||
|
|
||||||
source "$RTT_DIR/components/gui/Kconfig"
|
source "$RTT_DIR/components/gui/Kconfig"
|
||||||
|
|
|
@ -180,7 +180,7 @@ config RT_USING_LWIP
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
source "$RTT_DIR/components/net/freemodbus/KConfig"
|
source "$RTT_DIR/components/net/freemodbus/Kconfig"
|
||||||
|
|
||||||
if RT_USING_LWIP
|
if RT_USING_LWIP
|
||||||
config RT_USING_NETUTILS
|
config RT_USING_NETUTILS
|
|
@ -121,7 +121,7 @@ def MakeCopy(program, BSP_ROOT, RTT_ROOT, Env):
|
||||||
# copy tools directory
|
# copy tools directory
|
||||||
print("=> tools")
|
print("=> tools")
|
||||||
do_copy_folder(os.path.join(RTT_ROOT, "tools"), os.path.join(target_path, "tools"), ignore_patterns('*.pyc'))
|
do_copy_folder(os.path.join(RTT_ROOT, "tools"), os.path.join(target_path, "tools"), ignore_patterns('*.pyc'))
|
||||||
do_copy_file(os.path.join(RTT_ROOT, 'KConfig'), os.path.join(target_path, 'KConfig'))
|
do_copy_file(os.path.join(RTT_ROOT, 'Kconfig'), os.path.join(target_path, 'Kconfig'))
|
||||||
do_copy_file(os.path.join(RTT_ROOT, 'AUTHORS'), os.path.join(target_path, 'AUTHORS'))
|
do_copy_file(os.path.join(RTT_ROOT, 'AUTHORS'), os.path.join(target_path, 'AUTHORS'))
|
||||||
do_copy_file(os.path.join(RTT_ROOT, 'COPYING'), os.path.join(target_path, 'COPYING'))
|
do_copy_file(os.path.join(RTT_ROOT, 'COPYING'), os.path.join(target_path, 'COPYING'))
|
||||||
do_copy_file(os.path.join(RTT_ROOT, 'README.md'), os.path.join(target_path, 'README.md'))
|
do_copy_file(os.path.join(RTT_ROOT, 'README.md'), os.path.join(target_path, 'README.md'))
|
||||||
|
@ -170,7 +170,7 @@ def MakeCopyHeader(program, BSP_ROOT, RTT_ROOT, Env):
|
||||||
# copy tools directory
|
# copy tools directory
|
||||||
print "=> tools"
|
print "=> tools"
|
||||||
do_copy_folder(os.path.join(RTT_ROOT, "tools"), os.path.join(target_path, "tools"), ignore_patterns('*.pyc'))
|
do_copy_folder(os.path.join(RTT_ROOT, "tools"), os.path.join(target_path, "tools"), ignore_patterns('*.pyc'))
|
||||||
do_copy_file(os.path.join(RTT_ROOT, 'KConfig'), os.path.join(target_path, 'KConfig'))
|
do_copy_file(os.path.join(RTT_ROOT, 'Kconfig'), os.path.join(target_path, 'Kconfig'))
|
||||||
do_copy_file(os.path.join(RTT_ROOT, 'AUTHORS'), os.path.join(target_path, 'AUTHORS'))
|
do_copy_file(os.path.join(RTT_ROOT, 'AUTHORS'), os.path.join(target_path, 'AUTHORS'))
|
||||||
do_copy_file(os.path.join(RTT_ROOT, 'COPYING'), os.path.join(target_path, 'COPYING'))
|
do_copy_file(os.path.join(RTT_ROOT, 'COPYING'), os.path.join(target_path, 'COPYING'))
|
||||||
do_copy_file(os.path.join(RTT_ROOT, 'README.md'), os.path.join(target_path, 'README.md'))
|
do_copy_file(os.path.join(RTT_ROOT, 'README.md'), os.path.join(target_path, 'README.md'))
|
||||||
|
@ -242,7 +242,7 @@ def MkDist(program, BSP_ROOT, RTT_ROOT, Env):
|
||||||
# copy tools directory
|
# copy tools directory
|
||||||
print("=> tools")
|
print("=> tools")
|
||||||
do_copy_folder(os.path.join(RTT_ROOT, "tools"), os.path.join(target_path, "tools"), ignore_patterns('*.pyc'))
|
do_copy_folder(os.path.join(RTT_ROOT, "tools"), os.path.join(target_path, "tools"), ignore_patterns('*.pyc'))
|
||||||
do_copy_file(os.path.join(RTT_ROOT, 'KConfig'), os.path.join(target_path, 'KConfig'))
|
do_copy_file(os.path.join(RTT_ROOT, 'Kconfig'), os.path.join(target_path, 'Kconfig'))
|
||||||
do_copy_file(os.path.join(RTT_ROOT, 'AUTHORS'), os.path.join(target_path, 'AUTHORS'))
|
do_copy_file(os.path.join(RTT_ROOT, 'AUTHORS'), os.path.join(target_path, 'AUTHORS'))
|
||||||
do_copy_file(os.path.join(RTT_ROOT, 'COPYING'), os.path.join(target_path, 'COPYING'))
|
do_copy_file(os.path.join(RTT_ROOT, 'COPYING'), os.path.join(target_path, 'COPYING'))
|
||||||
do_copy_file(os.path.join(RTT_ROOT, 'README.md'), os.path.join(target_path, 'README.md'))
|
do_copy_file(os.path.join(RTT_ROOT, 'README.md'), os.path.join(target_path, 'README.md'))
|
||||||
|
@ -265,7 +265,7 @@ def MkDist(program, BSP_ROOT, RTT_ROOT, Env):
|
||||||
except :
|
except :
|
||||||
print('')
|
print('')
|
||||||
|
|
||||||
# change RTT_ROOT in KConfig
|
# change RTT_ROOT in Kconfig
|
||||||
try:
|
try:
|
||||||
if os.path.exists(os.path.join(BSP_ROOT, 'Kconfig')):
|
if os.path.exists(os.path.join(BSP_ROOT, 'Kconfig')):
|
||||||
Kconfig = file(os.path.join(BSP_ROOT, 'Kconfig'))
|
Kconfig = file(os.path.join(BSP_ROOT, 'Kconfig'))
|
||||||
|
|
Loading…
Reference in New Issue