diff mbox

[U-Boot] arc: fix separate compilation of start.o

Message ID 1428683111-8822-1-git-send-email-abrodkin@synopsys.com
State Accepted, archived
Delegated to: Alexey Brodkin
Headers show

Commit Message

Alexey Brodkin April 10, 2015, 4:25 p.m. UTC
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(+)

Comments

Alexey Brodkin April 10, 2015, 4:26 p.m. UTC | #1
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
diff mbox

Patch

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