-boot_image mipsel_path= , -as mkisofs -mipsel-boot.
This commit is contained in:
@ -1241,6 +1241,7 @@ not_enough_args:;
|
||||
strcmp(argv[i], "--efi-boot") == 0 ||
|
||||
strcmp(argv[i], "-e") == 0 ||
|
||||
strcmp(argv[i], "-mips-boot") == 0 ||
|
||||
strcmp(argv[i], "-mipsel-boot") == 0 ||
|
||||
strcmp(argv[i], "-c") == 0 ||
|
||||
strcmp(argv[i], "-eltorito-catalog") == 0 ||
|
||||
strcmp(argv[i], "-boot-load-size") == 0 ||
|
||||
@ -1552,11 +1553,15 @@ problem_handler_2:;
|
||||
if(ret <= 0)
|
||||
goto problem_handler_boot;
|
||||
|
||||
} else if(strcmp(argv[i], "-mips-boot")==0) {
|
||||
if(i+1>=argc)
|
||||
} else if(strcmp(argv[i], "-mips-boot") == 0 ||
|
||||
strcmp(argv[i], "-mipsel-boot") == 0) {
|
||||
if(i + 1 >= argc)
|
||||
goto not_enough_args;
|
||||
i++;
|
||||
strcpy(sfe, "mips_path=");
|
||||
if(strcmp(argv[i - 1], "-mipsel-boot") == 0)
|
||||
strcpy(sfe, "mipsel_path=");
|
||||
else
|
||||
strcpy(sfe, "mips_path=");
|
||||
ret= Sfile_str(sfe, argv[i], 1);
|
||||
if(ret <= 0)
|
||||
goto ex;
|
||||
|
Reference in New Issue
Block a user