arc: fix separate compilation of start.o
PATCH 1/1 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".
--- arch/arc/lib/Makefile | 1 + 1 file changed, 1 insertion(+)
arch/arc/lib/Makefile +1 -0
@@ -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
Signature · 1 line
2.1.0
Alexey Brodkin
AppliedPATCH 1/1 arc: fix separate compilation of start.o
Quoted 22 lines · Alexey Brodkin
While testing "arc: make sure
_startis 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 findarch/arc/lib/start.oMakefile: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 <[email protected]>--- arch/arc/lib/Makefile | 1 + 1 file changed, 1 insertion(+)arch/arc/lib/Makefile +0
-0
arch/arc/lib/Makefile line 10
Quoted 7 lines
arch/arc/lib/Makefile +1
-0@@ -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