comparison compal/Makefile @ 158:8ed06e07b19e

start of C123 bootloader re
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Thu, 15 May 2014 06:43:14 +0000
parents 85bb35342834
children db3b300da465
comparison
equal deleted inserted replaced
157:9082f3991fe5 158:8ed06e07b19e
1 C123= c123-boot.bin
1 C139= c139-boot.90.04.bin 2 C139= c139-boot.90.04.bin
2 C140= c140-boot.bin 3 C140= c140-boot.bin
3 C156= c156-boot.90.05.bin 4 C156= c156-boot.90.05.bin
4 GEN= c139-boot.dis16 c139-boot.dis32 c139-boot.hex \ 5 GEN= c123-boot.dis16 c123-boot.dis32 c123-boot.hex \
6 c139-boot.dis16 c139-boot.dis32 c139-boot.hex \
5 c140-boot.dis16 c140-boot.dis32 c140-boot.hex \ 7 c140-boot.dis16 c140-boot.dis32 c140-boot.hex \
6 c156-boot.dis16 c156-boot.dis32 c156-boot.hex \ 8 c156-boot.dis16 c156-boot.dis32 c156-boot.hex \
7 osmovoodoo osmovoodoo.bin 9 osmovoodoo osmovoodoo.bin
8 ARMDIS= ../arm7dis/armdis 10 ARMDIS= ../arm7dis/armdis
9 THUMBDIS=../arm7dis/thumbdis 11 THUMBDIS=../arm7dis/thumbdis
10 12
11 all: ${GEN} 13 all: ${GEN}
14
15 c123-boot.dis16: ${C123} ${THUMBDIS}
16 ${THUMBDIS} ${C123} > $@
17
18 c123-boot.dis32: ${C123} ${ARMDIS}
19 ${ARMDIS} ${C123} > $@
20
21 c123-boot.hex: ${C123}
22 hd ${C123} > $@
12 23
13 c139-boot.dis16: ${C139} ${THUMBDIS} 24 c139-boot.dis16: ${C139} ${THUMBDIS}
14 ${THUMBDIS} ${C139} > $@ 25 ${THUMBDIS} ${C139} > $@
15 26
16 c139-boot.dis32: ${C139} ${ARMDIS} 27 c139-boot.dis32: ${C139} ${ARMDIS}