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)

bsp/nxp/imx/imxrt/imxrt1064-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/imxrt1170-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/lpc/lpc176x/SConstruct

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

2121
if need_update:
22-
print("\n==============================================================")
22+
print("\n===============================================================================")
2323
print("Dependency packages missing, please running 'pkgs --update'...")
24-
print("==============================================================")
24+
print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
25+
print("===============================================================================")
2526
exit(1)
2627

2728
RegisterPreBuildingAction(bsp_pkg_check)

bsp/nxp/lpc/lpc178x/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/lpc/lpc408x/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/lpc/lpc5410x/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/lpc/lpc54114-lite/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/lpc/lpc54608-LPCXpresso/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/lpc/lpc55sxx/lpc55s06_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/lpc/lpc55sxx/lpc55s16_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/lpc/lpc55sxx/lpc55s28_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/lpc/lpc55sxx/lpc55s36_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/lpc/lpc55sxx/lpc55s69_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/lpc/lpc824/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/mcx/mcxa/frdm-mcxa153/SConstruct

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

2828
if need_update:
29-
print("\n==============================================================")
29+
print("\n===============================================================================")
3030
print("Dependency packages missing, please running 'pkgs --update'...")
31-
print("==============================================================")
31+
print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
32+
print("===============================================================================")
3233
exit(1)
3334

3435
RegisterPreBuildingAction(bsp_pkg_check)

bsp/nxp/mcx/mcxa/frdm-mcxa156/SConstruct

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

2828
if need_update:
29-
print("\n==============================================================")
29+
print("\n===============================================================================")
3030
print("Dependency packages missing, please running 'pkgs --update'...")
31-
print("==============================================================")
31+
print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
32+
print("===============================================================================")
3233
exit(1)
3334

3435
RegisterPreBuildingAction(bsp_pkg_check)

bsp/nxp/mcx/mcxc/frdm-mcxc444/SConstruct

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

2828
if need_update:
29-
print("\n==============================================================")
29+
print("\n===============================================================================")
3030
print("Dependency packages missing, please running 'pkgs --update'...")
31-
print("==============================================================")
31+
print("If no packages are fetched, run 'pkgs --upgrade' first, then 'pkgs --update'...")
32+
print("===============================================================================")
3233
exit(1)
3334

3435
RegisterPreBuildingAction(bsp_pkg_check)

0 commit comments

Comments
 (0)