|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] arm: create a raw binary target.
# HG changeset patch
# User Ian Campbell <ian.campbell@xxxxxxxxxx>
# Date 1354278022 0
# Node ID 88a6381a4f2a6378767942cfc6e9a5abf46bf08b
# Parent d11ef8a27f5e2625f94fa9658b602043f46f4f75
arm: create a raw binary target.
This is suitable for direct loading by a bootloader.
Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
Acked-by: Tim Deegan <tim@xxxxxxx>
Committed-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
---
diff -r d11ef8a27f5e -r 88a6381a4f2a xen/arch/arm/Makefile
--- a/xen/arch/arm/Makefile Fri Nov 30 12:20:21 2012 +0000
+++ b/xen/arch/arm/Makefile Fri Nov 30 12:20:22 2012 +0000
@@ -38,12 +38,16 @@ endif
ALL_OBJS := head.o $(ALL_OBJS)
-$(TARGET): $(TARGET)-syms
+$(TARGET): $(TARGET)-syms $(TARGET).bin
# XXX: VE model loads by VMA so instead of
# making a proper ELF we link with LMA == VMA and adjust crudely
$(OBJCOPY) --change-addresses +0x80000000 $< $@
$(STRIP) $@
+#
+$(TARGET).bin: $(TARGET)-syms
+ objcopy -O binary -S $< $@
+
#$(TARGET): $(TARGET)-syms $(efi-y) boot/mkelf32
# ./boot/mkelf32 $(TARGET)-syms $(TARGET) 0x100000 \
# `$(NM) -nr $(TARGET)-syms | head -n 1 | sed -e 's/^\([^ ]*\).*/0x\1/'`
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |