aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/genksyms/genksyms.c3
-rw-r--r--scripts/mod/mk_elfconfig.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/scripts/genksyms/genksyms.c b/scripts/genksyms/genksyms.c
index b0381823e404..511023b430a8 100644
--- a/scripts/genksyms/genksyms.c
+++ b/scripts/genksyms/genksyms.c
@@ -516,7 +516,8 @@ int main(int argc, char **argv)
516 genksyms_usage(); 516 genksyms_usage();
517 return 1; 517 return 1;
518 } 518 }
519 if ((strcmp(arch, "v850") == 0) || (strcmp(arch, "h8300") == 0)) 519 if ((strcmp(arch, "v850") == 0) || (strcmp(arch, "h8300") == 0)
520 || (strcmp(arch, "blackfin") == 0))
520 mod_prefix = "_"; 521 mod_prefix = "_";
521 { 522 {
522 extern int yydebug; 523 extern int yydebug;
diff --git a/scripts/mod/mk_elfconfig.c b/scripts/mod/mk_elfconfig.c
index 725d61c0fb43..db3881f14c2d 100644
--- a/scripts/mod/mk_elfconfig.c
+++ b/scripts/mod/mk_elfconfig.c
@@ -55,7 +55,8 @@ main(int argc, char **argv)
55 else 55 else
56 exit(1); 56 exit(1);
57 57
58 if ((strcmp(argv[1], "v850") == 0) || (strcmp(argv[1], "h8300") == 0)) 58 if ((strcmp(argv[1], "v850") == 0) || (strcmp(argv[1], "h8300") == 0)
59 || (strcmp(argv[1], "blackfin") == 0))
59 printf("#define MODULE_SYMBOL_PREFIX \"_\"\n"); 60 printf("#define MODULE_SYMBOL_PREFIX \"_\"\n");
60 else 61 else
61 printf("#define MODULE_SYMBOL_PREFIX \"\"\n"); 62 printf("#define MODULE_SYMBOL_PREFIX \"\"\n");