FreeCalypso > hg > freecalypso-tools
annotate rvinterf/etmsync/Makefile @ 505:7bf0d909c87e
fc-loadtool flash ID check: change of reset after the check logic
This change only affects those flash configurations that have ID checks
enabled. The logic for resetting the flash after the ID check has been
changed as follows:
1) If the check fails, we return without attempting to reset the flash.
2) If the check is successful, we reset the flash using the configured
method (could be AMD or Intel or Intel W30) instead of always doing an
AMD flash reset as the original code did.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 27 May 2019 19:58:01 +0000 |
parents | 90d7c360a614 |
children | 2c75cf810146 |
rev | line source |
---|---|
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 CC= gcc |
470
1d5bd9a06781
rvinterf tree Makefiles: split CPPFLAGS from CFLAGS
Mychaela Falconia <falcon@freecalypso.org>
parents:
420
diff
changeset
|
2 CFLAGS= -O2 |
1d5bd9a06781
rvinterf tree Makefiles: split CPPFLAGS from CFLAGS
Mychaela Falconia <falcon@freecalypso.org>
parents:
420
diff
changeset
|
3 CPPFLAGS=-I../include |
278
31d056f37647
fc-readcal written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
276
diff
changeset
|
4 PROGS= fc-dspapidump fc-fsio fc-memdump fc-readcal fc-tmsync |
473
90d7c360a614
main tree Makefile hierarchy: INSTALL_PREFIX= scheme implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
470
diff
changeset
|
5 |
90d7c360a614
main tree Makefile hierarchy: INSTALL_PREFIX= scheme implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
470
diff
changeset
|
6 INSTALL_PREFIX= /opt/freecalypso |
90d7c360a614
main tree Makefile hierarchy: INSTALL_PREFIX= scheme implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
470
diff
changeset
|
7 |
90d7c360a614
main tree Makefile hierarchy: INSTALL_PREFIX= scheme implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
470
diff
changeset
|
8 INSTBIN=${INSTALL_PREFIX}/bin |
90d7c360a614
main tree Makefile hierarchy: INSTALL_PREFIX= scheme implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
470
diff
changeset
|
9 INSTHELP=${INSTALL_PREFIX}/helpfiles |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 |
420
322e75a1c8b9
rvinterf/etmsync converted to use libinterf
Mychaela Falconia <falcon@freecalypso.org>
parents:
323
diff
changeset
|
11 LIBINTERF= ../libinterf/libinterf.a |
286
88a4ebed160d
fc-tmsync converted to link with librftab
Mychaela Falconia <falcon@freecalypso.org>
parents:
278
diff
changeset
|
12 LIBRFTAB= ../../librftab/librftab.a |
88a4ebed160d
fc-tmsync converted to link with librftab
Mychaela Falconia <falcon@freecalypso.org>
parents:
278
diff
changeset
|
13 |
420
322e75a1c8b9
rvinterf/etmsync converted to use libinterf
Mychaela Falconia <falcon@freecalypso.org>
parents:
323
diff
changeset
|
14 DSPDUMP_OBJS= dspapidump.o interf.o memops.o simplemain.o ${LIBINTERF} |
322e75a1c8b9
rvinterf/etmsync converted to use libinterf
Mychaela Falconia <falcon@freecalypso.org>
parents:
323
diff
changeset
|
15 |
322e75a1c8b9
rvinterf/etmsync converted to use libinterf
Mychaela Falconia <falcon@freecalypso.org>
parents:
323
diff
changeset
|
16 FSIO_OBJS= cl_des.o dispatch.o fdcmd.o fileio.o fsbasics.o fscmdtab.o \ |
322e75a1c8b9
rvinterf/etmsync converted to use libinterf
Mychaela Falconia <falcon@freecalypso.org>
parents:
323
diff
changeset
|
17 fserr.o fsiomain.o fsmisc.o fsnew.o fspath.o fsread.o \ |
322e75a1c8b9
rvinterf/etmsync converted to use libinterf
Mychaela Falconia <falcon@freecalypso.org>
parents:
323
diff
changeset
|
18 fsupload.o fsuploadrf.o fswrite.o help.o hostmkdir.o interf.o \ |
322e75a1c8b9
rvinterf/etmsync converted to use libinterf
Mychaela Falconia <falcon@freecalypso.org>
parents:
323
diff
changeset
|
19 memcmd.o memops.o pirimei.o pirmagnetite.o rfcap.o stddirs.o \ |
322e75a1c8b9
rvinterf/etmsync converted to use libinterf
Mychaela Falconia <falcon@freecalypso.org>
parents:
323
diff
changeset
|
20 symlink.o ${LIBINTERF} ${LIBRFTAB} |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 |
420
322e75a1c8b9
rvinterf/etmsync converted to use libinterf
Mychaela Falconia <falcon@freecalypso.org>
parents:
323
diff
changeset
|
22 MEMDUMP_OBJS= interf.o memdump.o memops.o ${LIBINTERF} |
322e75a1c8b9
rvinterf/etmsync converted to use libinterf
Mychaela Falconia <falcon@freecalypso.org>
parents:
323
diff
changeset
|
23 |
322e75a1c8b9
rvinterf/etmsync converted to use libinterf
Mychaela Falconia <falcon@freecalypso.org>
parents:
323
diff
changeset
|
24 READCAL_OBJS= hostmkdir.o interf.o l1tmops.o readcal.o ${LIBINTERF} |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
25 |
420
322e75a1c8b9
rvinterf/etmsync converted to use libinterf
Mychaela Falconia <falcon@freecalypso.org>
parents:
323
diff
changeset
|
26 TMSYNC_OBJS= cl_des.o dispatch.o interf.o l1tmcmd.o l1tmops.o memcmd.o \ |
322e75a1c8b9
rvinterf/etmsync converted to use libinterf
Mychaela Falconia <falcon@freecalypso.org>
parents:
323
diff
changeset
|
27 memops.o piradccal.o pirimei.o tmscmdtab.o tmsmain.o \ |
322e75a1c8b9
rvinterf/etmsync converted to use libinterf
Mychaela Falconia <falcon@freecalypso.org>
parents:
323
diff
changeset
|
28 ${LIBINTERF} ${LIBRFTAB} |
269
20ed7a320b12
fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
153
diff
changeset
|
29 |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
30 all: ${PROGS} |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
31 |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
32 fc-dspapidump: ${DSPDUMP_OBJS} |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
33 ${CC} ${CFLAGS} -o $@ ${DSPDUMP_OBJS} |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
34 |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
35 fc-fsio: ${FSIO_OBJS} |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
36 ${CC} ${CFLAGS} -o $@ ${FSIO_OBJS} |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
37 |
153
9925fba699be
fc-olddump replaced with fc-memdump
Mychaela Falconia <falcon@freecalypso.org>
parents:
49
diff
changeset
|
38 fc-memdump: ${MEMDUMP_OBJS} |
9925fba699be
fc-olddump replaced with fc-memdump
Mychaela Falconia <falcon@freecalypso.org>
parents:
49
diff
changeset
|
39 ${CC} ${CFLAGS} -o $@ ${MEMDUMP_OBJS} |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
40 |
278
31d056f37647
fc-readcal written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
276
diff
changeset
|
41 fc-readcal: ${READCAL_OBJS} |
31d056f37647
fc-readcal written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
276
diff
changeset
|
42 ${CC} ${CFLAGS} -o $@ ${READCAL_OBJS} |
31d056f37647
fc-readcal written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
276
diff
changeset
|
43 |
269
20ed7a320b12
fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
153
diff
changeset
|
44 fc-tmsync: ${TMSYNC_OBJS} |
20ed7a320b12
fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
153
diff
changeset
|
45 ${CC} ${CFLAGS} -o $@ ${TMSYNC_OBJS} |
20ed7a320b12
fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
153
diff
changeset
|
46 |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
47 install: ${PROGS} |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
48 mkdir -p ${INSTBIN} |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
49 install -c ${PROGS} ${INSTBIN} |
25
75cd626cf379
rvinterf/etmsync/Makefile: install fsio.help
Mychaela Falconia <falcon@freecalypso.org>
parents:
16
diff
changeset
|
50 mkdir -p ${INSTHELP} |
26
b301b75de0e0
install misc files into /usr/local/share/freecalypso as non-executable
Mychaela Falconia <falcon@freecalypso.org>
parents:
25
diff
changeset
|
51 install -c -m 644 fsio.help ${INSTHELP} |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
52 |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
53 clean: |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
54 rm -f *.o *.out *errs ${PROGS} |