@@ -109,15 +109,15 @@ def get_details_and_dependencies(details, projects, seen=None):
109109 for dep in details :
110110 if dep not in seen :
111111 dep_details = projects .get (dep )
112- seen .add (dep )
112+ seen .add (dep )
113113 if dep_details is not None :
114114 if dep_details .get ('depends' ) is not None :
115115 temp ,temp1 = get_details_and_dependencies (dep_details .get ('depends' ), projects , seen )
116116 for line in temp :
117117 result .append (line )
118118 for line in temp1 :
119119 scons_arg .append (line )
120- if dep_details .get ('kconfig' ) is not None :
120+ if dep_details .get ('kconfig' ) is not None :
121121 for line in dep_details .get ('kconfig' ):
122122 result .append (line )
123123 if dep_details .get ('depend_scons_arg' ) is not None :
@@ -126,6 +126,7 @@ def get_details_and_dependencies(details, projects, seen=None):
126126 else :
127127 print (f"::error::There are some problems with attachconfig depend: { dep } " );
128128 return result ,scons_arg
129+
129130def build_bsp_attachconfig (bsp , attach_file ):
130131 """
131132 build bsp with attach config.
@@ -185,7 +186,7 @@ def build_bsp_attachconfig(bsp, attach_file):
185186 print ("::endgroup::" )
186187
187188 yml_files_content = []
188- directory = os .path .join (rtt_root , '.ci/attachconfig' )
189+ directory = os .path .join (rtt_root , 'bsp' , bsp , ' .ci/attachconfig' )
189190 if os .path .exists (directory ):
190191 for root , dirs , files in os .walk (directory ):
191192 for filename in files :
0 commit comments