annotate loadtools/Makefile @ 390:bb4814eb51e4

target-utils abb[rw] commands: call abb_init() to avoid dead hang
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Wed, 11 Jun 2014 07:11:16 +0000
parents 7ef814efbebe
children a212b4968b29
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
48
38664e0b7c32 fc-sertool renamed to fc-iram
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 46
diff changeset
3 PROGS= fc-iram fc-loadtool fc-xram
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
55
278052b6afda loadtools: started laying the foundation for flash support
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 53
diff changeset
8 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
9 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
10
99
b78db17bfc85 fc-loadtool: flash program-{m0,srec} implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 96
diff changeset
11 LOADTOOL_OBJS= crc32tab.o defpath.o flerase.o flprogbin.o flprogsrec.o \
b78db17bfc85 fc-loadtool: flash program-{m0,srec} implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 96
diff changeset
12 flutil.o hexdecode.o hwparam.o labaud.o ltdispatch.o ltdump.o \
105
02cb0206aa47 fc-loadtool help implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 99
diff changeset
13 ltexit.o ltflash.o lthelp.o ltmain.o ltmisc.o ltpassthru.o \
02cb0206aa47 fc-loadtool help implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 99
diff changeset
14 ltscript.o romload.o sercomm.o srecreader.o tpinterf.o \
02cb0206aa47 fc-loadtool help implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 99
diff changeset
15 tpinterf2.o tpinterf3.o ${EXTRA_OBJ}
21
67a39d8914a8 starting work on loadtool
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 17
diff changeset
16
45
16315ed6401a init-script logic implemented in fc-xram
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 42
diff changeset
17 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
18 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
19 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
20
23
aca1948e9713 loadtool: initial version compiles and links
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 22
diff changeset
21 all: ${PROGS}
9
fea204bc7674 fc-sertool compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 8
diff changeset
22
48
38664e0b7c32 fc-sertool renamed to fc-iram
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 46
diff changeset
23 fc-iram: ${IRAM_OBJS}
84
ccc5161848c7 loadtools: support building for GTA0x AP
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 70
diff changeset
24 ${CC} ${CFLAGS} -o $@ ${IRAM_OBJS}
8
acaac9162574 loadtools modules coming along
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
25
23
aca1948e9713 loadtool: initial version compiles and links
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 22
diff changeset
26 fc-loadtool: ${LOADTOOL_OBJS}
84
ccc5161848c7 loadtools: support building for GTA0x AP
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 70
diff changeset
27 ${CC} ${CFLAGS} -o $@ ${LOADTOOL_OBJS}
23
aca1948e9713 loadtool: initial version compiles and links
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 22
diff changeset
28
42
5da0cbee2b89 fc-xram tool written, compiles, now needs to be debugged
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 35
diff changeset
29 fc-xram: ${XRAM_OBJS}
84
ccc5161848c7 loadtools: support building for GTA0x AP
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 70
diff changeset
30 ${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
31
384
7ef814efbebe loadtools: make install logic refactored in light of compalstage addition
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 379
diff changeset
32 install:
46
eb97cfe5e31a finally, a real make install for loadtools and loadagent
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 45
diff changeset
33 mkdir -p ${INSTBIN}
eb97cfe5e31a finally, a real make install for loadtools and loadagent
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 45
diff changeset
34 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
35 ./install-helpers.sh
30
af6d763badfb loadtools: install target added
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 29
diff changeset
36
8
acaac9162574 loadtools modules coming along
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
37 clean:
9
fea204bc7674 fc-sertool compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 8
diff changeset
38 rm -f *.o *.out *errs ${PROGS}