[Android-virt] [PATCH] model.lds.S: INPUT() bootsemi.o, not boot.o, if SEMIHOSTING

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

 



If SEMIHOSTING is defined then use the correct object file name
in the INPUT() directive. This fixes a failure to build
linux-system-semi.axf from clean.

Signed-off-by: Peter Maydell <peter.maydell at linaro.org>
---
Oops. I'll commit this to the git repo within the next day
or two unless somebody wants to object...

 model.lds.S |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/model.lds.S b/model.lds.S
index 3af4e07..10c13b1 100644
--- a/model.lds.S
+++ b/model.lds.S
@@ -12,12 +12,14 @@ OUTPUT_ARCH(arm)
 TARGET(binary)
 
 INPUT(./monitor.o)
-INPUT(./boot.o)
 #ifndef SEMIHOSTING
+INPUT(./boot.o)
 INPUT(./uImage)
 #ifdef USE_INITRD
  INPUT(./filesystem.cpio.gz)
 #endif
+#else
+INPUT(./bootsemi.o)
 #endif
 
 
-- 
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