FreeCalypso > hg > freecalypso-sw
annotate target-utils/Makefile @ 992:a7b0b426f9ca
target-utils: boot ROM UART autodetection revamped
The new implementation should work with both the familiar Calypso C035
boot ROM version found in our regular targets as well as the older
Calypso F741979B version found on the vintage D-Sample board.
author | Mychaela Falconia <falcon@ivan.Harhan.ORG> |
---|---|
date | Wed, 30 Dec 2015 21:28:41 +0000 |
parents | 5cff3579814c |
children |
rev | line source |
---|---|
315
1b4beffc8055
target-utils: compalstage included in the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
224
diff
changeset
|
1 FOR_LOADTOOLS= compalstage loadagent |
957
9dd7f304fd94
target-utils/Makefile: c139-lldbg added
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
956
diff
changeset
|
2 ALLPROGS= ${FOR_LOADTOOLS} c139explore c139-lldbg helloapp pirexplore \ |
9dd7f304fd94
target-utils/Makefile: c139-lldbg added
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
956
diff
changeset
|
3 tf-breakin |
991
5cff3579814c
target-utils: libbase factored out of libcommon
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
957
diff
changeset
|
4 LIBS= libbase libcommon libload libprintf libtiffs |
315
1b4beffc8055
target-utils: compalstage included in the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
224
diff
changeset
|
5 SUBDIR= ${ALLPROGS} ${LIBS} |
25
796da8d60b23
target-utils: top-level Makefile created like in the Book-E-MON and
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
6 |
315
1b4beffc8055
target-utils: compalstage included in the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
224
diff
changeset
|
7 default: ${FOR_LOADTOOLS} |
1b4beffc8055
target-utils: compalstage included in the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
224
diff
changeset
|
8 all: ${ALLPROGS} |
25
796da8d60b23
target-utils: top-level Makefile created like in the Book-E-MON and
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
9 |
991
5cff3579814c
target-utils: libbase factored out of libcommon
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
957
diff
changeset
|
10 c139explore: libbase libcommon libprintf |
5cff3579814c
target-utils: libbase factored out of libcommon
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
957
diff
changeset
|
11 c139-lldbg: libbase libcommon libprintf |
5cff3579814c
target-utils: libbase factored out of libcommon
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
957
diff
changeset
|
12 helloapp: libbase libcommon libprintf |
5cff3579814c
target-utils: libbase factored out of libcommon
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
957
diff
changeset
|
13 loadagent: libbase libcommon libload libprintf |
5cff3579814c
target-utils: libbase factored out of libcommon
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
957
diff
changeset
|
14 pirexplore: libbase libcommon libprintf libtiffs |
25
796da8d60b23
target-utils: top-level Makefile created like in the Book-E-MON and
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
15 |
796da8d60b23
target-utils: top-level Makefile created like in the Book-E-MON and
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
16 ${SUBDIR}: FRC |
108
3b9cc76f2073
target-utils/Makefile: make clean: support for subset packaging
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
100
diff
changeset
|
17 cd $@; ${MAKE} ${MFLAGS} |
25
796da8d60b23
target-utils: top-level Makefile created like in the Book-E-MON and
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
18 |
378
3164604a6c70
install compalstage-*.bin and loadagent.srec from target-utils
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
358
diff
changeset
|
19 install: FRC |
3164604a6c70
install compalstage-*.bin and loadagent.srec from target-utils
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
358
diff
changeset
|
20 for i in ${FOR_LOADTOOLS}; do (cd $$i; ${MAKE} ${MFLAGS} install); done |
3164604a6c70
install compalstage-*.bin and loadagent.srec from target-utils
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
358
diff
changeset
|
21 |
25
796da8d60b23
target-utils: top-level Makefile created like in the Book-E-MON and
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
22 clean: FRC |
796da8d60b23
target-utils: top-level Makefile created like in the Book-E-MON and
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
23 rm -f a.out core errs |
108
3b9cc76f2073
target-utils/Makefile: make clean: support for subset packaging
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
100
diff
changeset
|
24 for i in ${SUBDIR}; do \ |
3b9cc76f2073
target-utils/Makefile: make clean: support for subset packaging
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
100
diff
changeset
|
25 if [ -d $$i ]; then \ |
3b9cc76f2073
target-utils/Makefile: make clean: support for subset packaging
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
100
diff
changeset
|
26 (cd $$i; ${MAKE} ${MFLAGS} clean) \ |
3b9cc76f2073
target-utils/Makefile: make clean: support for subset packaging
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
100
diff
changeset
|
27 fi \ |
3b9cc76f2073
target-utils/Makefile: make clean: support for subset packaging
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
100
diff
changeset
|
28 done |
25
796da8d60b23
target-utils: top-level Makefile created like in the Book-E-MON and
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
29 |
796da8d60b23
target-utils: top-level Makefile created like in the Book-E-MON and
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
30 FRC: |