mk.mpcsa revision 1.2
11.2Smatt# Makefile additions for MPCSA platform 21.2Smatt 31.2SmattSYSTEM_FIRST_OBJ= mpcsa_start.o 41.2SmattSYSTEM_FIRST_SFILE= ${THISARM}/mpcsa/mpcsa_start.S 51.2Smatt 61.2Smatt# Used to generate S-record for loading into flash 71.2SmattKERNEL_LOAD_PHYS=0x20200000 81.2Smatt 91.2SmattSYSTEM_LD_TAIL_EXTRA+=; \ 101.2Smatt echo ${OBJCOPY} -S -O binary $@ $@.bin; \ 111.2Smatt ${OBJCOPY} -S -O binary $@ $@.bin; \ 121.2Smatt echo gzip \< $@.bin \> $@.bin.gz; \ 131.2Smatt gzip < $@.bin > $@.bin.gz; \ 141.2Smatt echo ${OBJCOPY} --input-target=binary --output-target=srec --change-addresses=$(KERNEL_LOAD_PHYS) -v $@.bin $@.bin.srec; \ 151.2Smatt ${OBJCOPY} --input-target=binary --output-target=srec --change-addresses=$(KERNEL_LOAD_PHYS) -v $@.bin $@.bin.srec; \ 161.2Smatt# echo "(perl /emb/bin/gen_tagff.perl --arch=arm --ver=4.0_BETA2 --infoprog=/emb/bin/modinfo "--hwid=MPCSA v1.x" --crc32 $@.bin.srec > $@.tff)"; \ 171.2Smatt# (perl /emb/bin/gen_tagff.perl --arch=arm --ver=4.0_BETA2 --infoprog=/emb/bin/modinfo "--hwid=MPCSA v1.x" --crc32 $@.bin.srec > $@.tff) 181.2Smatt 191.2Smatt 201.2SmattEXTRA_KERNELS+= ${KERNELS:@.KERNEL.@${.KERNEL.}.tff@} 211.2SmattEXTRA_KERNELS+= ${KERNELS:@.KERNEL.@${.KERNEL.}.bin@} 221.2SmattEXTRA_KERNELS+= ${KERNELS:@.KERNEL.@${.KERNEL.}.bin.gz@} 23