summaryrefslogtreecommitdiff
path: root/scripts/Makefile
diff options
context:
space:
mode:
authorKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>2003-02-19 01:16:36 -0600
committerKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>2003-02-19 01:16:36 -0600
commit3194de9cf7a9207db7552aaae74564e64806a01b (patch)
treef2340cfb33779761d2038381e75c1c5da365efa3 /scripts/Makefile
parent939ff4992fd06928220e3073e7c99b05359be1f4 (diff)
kbuild: Handle MODULE_SYMBOL_PREFIX in module postprocessing
Loosely based on a patch by Miles Bader, have modpost deal with weird archs (v850) which prefix their symbols with '_'. Modpost does not yet handle ppc64 "prefix function symbols with '.'" correctly, btw.
Diffstat (limited to 'scripts/Makefile')
-rw-r--r--scripts/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Makefile b/scripts/Makefile
index c9bfe6dd2156..287694dddf69 100644
--- a/scripts/Makefile
+++ b/scripts/Makefile
@@ -25,7 +25,7 @@ $(addprefix $(obj)/,$(filter-out fixdep,$(build-targets))): $(obj)/fixdep
$(obj)/modpost.o $(obj)/file2alias.o: $(obj)/elfconfig.h
quiet_cmd_elfconfig = MKELF $@
- cmd_elfconfig = $(obj)/mk_elfconfig < $< > $@
+ cmd_elfconfig = $(obj)/mk_elfconfig $(ARCH) < $< > $@
$(obj)/elfconfig.h: $(obj)/empty.o $(obj)/mk_elfconfig FORCE
$(call if_changed,elfconfig)