Make sure VSA is linked as ELF32 for i386 (instead of whatever the compiler considers native).
Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de> Acked-by: Patrick Georgi <patrick.georgi@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5617 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
d78691d49d
commit
7923c49501
|
@ -58,7 +58,7 @@ endif
|
|||
ifeq ($(CONFIG_GEODE_VSA_FILE),y)
|
||||
@printf " VSA $(CONFIG_VSA_FILENAME)\n"
|
||||
$(OBJCOPY) --set-start 0x20 --adjust-vma 0x60000 -I binary -O elf32-i386 -B i386 $(CONFIG_VSA_FILENAME) $(obj)/vsa.o
|
||||
$(LD) -e 0x60020 --section-start .data=0x60000 $(obj)/vsa.o -o $(obj)/vsa.elf
|
||||
$(LD) -m elf_i386 -e 0x60020 --section-start .data=0x60000 $(obj)/vsa.o -o $(obj)/vsa.elf
|
||||
$(CBFSTOOL) $@.tmp add-stage $(obj)/vsa.elf vsa
|
||||
endif
|
||||
mv $@.tmp $@
|
||||
|
|
Loading…
Reference in New Issue