kbuild: use LDFLAGS_MODULE only for .ko links
authorRoland McGrath <roland@redhat.com>
Mon, 23 Jul 2007 08:12:08 +0000 (01:12 -0700)
committerSam Ravnborg <sam@ravnborg.org>
Wed, 25 Jul 2007 19:18:19 +0000 (21:18 +0200)
commit114f51577724b782a30f4f5ceaee9880de93d776
tree045e6b4218b6e59bc31fed7b67406647adb9fb18
parent1edf1c00acf8d9b60d436d6a0a55e395353a446c
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>
Makefile
scripts/Makefile.build
scripts/Makefile.modpost