[bsp/Infineon] 修复 SCons 中的 typo 并优化表达 (#9262)

Co-authored-by: clow1710 <gh.my1710@outlook.com>
This commit is contained in:
耿浩 2024-07-30 00:21:02 +08:00 committed by GitHub
parent 24d3ed80da
commit 8d15f15f16
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with 8 additions and 8 deletions

View File

@ -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')

View File

@ -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')

View File

@ -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')

View File

@ -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')

View File

@ -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')

View File

@ -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')

View File

@ -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')

View File

@ -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')