mirror of
https://github.com/Ai-Thinker-Open/Ai-Thinker-Open_RTL8710BX_ALIOS_SDK.git
synced 2025-02-06 12:25:21 +00:00
18 lines
421 B
Python
18 lines
421 B
Python
src = Split('''
|
|
main.c
|
|
version.c
|
|
''')
|
|
|
|
component = aos_component('framework', src)
|
|
|
|
CONFIG_SYSINFO_APP_VERSION = 'app-1.0.0-'+aos_global_config.current_time
|
|
print( 'app_version:', CONFIG_SYSINFO_APP_VERSION)
|
|
macro_tmp = Split('''
|
|
AOS_FRAMEWORK_COMMON
|
|
''')
|
|
macro_tmp.append( 'SYSINFO_APP_VERSION=\\"' + CONFIG_SYSINFO_APP_VERSION + '\\"' )
|
|
|
|
for i in macro_tmp:
|
|
component.add_macros(i)
|
|
|
|
|