-boot_image mipsel_path= , -as mkisofs -mipsel-boot.

This commit is contained in:
2010-10-15 11:21:30 +00:00
parent c1381c7baf
commit d44005244d
7 changed files with 66 additions and 20 deletions

View File

@ -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;