Skip to content

Commit c3da935

Browse files
fengmuyouRbb666
authored andcommitted
bsp: Add a reminder when dependency packages fail to fetch
1 parent c050c8e commit c3da935

File tree

125 files changed

+376
-250
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

125 files changed

+376
-250
lines changed

bsp/nxp/imx/imx6sx/cortex-a9/SConstruct

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,10 @@ def bsp_pkg_check():
2020
need_update = not all(os.path.exists(p) for p in check_paths)
2121

2222
if need_update:
23-
print("\n==============================================================")
23+
print("\n===============================================================================")
2424
print("Dependency packages missing, please running 'pkgs --update'...")
25-
print("==============================================================")
25+
print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
26+
print("===============================================================================")
2627
exit(1)
2728

2829
RegisterPreBuildingAction(bsp_pkg_check)

bsp/nxp/imx/imx6ul/SConstruct

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,10 @@ def bsp_pkg_check():
2020
need_update = not all(os.path.exists(p) for p in check_paths)
2121

2222
if need_update:
23-
print("\n==============================================================")
23+
print("\n===============================================================================")
2424
print("Dependency packages missing, please running 'pkgs --update'...")
25-
print("==============================================================")
25+
print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
26+
print("===============================================================================")
2627
exit(1)
2728

2829
RegisterPreBuildingAction(bsp_pkg_check)

bsp/nxp/imx/imx6ull-smart/SConstruct

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,10 @@ def bsp_pkg_check():
1717
need_update = not all(os.path.exists(p) for p in check_paths)
1818

1919
if need_update:
20-
print("\n==============================================================")
20+
print("\n===============================================================================")
2121
print("Dependency packages missing, please running 'pkgs --update'...")
22-
print("==============================================================")
22+
print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
23+
print("===============================================================================")
2324
exit(1)
2425

2526
RegisterPreBuildingAction(bsp_pkg_check)

bsp/nxp/imx/imxrt/imxrt1021-nxp-evk/SConstruct

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,10 @@ def bsp_pkg_check():
2525
need_update = not all(os.path.exists(p) for p in check_paths)
2626

2727
if need_update:
28-
print("\n==============================================================")
28+
print("\n===============================================================================")
2929
print("Dependency packages missing, please running 'pkgs --update'...")
30-
print("==============================================================")
30+
print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
31+
print("===============================================================================")
3132
exit(1)
3233

3334
RegisterPreBuildingAction(bsp_pkg_check)

bsp/nxp/imx/imxrt/imxrt1052-atk-commander/SConstruct

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,10 @@ def bsp_pkg_check():
2525
need_update = not all(os.path.exists(p) for p in check_paths)
2626

2727
if need_update:
28-
print("\n==============================================================")
28+
print("\n===============================================================================")
2929
print("Dependency packages missing, please running 'pkgs --update'...")
30-
print("==============================================================")
30+
print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
31+
print("===============================================================================")
3132
exit(1)
3233

3334
RegisterPreBuildingAction(bsp_pkg_check)

bsp/nxp/imx/imxrt/imxrt1052-fire-pro/SConstruct

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,10 @@ def bsp_pkg_check():
2525
need_update = not all(os.path.exists(p) for p in check_paths)
2626

2727
if need_update:
28-
print("\n==============================================================")
28+
print("\n===============================================================================")
2929
print("Dependency packages missing, please running 'pkgs --update'...")
30-
print("==============================================================")
30+
print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
31+
print("===============================================================================")
3132
exit(1)
3233

3334
RegisterPreBuildingAction(bsp_pkg_check)

bsp/nxp/imx/imxrt/imxrt1052-nxp-evk/SConstruct

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,10 @@ def bsp_pkg_check():
2525
need_update = not all(os.path.exists(p) for p in check_paths)
2626

2727
if need_update:
28-
print("\n==============================================================")
28+
print("\n===============================================================================")
2929
print("Dependency packages missing, please running 'pkgs --update'...")
30-
print("==============================================================")
30+
print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
31+
print("===============================================================================")
3132
exit(1)
3233

3334
RegisterPreBuildingAction(bsp_pkg_check)

bsp/nxp/imx/imxrt/imxrt1052-seeed-ArchMix/SConstruct

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,10 @@ def bsp_pkg_check():
2525
need_update = not all(os.path.exists(p) for p in check_paths)
2626

2727
if need_update:
28-
print("\n==============================================================")
28+
print("\n===============================================================================")
2929
print("Dependency packages missing, please running 'pkgs --update'...")
30-
print("==============================================================")
30+
print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
31+
print("===============================================================================")
3132
exit(1)
3233

3334
RegisterPreBuildingAction(bsp_pkg_check)

bsp/nxp/imx/imxrt/imxrt1060-nxp-evk/SConstruct

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,10 @@ def bsp_pkg_check():
2525
need_update = not all(os.path.exists(p) for p in check_paths)
2626

2727
if need_update:
28-
print("\n==============================================================")
28+
print("\n===============================================================================")
2929
print("Dependency packages missing, please running 'pkgs --update'...")
30-
print("==============================================================")
30+
print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
31+
print("===============================================================================")
3132
exit(1)
3233

3334
RegisterPreBuildingAction(bsp_pkg_check)

bsp/nxp/imx/imxrt/imxrt1061-forlinx-OK1061-S/SConstruct

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,10 @@ def bsp_pkg_check():
2525
need_update = not all(os.path.exists(p) for p in check_paths)
2626

2727
if need_update:
28-
print("\n==============================================================")
28+
print("\n===============================================================================")
2929
print("Dependency packages missing, please running 'pkgs --update'...")
30-
print("==============================================================")
30+
print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
31+
print("===============================================================================")
3132
exit(1)
3233

3334
RegisterPreBuildingAction(bsp_pkg_check)

0 commit comments

Comments
 (0)