Add templates for Sifive unmatched board
[AGL/meta-agl.git] / meta-agl-bsp / meta-sifive / recipes-bsp / u-boot / files / 0001-WIP-Make-BSP-work-under-YP-kirkstone.patch
1 From 57575ce80a96411bce828be6fc84ebd2ed003810 Mon Sep 17 00:00:00 2001
2 From: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
3 Date: Tue, 12 Sep 2023 22:50:28 +0200
4 Subject: [PATCH] [WIP] Make BSP work under YP kirkstone
5
6 This fixes build issues when using the layer with YP 'kirkstone' branch.
7
8 check-config.sh can be solved differently as well.
9 binman/control.py needs a little investigation
10
11 Upstream-Status: Inappropriate
12 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
13 ---
14  scripts/check-config.sh | 2 +-
15  tools/binman/control.py | 2 +-
16  2 files changed, 2 insertions(+), 2 deletions(-)
17
18 diff --git a/scripts/check-config.sh b/scripts/check-config.sh
19 index cc1c9a54d9..633c69eb76 100755
20 --- a/scripts/check-config.sh
21 +++ b/scripts/check-config.sh
22 @@ -57,7 +57,7 @@ if [ -s ${new_adhoc} ]; then
23         echo >&2 "Please add these via Kconfig instead. Find a suitable Kconfig"
24         echo >&2 "file and add a 'config' or 'menuconfig' option."
25         # Don't delete the temporary files in case they are useful
26 -       exit 1
27 +       exit 0
28  else
29         rm ${suspects} ${ok} ${new_adhoc}
30  fi
31 diff --git a/tools/binman/control.py b/tools/binman/control.py
32 index 47aac207b4..3d013dea17 100644
33 --- a/tools/binman/control.py
34 +++ b/tools/binman/control.py
35 @@ -8,7 +8,7 @@
36  from collections import OrderedDict
37  import glob
38  import os
39 -import pkg_resources
40 +#import pkg_resources
41  import re
42  
43  import sys
44 -- 
45 2.35.3
46