aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuergen Lock <nox@jelal.kn-bremen.de>2010-03-22 19:12:43 +0100
committerBlue Swirl <blauwirbel@gmail.com>2010-03-23 19:44:41 +0000
commit0c62de2f4df339230aa0f0b954847a870a02a5de (patch)
tree23d46c7a894d47beb338956e62ea52b9cae39e3c
parent6725f3fa1d25dadcc54bcfdfba8d2eb004ef6c01 (diff)
Fix bsd-user broken by commit b5ec5ce0e39d6e7ea707d5604a5f6d567dfd2f48
Signed-off-by: Juergen Lock <nox@jelal.kn-bremen.de> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
-rw-r--r--bsd-user/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/bsd-user/main.c b/bsd-user/main.c
index 9f8683d2e6..6b59a16112 100644
--- a/bsd-user/main.c
+++ b/bsd-user/main.c
@@ -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)