format Kconfig and sconscript
This commit is contained in:
parent
f4b285dc9c
commit
9bc68d26a4
|
@ -1,11 +1,11 @@
|
||||||
'''
|
'''
|
||||||
: Copyright (c) 2020 Phytium Information Technology, Inc.
|
: Copyright (c) 2020 Phytium Information Technology, Inc.
|
||||||
|
|
||||||
SPDX-License-Identifier: Apache-2.0.
|
SPDX-License-Identifier: Apache-2.0.
|
||||||
|
|
||||||
Date: 2021-05-24 14:30:13
|
Date: 2021-05-24 14:30:13
|
||||||
LastEditTime: 2021-05-26 14:58:34
|
LastEditTime: 2021-05-26 14:58:34
|
||||||
Description: This files is for
|
Description: This files is for
|
||||||
|
|
||||||
Modify History:
|
Modify History:
|
||||||
Ver Who Date Changes
|
Ver Who Date Changes
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# RT-Thread building script for component
|
# RT-Thread building script for component
|
||||||
|
|
||||||
Import('RTT_ROOT')
|
Import('RTT_ROOT')
|
||||||
from building import *
|
from building import *
|
||||||
|
@ -10,3 +10,4 @@ CPPPATH = [cwd]
|
||||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)
|
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
')
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# RT-Thread building script for component
|
# RT-Thread building script for component
|
||||||
|
|
||||||
Import('RTT_ROOT')
|
Import('RTT_ROOT')
|
||||||
from building import *
|
from building import *
|
||||||
|
@ -21,3 +21,4 @@ else:
|
||||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)
|
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
')
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# RT-Thread building script for component
|
# RT-Thread building script for component
|
||||||
|
|
||||||
import os
|
import os
|
||||||
Import('RTT_ROOT')
|
Import('RTT_ROOT')
|
||||||
|
@ -43,3 +43,4 @@ for d in list:
|
||||||
objs += group
|
objs += group
|
||||||
|
|
||||||
Return('objs')
|
Return('objs')
|
||||||
|
')
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# RT-Thread building script for component
|
# RT-Thread building script for component
|
||||||
|
|
||||||
Import('RTT_ROOT')
|
Import('RTT_ROOT')
|
||||||
from building import *
|
from building import *
|
||||||
|
@ -33,3 +33,4 @@ else:
|
||||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)
|
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
')
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# RT-Thread building script for component
|
# RT-Thread building script for component
|
||||||
|
|
||||||
Import('RTT_ROOT')
|
Import('RTT_ROOT')
|
||||||
from building import *
|
from building import *
|
||||||
|
@ -12,3 +12,4 @@ group = []
|
||||||
group = DefineGroup('CPU', src, depend = [''], CPPPATH = CPPPATH)
|
group = DefineGroup('CPU', src, depend = [''], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
')
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# RT-Thread building script for component
|
# RT-Thread building script for component
|
||||||
|
|
||||||
import os
|
import os
|
||||||
Import('RTT_ROOT')
|
Import('RTT_ROOT')
|
||||||
|
@ -19,3 +19,4 @@ for d in list:
|
||||||
objs += group
|
objs += group
|
||||||
|
|
||||||
Return('objs')
|
Return('objs')
|
||||||
|
')
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# RT-Thread building script for component
|
# RT-Thread building script for component
|
||||||
|
|
||||||
import os
|
import os
|
||||||
Import('RTT_ROOT')
|
Import('RTT_ROOT')
|
||||||
|
@ -19,3 +19,4 @@ for d in list:
|
||||||
objs += group
|
objs += group
|
||||||
|
|
||||||
Return('objs')
|
Return('objs')
|
||||||
|
')
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# RT-Thread building script for component
|
# RT-Thread building script for component
|
||||||
|
|
||||||
Import('RTT_ROOT')
|
Import('RTT_ROOT')
|
||||||
from building import *
|
from building import *
|
||||||
|
@ -12,3 +12,4 @@ group = []
|
||||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)
|
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
')
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# RT-Thread building script for component
|
# RT-Thread building script for component
|
||||||
|
|
||||||
from building import *
|
from building import *
|
||||||
|
|
||||||
|
@ -16,3 +16,4 @@ CPPPATH = [cwd, cwd + '/nutool_pincfg']
|
||||||
group = DefineGroup('board', src, depend = [''], CPPPATH = CPPPATH)
|
group = DefineGroup('board', src, depend = [''], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
')
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# RT-Thread building script for component
|
# RT-Thread building script for component
|
||||||
|
|
||||||
from building import *
|
from building import *
|
||||||
|
|
||||||
|
@ -12,3 +12,4 @@ CPPPATH = [ cwd ]
|
||||||
|
|
||||||
group = DefineGroup('board', src, depend = [''], CPPPATH = CPPPATH)
|
group = DefineGroup('board', src, depend = [''], CPPPATH = CPPPATH)
|
||||||
Return('group')
|
Return('group')
|
||||||
|
')
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# RT-Thread building script for component
|
# RT-Thread building script for component
|
||||||
|
|
||||||
from building import *
|
from building import *
|
||||||
|
|
||||||
|
@ -12,3 +12,4 @@ CPPPATH = [ cwd ]
|
||||||
|
|
||||||
group = DefineGroup('board', src, depend = [''], CPPPATH = CPPPATH)
|
group = DefineGroup('board', src, depend = [''], CPPPATH = CPPPATH)
|
||||||
Return('group')
|
Return('group')
|
||||||
|
')
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# RT-Thread building script for component
|
# RT-Thread building script for component
|
||||||
|
|
||||||
from building import *
|
from building import *
|
||||||
|
|
||||||
|
@ -12,3 +12,4 @@ CPPPATH = [ cwd ]
|
||||||
|
|
||||||
group = DefineGroup('board', src, depend = [''], CPPPATH = CPPPATH)
|
group = DefineGroup('board', src, depend = [''], CPPPATH = CPPPATH)
|
||||||
Return('group')
|
Return('group')
|
||||||
|
')
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# RT-Thread building script for component
|
# RT-Thread building script for component
|
||||||
|
|
||||||
from building import *
|
from building import *
|
||||||
|
|
||||||
|
@ -16,3 +16,4 @@ CPPPATH = [cwd, cwd + '/nutool_pincfg']
|
||||||
group = DefineGroup('board', src, depend = [''], CPPPATH = CPPPATH)
|
group = DefineGroup('board', src, depend = [''], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
')
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# RT-Thread building script for component
|
# RT-Thread building script for component
|
||||||
|
|
||||||
from building import *
|
from building import *
|
||||||
|
|
||||||
|
@ -12,3 +12,4 @@ CPPPATH = [ cwd ]
|
||||||
|
|
||||||
group = DefineGroup('board', src, depend = [''], CPPPATH = CPPPATH)
|
group = DefineGroup('board', src, depend = [''], CPPPATH = CPPPATH)
|
||||||
Return('group')
|
Return('group')
|
||||||
|
')
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# RT-Thread building script for component
|
# RT-Thread building script for component
|
||||||
|
|
||||||
from building import *
|
from building import *
|
||||||
|
|
||||||
|
@ -17,3 +17,4 @@ CPPPATH = [cwd, cwd + '/NuPinConfig']
|
||||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)
|
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
')
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# RT-Thread building script for component
|
# RT-Thread building script for component
|
||||||
|
|
||||||
from building import *
|
from building import *
|
||||||
|
|
||||||
|
@ -18,3 +18,4 @@ CPPPATH = [cwd, cwd + '/NuClockConfig', cwd + '/NuPinConfig']
|
||||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)
|
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
')
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# RT-Thread building script for component
|
# RT-Thread building script for component
|
||||||
|
|
||||||
from building import *
|
from building import *
|
||||||
|
|
||||||
|
@ -16,3 +16,4 @@ CPPPATH = [cwd, cwd + '/nutool_pincfg']
|
||||||
group = DefineGroup('board', src, depend = [''], CPPPATH = CPPPATH)
|
group = DefineGroup('board', src, depend = [''], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
')
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# RT-Thread building script for component
|
# RT-Thread building script for component
|
||||||
|
|
||||||
from building import *
|
from building import *
|
||||||
|
|
||||||
|
@ -12,3 +12,4 @@ CPPPATH = [ cwd ]
|
||||||
|
|
||||||
group = DefineGroup('board', src, depend = [''], CPPPATH = CPPPATH)
|
group = DefineGroup('board', src, depend = [''], CPPPATH = CPPPATH)
|
||||||
Return('group')
|
Return('group')
|
||||||
|
')
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# RT-Thread building script for component
|
# RT-Thread building script for component
|
||||||
|
|
||||||
from building import *
|
from building import *
|
||||||
|
|
||||||
|
@ -18,3 +18,4 @@ CPPPATH = [cwd, cwd + '/NuClockConfig', cwd + '/NuPinConfig']
|
||||||
group = DefineGroup('board', src, depend = [''], CPPPATH = CPPPATH)
|
group = DefineGroup('board', src, depend = [''], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
')
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# RT-Thread building script for component
|
# RT-Thread building script for component
|
||||||
|
|
||||||
from building import *
|
from building import *
|
||||||
|
|
||||||
|
@ -18,3 +18,4 @@ CPPPATH = [cwd, cwd + '/NuClockConfig', cwd + '/NuPinConfig']
|
||||||
group = DefineGroup('board', src, depend = [''], CPPPATH = CPPPATH)
|
group = DefineGroup('board', src, depend = [''], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
')
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# RT-Thread building script for component
|
# RT-Thread building script for component
|
||||||
|
|
||||||
from building import *
|
from building import *
|
||||||
|
|
||||||
|
@ -17,3 +17,4 @@ CPPPATH = [cwd, cwd + '/NuPinConfig']
|
||||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)
|
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
')
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# RT-Thread building script for component
|
# RT-Thread building script for component
|
||||||
|
|
||||||
from building import *
|
from building import *
|
||||||
|
|
||||||
|
@ -18,3 +18,4 @@ CPPPATH = [cwd, cwd + '/NuClockConfig', cwd + '/NuPinConfig']
|
||||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)
|
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
')
|
||||||
|
|
Loading…
Reference in New Issue