Fix bsd-user broken by commit b5ec5ce0e39d6e7ea707d5604a5f6d567dfd2f48
PATCH 1/1 Fix bsd-user broken by commit b5ec5ce0e39d6e7ea707d5604a5f6d567dfd2f48
Signed-off-by Juergen Lock <[email protected]>
bsd-user/main.c +4 -0
@@ -759,6 +759,10 @@ int main(int argc, char **argv) } cpu_model =NULL ; +#if defined(cpudef_setup) +cpudef_setup ();/* parse cpu definitions in target config file (TBD) */ +#endif + optind =1 ;for (;;) {if (optind >= argc)
Blue Swirl
AppliedThanks, applied.
Quoted 18 lines · Juergen Lock
Signed-off-by Juergen Lock <[email protected]>---
a/bsd-user/main.c
+++b/bsd-user/main.c
@@ -759,6 +759,10 @@ intmain(int argc, char **argv)} cpu_model = NULL; +#if defined(cpudef_setup) + cpudef_setup(); /* parse cpu definitions in target config file (TBD) */ +#endif + optind = 1; for(;;) { if (optind >= argc)