File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -232,7 +232,7 @@ proc GetGitHash { } {
232
232
while { [string bytelength $gitHash ] != 40 } {
233
233
set gitHash " 0${gitHash} "
234
234
}
235
- return ${ gitHash}
235
+ return [ string toupper $ gitHash]
236
236
}
237
237
238
238
# # Generate the Firmware Version string
@@ -277,11 +277,16 @@ proc GenBuildString { pkgDir } {
277
277
set out [open ${pkgDir} /BuildInfoPkg.vhd w]
278
278
puts ${out} " library ieee;"
279
279
puts ${out} " use ieee.std_logic_1164.all;"
280
+ puts ${out} " "
280
281
puts ${out} " library surf;"
281
282
puts ${out} " use surf.StdRtlPkg.all;"
283
+ puts ${out} " "
282
284
puts ${out} " package BuildInfoPkg is"
283
- puts ${out} " constant BUILD_INFO_C : BuildInfoType :=x\" ${gitHash}${fwVersion}${buildString} \" ;"
285
+ puts ${out} " "
286
+ puts ${out} " constant BUILD_INFO_C : BuildInfoType := x\" ${gitHash}${fwVersion}${buildString} \" ;"
287
+ puts ${out} " "
284
288
puts ${out} " end BuildInfoPkg;"
289
+ puts ${out} " "
285
290
close ${out}
286
291
loadSource -lib ruckus -path ${pkgDir} /BuildInfoPkg.vhd
287
292
}
You can’t perform that action at this time.
0 commit comments