[Android-virt] [PATCH v2] Fix linux-system-semi.axf build failure from clean

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



We were failing to build linux-system-semi.axf in a clean tree
because even if SEMIHOSTING was defined we still had a spurious
INPUT(boot.o), which is harmless if boot.o exists but fails
if it does not.

In fact the INPUT() commands for the .o files are unnecessary
because ld will pull in the correct .o files because the SECTIONS
command has a non-wildcard reference to them. So just drop the
unneeded INPUT() commands rather than adding more ifdefs.
(The INPUT() commands for the binary blobs are still required.)

Signed-off-by: Peter Maydell <peter.maydell at linaro.org>
---
v1->v2 : just drop the offending INPUT() commands rather than
using ifdefs

 model.lds.S |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/model.lds.S b/model.lds.S
index 3af4e07..fca017b 100644
--- a/model.lds.S
+++ b/model.lds.S
@@ -11,8 +11,6 @@ OUTPUT_FORMAT("elf32-littlearm")
 OUTPUT_ARCH(arm)
 TARGET(binary)
 
-INPUT(./monitor.o)
-INPUT(./boot.o)
 #ifndef SEMIHOSTING
 INPUT(./uImage)
 #ifdef USE_INITRD
-- 
1.7.5.4



[Index of Archives]     [Linux KVM]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux