File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -1327,13 +1327,14 @@ public static long writeTargetImageToMcsFile(String fname) throws IOException {
1327
1327
// open mcs file for writing
1328
1328
fname = fname + '.' + Linker32 .targetImage .segment .owner .name + ".mcs" ;
1329
1329
BufferedWriter writerMcs = new BufferedWriter (new FileWriter (fname ));
1330
- String plFile = Configuration .getPlFileName (). toString ();
1331
- if (plFile == null ) {
1330
+ HString pl = Configuration .getPlFileName ();
1331
+ if (pl == null ) {
1332
1332
ErrorReporter .reporter .error (823 , "add PL file to deep configuration" );
1333
1333
readerBin .close ();
1334
1334
writerMcs .close ();
1335
1335
return 0 ;
1336
1336
}
1337
+ String plFile = pl .toString ();
1337
1338
HString [] libs = Configuration .getLibPaths ();
1338
1339
boolean found = false ;
1339
1340
// open predefined Xilinx mcs file
You can’t perform that action at this time.
0 commit comments