mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
GenTeImage can't work well with Linux is caused by its parameter parsing. GenTeImage will replace all Parameter's first character to '-' if start with '/'. Actually, it is not necessary to deal with, after remove this processor, it works well now.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1185 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
5afd499259
commit
ca9ea8d956
@ -672,11 +672,7 @@ Returns:
|
||||
//
|
||||
// Process until no more arguments
|
||||
//
|
||||
while ((Argc > 0) && ((Argv[0][0] == '-') || (Argv[0][0] == '/'))) {
|
||||
//
|
||||
// To simplify string comparisons, replace slashes with dashes
|
||||
//
|
||||
Argv[0][0] = '-';
|
||||
while ((Argc > 0) && (Argv[0][0] == '-')) {
|
||||
if (stricmp (Argv[0], "-o") == 0) {
|
||||
//
|
||||
// Output filename specified with -o
|
||||
|
Loading…
x
Reference in New Issue
Block a user