- add automatic conversion form a elf to a flat binary format
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@270 315a16e6-25f9-4109-90ae-ca3045a26c18
This commit is contained in:
parent
0419142d83
commit
1cfc42c5a6
1 changed files with 3 additions and 2 deletions
|
@ -27,14 +27,15 @@ reset_vector.bin: reset_vector.o
|
|||
ld --oformat binary -Ttext 0 -melf_i386 -o $@ $<
|
||||
|
||||
SCC: scc_setup.bin reset_vector.bin
|
||||
cp ../metalsvm.bin .
|
||||
cp ../metalsvm.bin ./metalsvm.elf
|
||||
objcopy -O binary metalsvm.elf metalsvm.bin
|
||||
chmod a-x *.bin
|
||||
. ./prepare.sh
|
||||
/home/lankes/tools/bin2obj -m load.map -o metalsvm.obj
|
||||
sccMerge -noimage -m 8 -n 12 -force ./metalsvm.mt
|
||||
|
||||
clean:
|
||||
$(RM) -rf *.o *~ make_initrd *.bin *.obj obj
|
||||
$(RM) -rf *.o *~ make_initrd *.bin *.obj *.elf obj
|
||||
|
||||
depend:
|
||||
$(CC) -MM $(CFLAGS) *.c > Makefile.dep
|
||||
|
|
Loading…
Add table
Reference in a new issue