[bsp/Infineon] 修复 SCons 中的 typo 并优化表达 (#9262)
Co-authored-by: clow1710 <gh.my1710@outlook.com>
This commit is contained in:
parent
24d3ed80da
commit
8d15f15f16
|
@ -39,7 +39,7 @@ SDK_ROOT = os.path.abspath('./')
|
||||||
if os.path.exists(SDK_ROOT + '/packages'):
|
if os.path.exists(SDK_ROOT + '/packages'):
|
||||||
libraries_path_prefix = SDK_ROOT + '/packages'
|
libraries_path_prefix = SDK_ROOT + '/packages'
|
||||||
else:
|
else:
|
||||||
print("Error: Don't have Packages for HAL_Driver, Please Use \"pkgs --Update\" in ENV")
|
print("Error: Packages for HAL_Driver does not exist, pull it in ENV using `pkg --update`.")
|
||||||
|
|
||||||
SDK_LIB = libraries_path_prefix
|
SDK_LIB = libraries_path_prefix
|
||||||
Export('SDK_LIB')
|
Export('SDK_LIB')
|
||||||
|
|
|
@ -41,7 +41,7 @@ libraries_path_prefix = SDK_ROOT
|
||||||
if os.path.exists(SDK_ROOT + '/packages'):
|
if os.path.exists(SDK_ROOT + '/packages'):
|
||||||
libraries_path_prefix = SDK_ROOT + '/packages'
|
libraries_path_prefix = SDK_ROOT + '/packages'
|
||||||
else:
|
else:
|
||||||
print("Error: Don't have Packages for HAL_Driver, Please Use \"pkgs --Update\" in ENV")
|
print("Error: Packages for HAL_Driver does not exist, pull it in ENV using `pkg --update`.")
|
||||||
|
|
||||||
SDK_LIB = libraries_path_prefix
|
SDK_LIB = libraries_path_prefix
|
||||||
Export('SDK_LIB')
|
Export('SDK_LIB')
|
||||||
|
|
|
@ -41,7 +41,7 @@ libraries_path_prefix = SDK_ROOT
|
||||||
if os.path.exists(SDK_ROOT + '/packages'):
|
if os.path.exists(SDK_ROOT + '/packages'):
|
||||||
libraries_path_prefix = SDK_ROOT + '/packages'
|
libraries_path_prefix = SDK_ROOT + '/packages'
|
||||||
else:
|
else:
|
||||||
print("Error: Don't have Packages for HAL_Driver, Please Use \"pkgs --Update\" in ENV")
|
print("Error: Packages for HAL_Driver does not exist, pull it in ENV using `pkg --update`.")
|
||||||
|
|
||||||
SDK_LIB = libraries_path_prefix
|
SDK_LIB = libraries_path_prefix
|
||||||
Export('SDK_LIB')
|
Export('SDK_LIB')
|
||||||
|
|
|
@ -41,7 +41,7 @@ libraries_path_prefix = SDK_ROOT
|
||||||
if os.path.exists(SDK_ROOT + '/packages'):
|
if os.path.exists(SDK_ROOT + '/packages'):
|
||||||
libraries_path_prefix = SDK_ROOT + '/packages'
|
libraries_path_prefix = SDK_ROOT + '/packages'
|
||||||
else:
|
else:
|
||||||
print("Error: Don't have Packages for HAL_Driver, Please Use \"pkgs --Update\" in ENV")
|
print("Error: Packages for HAL_Driver does not exist, pull it in ENV using `pkg --update`.")
|
||||||
|
|
||||||
SDK_LIB = libraries_path_prefix
|
SDK_LIB = libraries_path_prefix
|
||||||
Export('SDK_LIB')
|
Export('SDK_LIB')
|
||||||
|
|
|
@ -41,7 +41,7 @@ libraries_path_prefix = SDK_ROOT
|
||||||
if os.path.exists(SDK_ROOT + '/packages'):
|
if os.path.exists(SDK_ROOT + '/packages'):
|
||||||
libraries_path_prefix = SDK_ROOT + '/packages'
|
libraries_path_prefix = SDK_ROOT + '/packages'
|
||||||
else:
|
else:
|
||||||
print("Error: Don't have Packages for HAL_Driver, Please Use \"pkgs --Update\" in ENV")
|
print("Error: Packages for HAL_Driver does not exist, pull it in ENV using `pkg --update`.")
|
||||||
|
|
||||||
SDK_LIB = libraries_path_prefix
|
SDK_LIB = libraries_path_prefix
|
||||||
Export('SDK_LIB')
|
Export('SDK_LIB')
|
||||||
|
|
|
@ -41,7 +41,7 @@ libraries_path_prefix = SDK_ROOT
|
||||||
if os.path.exists(SDK_ROOT + '/packages'):
|
if os.path.exists(SDK_ROOT + '/packages'):
|
||||||
libraries_path_prefix = SDK_ROOT + '/packages'
|
libraries_path_prefix = SDK_ROOT + '/packages'
|
||||||
else:
|
else:
|
||||||
print("Error: Don't have Packages for HAL_Driver, Please Use \"pkgs --Update\" in ENV")
|
print("Error: Packages for HAL_Driver does not exist, pull it in ENV using `pkg --update`.")
|
||||||
|
|
||||||
SDK_LIB = libraries_path_prefix
|
SDK_LIB = libraries_path_prefix
|
||||||
Export('SDK_LIB')
|
Export('SDK_LIB')
|
||||||
|
|
|
@ -41,7 +41,7 @@ libraries_path_prefix = SDK_ROOT
|
||||||
if os.path.exists(SDK_ROOT + '/packages'):
|
if os.path.exists(SDK_ROOT + '/packages'):
|
||||||
libraries_path_prefix = SDK_ROOT + '/packages'
|
libraries_path_prefix = SDK_ROOT + '/packages'
|
||||||
else:
|
else:
|
||||||
print("Error: Don't have Packages for HAL_Driver, Please Use \"pkgs --Update\" in ENV")
|
print("Error: Packages for HAL_Driver does not exist, pull it in ENV using `pkg --update`.")
|
||||||
|
|
||||||
SDK_LIB = libraries_path_prefix
|
SDK_LIB = libraries_path_prefix
|
||||||
Export('SDK_LIB')
|
Export('SDK_LIB')
|
||||||
|
|
|
@ -41,7 +41,7 @@ libraries_path_prefix = SDK_ROOT
|
||||||
if os.path.exists(SDK_ROOT + '/packages'):
|
if os.path.exists(SDK_ROOT + '/packages'):
|
||||||
libraries_path_prefix = SDK_ROOT + '/packages'
|
libraries_path_prefix = SDK_ROOT + '/packages'
|
||||||
else:
|
else:
|
||||||
print("Error: Don't have Packages for HAL_Driver, Please Use \"pkgs --Update\" in ENV")
|
print("Error: Packages for HAL_Driver does not exist, pull it in ENV using `pkg --update`.")
|
||||||
|
|
||||||
SDK_LIB = libraries_path_prefix
|
SDK_LIB = libraries_path_prefix
|
||||||
Export('SDK_LIB')
|
Export('SDK_LIB')
|
||||||
|
|
Loading…
Reference in New Issue