diff options
| author | Bernard Xiong <[email protected]> | 2017-11-30 20:12:53 +0800 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2017-11-30 20:12:53 +0800 |
| commit | 7bc87e4ae85b41305db2291a5755d8ee270b5a55 (patch) | |
| tree | 8728795ecd30c05fe9bc96fc79090a85295bf4bd | |
| parent | 89afad784ce577b5be48d032c2c3881836b59d15 (diff) | |
[Kconfig] Rename all of KConfig files to 'Kconfig'
| -rw-r--r-- | KConfig | 3 | ||||
| -rw-r--r-- | Kconfig | 3 | ||||
| -rw-r--r-- | bsp/asm9260t/Kconfig (renamed from bsp/asm9260t/KConfig) | 13 | ||||
| -rw-r--r-- | bsp/imx6ul/Kconfig (renamed from bsp/imx6ul/KConfig) | 4 | ||||
| -rw-r--r-- | bsp/imxrt1052-evk/Kconfig (renamed from bsp/imxrt1052-evk/KConfig) | 14 | ||||
| -rw-r--r-- | bsp/lpc54608-LPCXpresso/Kconfig | 9 | ||||
| -rw-r--r-- | bsp/qemu-vexpress-a9/Kconfig | 4 | ||||
| -rw-r--r-- | bsp/stm32f10x-HAL/Kconfig (renamed from bsp/stm32f10x-HAL/KConfig) | 9 | ||||
| -rw-r--r-- | bsp/stm32f411-nucleo/Kconfig (renamed from bsp/stm32f411-nucleo/KConfig) | 12 | ||||
| -rw-r--r-- | bsp/stm32f429-apollo/Kconfig (renamed from bsp/stm32f429-apollo/KConfig) | 4 | ||||
| -rw-r--r-- | bsp/stm32f429-disco/Kconfig | 10 | ||||
| -rw-r--r-- | bsp/stm32f4xx-HAL/Kconfig (renamed from bsp/stm32f4xx-HAL/KConfig) | 6 | ||||
| -rw-r--r-- | bsp/stm32l476-nucleo/Kconfig | 4 | ||||
| -rw-r--r-- | bsp/tm4c129x/Kconfig (renamed from bsp/tm4c129x/KConfig) | 14 | ||||
| -rw-r--r-- | bsp/x1000/Kconfig | 4 | ||||
| -rw-r--r-- | components/Kconfig (renamed from components/KConfig) | 12 | ||||
| -rw-r--r-- | components/cplusplus/Kconfig (renamed from components/cplusplus/KConfig) | 0 | ||||
| -rw-r--r-- | components/dfs/Kconfig (renamed from components/dfs/KConfig) | 0 | ||||
| -rw-r--r-- | components/drivers/Kconfig (renamed from components/drivers/KConfig) | 0 | ||||
| -rw-r--r-- | components/finsh/Kconfig (renamed from components/finsh/KConfig) | 0 | ||||
| -rw-r--r-- | components/libc/Kconfig (renamed from components/libc/KConfig) | 0 | ||||
| -rw-r--r-- | components/net/Kconfig (renamed from components/net/KConfig) | 2 | ||||
| -rw-r--r-- | components/net/freemodbus/Kconfig (renamed from components/net/freemodbus/KConfig) | 0 | ||||
| -rw-r--r-- | src/Kconfig (renamed from src/KConfig) | 0 | ||||
| -rw-r--r-- | tools/mkdist.py | 8 | ||||
| -rw-r--r--[-rwxr-xr-x] | tools/wizard.py | 0 |
26 files changed, 44 insertions, 91 deletions
diff --git a/KConfig b/KConfig deleted file mode 100644 index 506c20ff58..0000000000 --- a/KConfig +++ /dev/null @@ -1,3 +0,0 @@ -source "$RTT_DIR/src/KConfig" -source "$RTT_DIR/libcpu/Kconfig" -source "$RTT_DIR/components/KConfig" diff --git a/Kconfig b/Kconfig new file mode 100644 index 0000000000..b32f7dafbe --- /dev/null +++ b/Kconfig @@ -0,0 +1,3 @@ +source "$RTT_DIR/src/Kconfig" +source "$RTT_DIR/libcpu/Kconfig" +source "$RTT_DIR/components/Kconfig" diff --git a/bsp/asm9260t/KConfig b/bsp/asm9260t/Kconfig index fbf9538514..544cb4202f 100644 --- a/bsp/asm9260t/KConfig +++ b/bsp/asm9260t/Kconfig @@ -15,10 +15,8 @@ config $PKGS_DIR option env="PKGS_ROOT" default "packages" -source "$RTT_DIR/KConfig" -source "$PKGS_DIR/KConfig" - -menu "BSP_SPECIAL CONFIG" +source "$RTT_DIR/Kconfig" +source "$PKGS_DIR/Kconfig" config RT_USING_UART0 bool "Using RT_USING_UART0" @@ -37,9 +35,4 @@ config RT_USING_LED default y help led blink demo -endmenu - - - - -
\ No newline at end of file + diff --git a/bsp/imx6ul/KConfig b/bsp/imx6ul/Kconfig index 1c54a26974..68a1d983de 100644 --- a/bsp/imx6ul/KConfig +++ b/bsp/imx6ul/Kconfig @@ -20,7 +20,7 @@ config BOARD_IMX6UL select ARCH_ARM_CORTEX_A7 default y -source "$RTT_DIR/KConfig" -source "$PKGS_DIR/KConfig" +source "$RTT_DIR/Kconfig" +source "$PKGS_DIR/Kconfig" source "$BSP_DIR/drivers/Kconfig" diff --git a/bsp/imxrt1052-evk/KConfig b/bsp/imxrt1052-evk/Kconfig index a475aed081..f108d22bf9 100644 --- a/bsp/imxrt1052-evk/KConfig +++ b/bsp/imxrt1052-evk/Kconfig @@ -15,10 +15,8 @@ config $PKGS_DIR option env="PKGS_ROOT" default "packages" -source "$RTT_DIR/KConfig" -source "$PKGS_DIR/KConfig" - -menu "BSP_SPECIAL CONFIG" +source "$RTT_DIR/Kconfig" +source "$PKGS_DIR/Kconfig" config RT_USING_UART bool "Using RT_USING_UART" @@ -29,10 +27,4 @@ config RT_USING_UART1 bool "Using RT_USING_UART1" default y endif - -endmenu - - - - -
\ No newline at end of file + diff --git a/bsp/lpc54608-LPCXpresso/Kconfig b/bsp/lpc54608-LPCXpresso/Kconfig index ac7e54d967..86c8134c8b 100644 --- a/bsp/lpc54608-LPCXpresso/Kconfig +++ b/bsp/lpc54608-LPCXpresso/Kconfig @@ -18,8 +18,8 @@ config $PKGS_DIR option env="PKGS_ROOT" default "packages" -source "$RTT_DIR/KConfig" -source "$PKGS_DIR/KConfig" +source "$RTT_DIR/Kconfig" +source "$PKGS_DIR/Kconfig" config SOC_LPC54608 bool @@ -28,8 +28,3 @@ config SOC_LPC54608 source "$BSP_DIR/drivers/Kconfig" - - - - -
\ No newline at end of file diff --git a/bsp/qemu-vexpress-a9/Kconfig b/bsp/qemu-vexpress-a9/Kconfig index 2e1b008775..a61626e3b6 100644 --- a/bsp/qemu-vexpress-a9/Kconfig +++ b/bsp/qemu-vexpress-a9/Kconfig @@ -15,6 +15,6 @@ config $PKGS_DIR option env="PKGS_ROOT" default "packages" -source "$RTT_DIR/KConfig" -source "$PKGS_DIR/KConfig" +source "$RTT_DIR/Kconfig" +source "$PKGS_DIR/Kconfig" source "$BSP_DIR/drivers/Kconfig" diff --git a/bsp/stm32f10x-HAL/KConfig b/bsp/stm32f10x-HAL/Kconfig index 3ebeb013f0..28a348c404 100644 --- a/bsp/stm32f10x-HAL/KConfig +++ b/bsp/stm32f10x-HAL/Kconfig @@ -15,8 +15,8 @@ config $PKGS_DIR option env="PKGS_ROOT" default "packages" -source "$RTT_DIR/KConfig" -source "$PKGS_DIR/KConfig" +source "$RTT_DIR/Kconfig" +source "$PKGS_DIR/Kconfig" choice prompt "Device type" @@ -182,8 +182,3 @@ if RT_USING_SPI default n endif - - - - -
\ No newline at end of file diff --git a/bsp/stm32f411-nucleo/KConfig b/bsp/stm32f411-nucleo/Kconfig index 5c7783d66e..7a68666e8b 100644 --- a/bsp/stm32f411-nucleo/KConfig +++ b/bsp/stm32f411-nucleo/Kconfig @@ -15,18 +15,10 @@ config $PKGS_DIR option env="PKGS_ROOT" default "packages" -source "$RTT_DIR/KConfig" -source "$PKGS_DIR/KConfig" - -menu "BSP_SPECIAL CONFIG" +source "$RTT_DIR/Kconfig" +source "$PKGS_DIR/Kconfig" config RT_USING_UART2 bool "Using RT_USING_UART2" default y - -endmenu - - - -
\ No newline at end of file diff --git a/bsp/stm32f429-apollo/KConfig b/bsp/stm32f429-apollo/Kconfig index 5fbdd20062..43dcbee27f 100644 --- a/bsp/stm32f429-apollo/KConfig +++ b/bsp/stm32f429-apollo/Kconfig @@ -20,7 +20,7 @@ config BOARD_STM32F429_APPOLO select ARCH_ARM_CORTEX_M4 default y -source "$RTT_DIR/KConfig" -source "$PKGS_DIR/KConfig" +source "$RTT_DIR/Kconfig" +source "$PKGS_DIR/Kconfig" source "$BSP_DIR/drivers/Kconfig" diff --git a/bsp/stm32f429-disco/Kconfig b/bsp/stm32f429-disco/Kconfig index cf8e66ca34..0f647d8cec 100644 --- a/bsp/stm32f429-disco/Kconfig +++ b/bsp/stm32f429-disco/Kconfig @@ -18,14 +18,8 @@ config $PKGS_DIR option env="PKGS_ROOT" default "packages" -source "$RTT_DIR/KConfig" -source "$PKGS_DIR/KConfig" +source "$RTT_DIR/Kconfig" +source "$PKGS_DIR/Kconfig" source "$BSP_DIR/drivers/Kconfig" - - - - - -
\ No newline at end of file diff --git a/bsp/stm32f4xx-HAL/KConfig b/bsp/stm32f4xx-HAL/Kconfig index e4fea73c73..638f56d2b4 100644 --- a/bsp/stm32f4xx-HAL/KConfig +++ b/bsp/stm32f4xx-HAL/Kconfig @@ -15,8 +15,8 @@ config $PKGS_DIR option env="PKGS_ROOT" default "packages" -source "$RTT_DIR/KConfig" -source "$PKGS_DIR/KConfig" +source "$RTT_DIR/Kconfig" +source "$PKGS_DIR/Kconfig" choice @@ -339,4 +339,4 @@ endif -
\ No newline at end of file + diff --git a/bsp/stm32l476-nucleo/Kconfig b/bsp/stm32l476-nucleo/Kconfig index a58fcdda75..c09fa038b7 100644 --- a/bsp/stm32l476-nucleo/Kconfig +++ b/bsp/stm32l476-nucleo/Kconfig @@ -18,6 +18,6 @@ config $PKGS_DIR option env="PKGS_ROOT" default "packages" -source "$RTT_DIR/KConfig" -source "$PKGS_DIR/KConfig" +source "$RTT_DIR/Kconfig" +source "$PKGS_DIR/Kconfig" source "$BSP_DIR/drivers/Kconfig" diff --git a/bsp/tm4c129x/KConfig b/bsp/tm4c129x/Kconfig index fad849785c..e6e03d257d 100644 --- a/bsp/tm4c129x/KConfig +++ b/bsp/tm4c129x/Kconfig @@ -15,18 +15,10 @@ config $PKGS_DIR option env="PKGS_ROOT" default "packages" -source "$RTT_DIR/KConfig" -source "$PKGS_DIR/KConfig" - -menu "BSP_SPECIAL CONFIG" +source "$RTT_DIR/Kconfig" +source "$PKGS_DIR/Kconfig" config RT_USING_UART0 bool "Using RT_USING_UART0" default y - -endmenu - - - - -
\ No newline at end of file + diff --git a/bsp/x1000/Kconfig b/bsp/x1000/Kconfig index a7a82890df..adeb609f78 100644 --- a/bsp/x1000/Kconfig +++ b/bsp/x1000/Kconfig @@ -18,8 +18,8 @@ config $PKGS_DIR option env="PKGS_ROOT" default "packages" -source "$RTT_DIR/KConfig" -source "$PKGS_DIR/KConfig" +source "$RTT_DIR/Kconfig" +source "$PKGS_DIR/Kconfig" config BOARD_X1000_REALBOARD bool diff --git a/components/KConfig b/components/Kconfig index 957df871a4..0a5e4e4e56 100644 --- a/components/KConfig +++ b/components/Kconfig @@ -10,17 +10,17 @@ if RT_USING_COMPONENTS_INIT default y 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" diff --git a/components/cplusplus/KConfig b/components/cplusplus/Kconfig index f2b817823d..f2b817823d 100644 --- a/components/cplusplus/KConfig +++ b/components/cplusplus/Kconfig diff --git a/components/dfs/KConfig b/components/dfs/Kconfig index 91df96cb08..91df96cb08 100644 --- a/components/dfs/KConfig +++ b/components/dfs/Kconfig diff --git a/components/drivers/KConfig b/components/drivers/Kconfig index 7c1929b15f..7c1929b15f 100644 --- a/components/drivers/KConfig +++ b/components/drivers/Kconfig diff --git a/components/finsh/KConfig b/components/finsh/Kconfig index 7d05d21af7..7d05d21af7 100644 --- a/components/finsh/KConfig +++ b/components/finsh/Kconfig diff --git a/components/libc/KConfig b/components/libc/Kconfig index 79bc78d205..79bc78d205 100644 --- a/components/libc/KConfig +++ b/components/libc/Kconfig diff --git a/components/net/KConfig b/components/net/Kconfig index 6b87735030..3220d5e786 100644 --- a/components/net/KConfig +++ b/components/net/Kconfig @@ -180,7 +180,7 @@ config RT_USING_LWIP endmenu -source "$RTT_DIR/components/net/freemodbus/KConfig" +source "$RTT_DIR/components/net/freemodbus/Kconfig" if RT_USING_LWIP config RT_USING_NETUTILS diff --git a/components/net/freemodbus/KConfig b/components/net/freemodbus/Kconfig index 9321c61a0e..9321c61a0e 100644 --- a/components/net/freemodbus/KConfig +++ b/components/net/freemodbus/Kconfig diff --git a/src/KConfig b/src/Kconfig index f5efdf7b35..f5efdf7b35 100644 --- a/src/KConfig +++ b/src/Kconfig diff --git a/tools/mkdist.py b/tools/mkdist.py index 924e560884..4a9f37035a 100644 --- a/tools/mkdist.py +++ b/tools/mkdist.py @@ -121,7 +121,7 @@ def MakeCopy(program, BSP_ROOT, RTT_ROOT, Env): # copy tools directory print("=> tools") 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, 'COPYING'), os.path.join(target_path, 'COPYING')) 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 print "=> tools" 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, 'COPYING'), os.path.join(target_path, 'COPYING')) 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 print("=> tools") 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, 'COPYING'), os.path.join(target_path, 'COPYING')) 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 : print('') - # change RTT_ROOT in KConfig + # change RTT_ROOT in Kconfig try: if os.path.exists(os.path.join(BSP_ROOT, 'Kconfig')): Kconfig = file(os.path.join(BSP_ROOT, 'Kconfig')) diff --git a/tools/wizard.py b/tools/wizard.py index d32f116a9b..d32f116a9b 100755..100644 --- a/tools/wizard.py +++ b/tools/wizard.py |
