summaryrefslogtreecommitdiffstats
path: root/arch/arc/lib
diff options
context:
space:
mode:
authorAlexey Brodkin <abrodkin@synopsys.com>2015-04-10 19:22:40 +0300
committerAlexey Brodkin <abrodkin@synopsys.com>2015-04-10 19:22:40 +0300
commita811492e4f386f79b122b210ac8e66915c27f767 (patch)
tree8feaeea90cdd6e149c24f22a195a698d83d77ace /arch/arc/lib
parent89576072cb60d50b61813f901c6fc296c01de506 (diff)
downloadtalos-obmc-uboot-a811492e4f386f79b122b210ac8e66915c27f767.tar.gz
talos-obmc-uboot-a811492e4f386f79b122b210ac8e66915c27f767.zip
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>
Diffstat (limited to 'arch/arc/lib')
-rw-r--r--arch/arc/lib/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arc/lib/Makefile b/arch/arc/lib/Makefile
index 459bba9f66..e592802907 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
OpenPOWER on IntegriCloud