FreeCalypso > hg > freecalypso-tools
annotate target-utils/Makefile @ 407:19e5a3e2f9c0
fcup-settime: moved time() retrieval a little closer to the output
A fundamental problem with all simple time transfer tools is that there is
always some delay between the time retrieval on the source system and that
transmitted time being set on the destination, and the resulting time
on the destination system is off by that delay amount. This delay cannot
be fully eliminated when working in a simple environment like ours,
but we should make our best effort to minimize it. In the present case,
moving the atinterf_init() call before the time() retrieval should make
a teensy-tiny improvement.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 11 Aug 2018 21:52:17 +0000 |
parents | f2dde45ba378 |
children | eb26467a1d2a |
rev | line source |
---|---|
203
f2dde45ba378
target-utils/Makefile: flash-boot-wa added
Mychaela Falconia <falcon@freecalypso.org>
parents:
199
diff
changeset
|
1 INSTPROGS= buzplayer compalstage c139explore flash-boot-wa loadagent \ |
f2dde45ba378
target-utils/Makefile: flash-boot-wa added
Mychaela Falconia <falcon@freecalypso.org>
parents:
199
diff
changeset
|
2 pirexplore |
199
5515360e2f61
target-utils/Makefile: flash-boot-test added
Mychaela Falconia <falcon@freecalypso.org>
parents:
94
diff
changeset
|
3 ALLPROGS= ${INSTPROGS} c139-lldbg flash-boot-test helloapp tf-breakin |
94
cbc6bc05d494
target-utils/Makefile: libc added to the dependencies
Mychaela Falconia <falcon@freecalypso.org>
parents:
76
diff
changeset
|
4 LIBS= libbase libc libcommon libload libprintf libtiffs |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 SUBDIR= ${ALLPROGS} ${LIBS} |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 |
43
647a7bdba4be
target-utils/Makefile: install c139explore and pirexplore
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
7 default: ${INSTPROGS} |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 all: ${ALLPROGS} |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 |
199
5515360e2f61
target-utils/Makefile: flash-boot-test added
Mychaela Falconia <falcon@freecalypso.org>
parents:
94
diff
changeset
|
10 buzplayer: libbase libc libcommon libprintf |
5515360e2f61
target-utils/Makefile: flash-boot-test added
Mychaela Falconia <falcon@freecalypso.org>
parents:
94
diff
changeset
|
11 c139explore: libbase libc libcommon libprintf |
5515360e2f61
target-utils/Makefile: flash-boot-test added
Mychaela Falconia <falcon@freecalypso.org>
parents:
94
diff
changeset
|
12 c139-lldbg: libbase libc libcommon libprintf |
5515360e2f61
target-utils/Makefile: flash-boot-test added
Mychaela Falconia <falcon@freecalypso.org>
parents:
94
diff
changeset
|
13 flash-boot-test: libbase libc libcommon libprintf |
5515360e2f61
target-utils/Makefile: flash-boot-test added
Mychaela Falconia <falcon@freecalypso.org>
parents:
94
diff
changeset
|
14 helloapp: libbase libc libcommon libprintf |
5515360e2f61
target-utils/Makefile: flash-boot-test added
Mychaela Falconia <falcon@freecalypso.org>
parents:
94
diff
changeset
|
15 loadagent: libbase libc libcommon libload libprintf |
5515360e2f61
target-utils/Makefile: flash-boot-test added
Mychaela Falconia <falcon@freecalypso.org>
parents:
94
diff
changeset
|
16 pirexplore: libbase libc libcommon libprintf libtiffs |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 ${SUBDIR}: FRC |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 cd $@; ${MAKE} ${MFLAGS} |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 install: FRC |
43
647a7bdba4be
target-utils/Makefile: install c139explore and pirexplore
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
22 for i in ${INSTPROGS}; do (cd $$i; ${MAKE} ${MFLAGS} install); done |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
23 |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
24 clean: FRC |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
25 rm -f a.out core errs |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
26 for i in ${SUBDIR}; do \ |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
27 if [ -d $$i ]; then \ |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
28 (cd $$i; ${MAKE} ${MFLAGS} clean) \ |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
29 fi \ |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
30 done |
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 FRC: |