diff options
author | Sam Ravnborg <sam@mars.ravnborg.org> | 2004-09-09 03:46:24 +0200 |
---|---|---|
committer | Tom Rini <trini@kernel.crashing.org> | 2004-09-09 03:46:24 +0200 |
commit | deea123d01ef927c5b4b74df72ecb1b3e327cbc8 (patch) | |
tree | 1f5e8256d873a5db4c75ce7bcff1f59ac1957bf1 /Makefile | |
parent | 41ae181c30f7c4bf38e0a6ad0cd9591bf7689cbc (diff) | |
download | history-deea123d01ef927c5b4b74df72ecb1b3e327cbc8.tar.gz |
kbuild: allow arch/$(ARCH)/Makefile to override cmd_vmlinux__
The comments said so, so let the code refelct the comment.
First user is um that needs a non-standard link rule.
um patch will be submitted by the UML folks.
Also dropped a bogus comment.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile index 9d2ab11e7f9cab..d3d2228ab64bae 100644 --- a/Makefile +++ b/Makefile @@ -577,9 +577,8 @@ vmlinux-lds := arch/$(ARCH)/kernel/vmlinux.lds # Rule to link vmlinux - also used during CONFIG_KALLSYMS # May be overridden by arch/$(ARCH)/Makefile -# Require first prerequisite to be the lds file -quiet_cmd_vmlinux__ = LD $@ - cmd_vmlinux__ = $(LD) $(LDFLAGS) $(LDFLAGS_vmlinux) -o $@ \ +quiet_cmd_vmlinux__ ?= LD $@ + cmd_vmlinux__ ?= $(LD) $(LDFLAGS) $(LDFLAGS_vmlinux) -o $@ \ -T $(vmlinux-lds) $(vmlinux-init) \ --start-group $(vmlinux-main) --end-group \ $(filter-out $(vmlinux-lds) $(vmlinux-init) $(vmlinux-main) FORCE ,$^) |