From: Alexey Brodkin <Alexey.Brodkin@synopsys.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] arc: fix separate compilation of start.o
Date: Fri, 10 Apr 2015 16:26:03 +0000 [thread overview]
Message-ID: <1428683163.5325.9.camel@synopsys.com> (raw)
In-Reply-To: <1428683111-8822-1-git-send-email-abrodkin@synopsys.com>
On Fri, 2015-04-10 at 19:25 +0300, Alexey Brodkin wrote:
> While testing "arc: make sure _start is in the beginning of .text
> section" I haven't done proper clean-up of built binaries and so missed
> another tiny bit that lead to the following error:
> --->8---
> LD u-boot
> arc-linux-ld.bfd: cannot find arch/arc/lib/start.o
> Makefile:1107: recipe for target 'u-boot' failed
> make: *** [u-boot] Error 1
> --->8---
>
> Fix is trivial: put "start.o" in "extra-y".
>
> Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
> ---
> arch/arc/lib/Makefile | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/arc/lib/Makefile b/arch/arc/lib/Makefile
> index 459bba9..e592802 100644
> --- a/arch/arc/lib/Makefile
> +++ b/arch/arc/lib/Makefile
> @@ -4,6 +4,7 @@
> # SPDX-License-Identifier: GPL-2.0+
> #
>
> +extra-y = start.o
> head-y := start.o
> obj-y += cache.o
> obj-y += cpu.o
Applied, thanks.
-Alexey
prev parent reply other threads:[~2015-04-10 16:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-10 16:25 [U-Boot] [PATCH] arc: fix separate compilation of start.o Alexey Brodkin
2015-04-10 16:26 ` Alexey Brodkin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1428683163.5325.9.camel@synopsys.com \
--to=alexey.brodkin@synopsys.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox