diff options
author | Roland McGrath <roland@redhat.com> | 2007-07-23 01:12:08 -0700 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2007-07-25 21:18:19 +0200 |
commit | 114f51577724b782a30f4f5ceaee9880de93d776 (patch) | |
tree | 045e6b4218b6e59bc31fed7b67406647adb9fb18 /scripts/Makefile.build | |
parent | 1edf1c00acf8d9b60d436d6a0a55e395353a446c (diff) | |
download | linux-114f51577724b782a30f4f5ceaee9880de93d776.tar.bz2 |
kbuild: use LDFLAGS_MODULE only for .ko links
Sam Ravnborg pointed out that Documentation/kbuild/makefiles.txt already
says this is what it's for. This patch makes the reality live up to the
documentation. This fixes the problem of LDFLAGS_BUILD_ID getting into too
many places.
Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'scripts/Makefile.build')
-rw-r--r-- | scripts/Makefile.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Makefile.build b/scripts/Makefile.build index 3f7b451f3955..7fd6055bedfd 100644 --- a/scripts/Makefile.build +++ b/scripts/Makefile.build @@ -315,7 +315,7 @@ quiet_cmd_link_multi-y = LD $@ cmd_link_multi-y = $(LD) $(ld_flags) -r -o $@ $(link_multi_deps) quiet_cmd_link_multi-m = LD [M] $@ -cmd_link_multi-m = $(LD) $(ld_flags) $(LDFLAGS_MODULE) -o $@ $(link_multi_deps) +cmd_link_multi-m = $(cmd_link_multi-y) # We would rather have a list of rules like # foo.o: $(foo-objs) |