FreeCalypso > hg > freecalypso-sw
annotate loadtools/Makefile @ 1029:333015c662bc
fc-shell: tch play implemented
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 31 May 2016 01:53:04 +0000 |
parents | 86ff6d0b0a97 |
children |
rev | line source |
---|---|
8
acaac9162574
loadtools modules coming along
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1 CC= gcc |
acaac9162574
loadtools modules coming along
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
2 CFLAGS= -O2 |
945
86ff6d0b0a97
loadtools: fc-compalram trivial utility added
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
412
diff
changeset
|
3 PROGS= fc-iram fc-loadtool fc-xram fc-compalram |
30
af6d763badfb
loadtools: install target added
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
29
diff
changeset
|
4 INSTBIN=/usr/local/bin |
379
7b3fd0e2a352
loadtools: compalstage support implemented in fc-iram
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
105
diff
changeset
|
5 |
7b3fd0e2a352
loadtools: compalstage support implemented in fc-iram
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
105
diff
changeset
|
6 EXTRA_OBJ= compalload.o |
9
fea204bc7674
fc-sertool compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
8
diff
changeset
|
7 |
945
86ff6d0b0a97
loadtools: fc-compalram trivial utility added
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
412
diff
changeset
|
8 COMPALRAM_OBJS= compalload.o compalram.o defpath.o sercomm.o ttypassthru.o |
86ff6d0b0a97
loadtools: fc-compalram trivial utility added
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
412
diff
changeset
|
9 |
55
278052b6afda
loadtools: started laying the foundation for flash support
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
53
diff
changeset
|
10 IRAM_OBJS= defpath.o hexdecode.o hwparam.o hwparamstubs.o romload.o \ |
84
ccc5161848c7
loadtools: support building for GTA0x AP
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
70
diff
changeset
|
11 sercomm.o sertool.o srecreader.o ttypassthru.o ${EXTRA_OBJ} |
8
acaac9162574
loadtools modules coming along
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
12 |
412
bf49e348576b
fc-loadtool: flcmplboot.c (boot-reflash-hack) code started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
405
diff
changeset
|
13 LOADTOOL_OBJS= crc32tab.o defpath.o flashops.o flcmplboot.o flmain.o flmisc.o \ |
bf49e348576b
fc-loadtool: flcmplboot.c (boot-reflash-hack) code started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
405
diff
changeset
|
14 flprogbin.o flprogsrec.o flutil.o hexdecode.o hwparam.o \ |
bf49e348576b
fc-loadtool: flcmplboot.c (boot-reflash-hack) code started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
405
diff
changeset
|
15 labaud.o ltdispatch.o ltdump.o ltexit.o lthelp.o ltmain.o \ |
bf49e348576b
fc-loadtool: flcmplboot.c (boot-reflash-hack) code started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
405
diff
changeset
|
16 ltmisc.o ltpassthru.o ltscript.o romload.o sercomm.o \ |
bf49e348576b
fc-loadtool: flcmplboot.c (boot-reflash-hack) code started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
405
diff
changeset
|
17 srecreader.o tpinterf.o tpinterf2.o tpinterf3.o ${EXTRA_OBJ} |
21
67a39d8914a8
starting work on loadtool
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
17
diff
changeset
|
18 |
45
16315ed6401a
init-script logic implemented in fc-xram
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
42
diff
changeset
|
19 XRAM_OBJS= chainload.o clmain.o defpath.o hexdecode.o hwparam.o \ |
55
278052b6afda
loadtools: started laying the foundation for flash support
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
53
diff
changeset
|
20 hwparamstubs.o initscript.o labaud.o romload.o sercomm.o \ |
84
ccc5161848c7
loadtools: support building for GTA0x AP
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
70
diff
changeset
|
21 srecreader.o tpinterf.o ttypassthru.o ${EXTRA_OBJ} |
42
5da0cbee2b89
fc-xram tool written, compiles, now needs to be debugged
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
35
diff
changeset
|
22 |
23
aca1948e9713
loadtool: initial version compiles and links
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
22
diff
changeset
|
23 all: ${PROGS} |
9
fea204bc7674
fc-sertool compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
8
diff
changeset
|
24 |
945
86ff6d0b0a97
loadtools: fc-compalram trivial utility added
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
412
diff
changeset
|
25 fc-compalram: ${COMPALRAM_OBJS} |
86ff6d0b0a97
loadtools: fc-compalram trivial utility added
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
412
diff
changeset
|
26 ${CC} ${CFLAGS} -o $@ ${COMPALRAM_OBJS} |
86ff6d0b0a97
loadtools: fc-compalram trivial utility added
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
412
diff
changeset
|
27 |
48
38664e0b7c32
fc-sertool renamed to fc-iram
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
46
diff
changeset
|
28 fc-iram: ${IRAM_OBJS} |
84
ccc5161848c7
loadtools: support building for GTA0x AP
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
70
diff
changeset
|
29 ${CC} ${CFLAGS} -o $@ ${IRAM_OBJS} |
8
acaac9162574
loadtools modules coming along
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
30 |
23
aca1948e9713
loadtool: initial version compiles and links
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
22
diff
changeset
|
31 fc-loadtool: ${LOADTOOL_OBJS} |
84
ccc5161848c7
loadtools: support building for GTA0x AP
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
70
diff
changeset
|
32 ${CC} ${CFLAGS} -o $@ ${LOADTOOL_OBJS} |
23
aca1948e9713
loadtool: initial version compiles and links
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
22
diff
changeset
|
33 |
42
5da0cbee2b89
fc-xram tool written, compiles, now needs to be debugged
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
35
diff
changeset
|
34 fc-xram: ${XRAM_OBJS} |
84
ccc5161848c7
loadtools: support building for GTA0x AP
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
70
diff
changeset
|
35 ${CC} ${CFLAGS} -o $@ ${XRAM_OBJS} |
42
5da0cbee2b89
fc-xram tool written, compiles, now needs to be debugged
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
35
diff
changeset
|
36 |
384
7ef814efbebe
loadtools: make install logic refactored in light of compalstage addition
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
379
diff
changeset
|
37 install: |
46
eb97cfe5e31a
finally, a real make install for loadtools and loadagent
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
45
diff
changeset
|
38 mkdir -p ${INSTBIN} |
eb97cfe5e31a
finally, a real make install for loadtools and loadagent
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
45
diff
changeset
|
39 install -c ${PROGS} ${INSTBIN} |
384
7ef814efbebe
loadtools: make install logic refactored in light of compalstage addition
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
379
diff
changeset
|
40 ./install-helpers.sh |
30
af6d763badfb
loadtools: install target added
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
29
diff
changeset
|
41 |
8
acaac9162574
loadtools modules coming along
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
42 clean: |
9
fea204bc7674
fc-sertool compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
8
diff
changeset
|
43 rm -f *.o *.out *errs ${PROGS} |