Commit a811492e4f386f79b122b210ac8e66915c27f767

Authored by Alexey Brodkin
1 parent 89576072cb

arc: fix separate compilation of start.o

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>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

arch/arc/lib/Makefile
... ... @@ -4,6 +4,7 @@
4 4 # SPDX-License-Identifier: GPL-2.0+
5 5 #
6 6  
  7 +extra-y = start.o
7 8 head-y := start.o
8 9 obj-y += cache.o
9 10 obj-y += cpu.o