Sfoglia il codice sorgente

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>
Alexey Brodkin 9 anni fa
parent
commit
a811492e4f
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      arch/arc/lib/Makefile

+ 1 - 0
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