kbuild: fix documentation in makefiles.txt

Small error had sneaked in with respect to use
of LDFLAGS_$@. LDFLAGS_$@ is not valid in normal
kbuild files so do not say so.
Fix a reference bug too.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
This commit is contained in:
Sam Ravnborg 2007-09-30 20:08:25 +02:00
parent 0b35786d77
commit a9af33052c

View file

@ -780,8 +780,8 @@ When kbuild executes, the following steps are followed (roughly):
Example: Example:
#arch/s390/Makefile #arch/s390/Makefile
LDFLAGS := -m elf_s390 LDFLAGS := -m elf_s390
Note: EXTRA_LDFLAGS and LDFLAGS_$@ can be used to further customise Note: EXTRA_LDFLAGS can be used to further customise
the flags used. See chapter 7. the flags used. See chapter 3.7.
LDFLAGS_MODULE Options for $(LD) when linking modules LDFLAGS_MODULE Options for $(LD) when linking modules