FreeCalypso > hg > freecalypso-sw
annotate gsm-fw/Makefile @ 864:4fa939eada22
documentation update: how to compile and flash experimental gsm-fw for gtamodem
| author | Space Falcon <falcon@ivan.Harhan.ORG> |
|---|---|
| date | Sun, 10 May 2015 19:35:29 +0000 |
| parents | cbc49d533b7d |
| children | f5affe83ba2d |
| rev | line source |
|---|---|
|
835
43e1b343b7fd
gsm-fw/Makefile: g23m-glue hooked into make clean
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
829
diff
changeset
|
1 SUBDIR= L1 bsp ccd comlib finlink g23m-aci g23m-glue g23m-gsm gpf include \ |
|
860
cbc49d533b7d
gsm-fw: new implementation of bzero() and some specialized bcopy variants
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
835
diff
changeset
|
2 libiram nucleus riviera serial services sprintf sysglue |
|
81
147861b15cda
nuc-fw: ramImage.srec built, nucdemo runs
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
3 |
|
89
d01098eccf21
nuc-fw: configuration mechanism hooked into the top level Makefile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
81
diff
changeset
|
4 default: config.stamp |
|
d01098eccf21
nuc-fw: configuration mechanism hooked into the top level Makefile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
81
diff
changeset
|
5 ${MAKE} ${MFLAGS} -f Makefile.build $@ |
|
d01098eccf21
nuc-fw: configuration mechanism hooked into the top level Makefile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
81
diff
changeset
|
6 |
|
d01098eccf21
nuc-fw: configuration mechanism hooked into the top level Makefile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
81
diff
changeset
|
7 ramImage flashImage: config.stamp |
|
d01098eccf21
nuc-fw: configuration mechanism hooked into the top level Makefile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
81
diff
changeset
|
8 ${MAKE} ${MFLAGS} -f Makefile.build $@ |
|
81
147861b15cda
nuc-fw: ramImage.srec built, nucdemo runs
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
9 |
|
89
d01098eccf21
nuc-fw: configuration mechanism hooked into the top level Makefile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
81
diff
changeset
|
10 config.stamp: build.conf |
|
d01098eccf21
nuc-fw: configuration mechanism hooked into the top level Makefile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
81
diff
changeset
|
11 cfgmagic/processconf.sh |
|
d01098eccf21
nuc-fw: configuration mechanism hooked into the top level Makefile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
81
diff
changeset
|
12 touch $@ |
|
81
147861b15cda
nuc-fw: ramImage.srec built, nucdemo runs
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
13 |
|
89
d01098eccf21
nuc-fw: configuration mechanism hooked into the top level Makefile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
81
diff
changeset
|
14 build.conf: |
|
d01098eccf21
nuc-fw: configuration mechanism hooked into the top level Makefile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
81
diff
changeset
|
15 @echo 'Configuration is required before the build.' |
|
829
f74c5d3d3b06
gsm-fw: configuration instructions updated to match reality
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
776
diff
changeset
|
16 @echo 'Please copy one of the configuration files under configs/' |
|
f74c5d3d3b06
gsm-fw: configuration instructions updated to match reality
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
776
diff
changeset
|
17 @echo 'to build.conf, optionally edit it to taste, and then run make.' |
|
89
d01098eccf21
nuc-fw: configuration mechanism hooked into the top level Makefile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
81
diff
changeset
|
18 @false |
|
81
147861b15cda
nuc-fw: ramImage.srec built, nucdemo runs
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
19 |
|
147861b15cda
nuc-fw: ramImage.srec built, nucdemo runs
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
20 clean: FRC |
|
89
d01098eccf21
nuc-fw: configuration mechanism hooked into the top level Makefile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
81
diff
changeset
|
21 rm -f a.out core errs *.stamp |
|
d01098eccf21
nuc-fw: configuration mechanism hooked into the top level Makefile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
81
diff
changeset
|
22 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done |
|
81
147861b15cda
nuc-fw: ramImage.srec built, nucdemo runs
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
23 |
|
147861b15cda
nuc-fw: ramImage.srec built, nucdemo runs
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
24 FRC: |
