FreeCalypso > hg > freecalypso-sw
annotate gsm-fw/Makefile @ 630:4cd1dcc167e4
gsm-fw/cfgmagic: preparations for building flash images (sane vs. Compal)
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Mon, 01 Sep 2014 09:28:09 +0000 |
parents | e1dd4a240199 |
children | 806828641b21 |
rev | line source |
---|---|
521
e1dd4a240199
gsm-fw/L1/Makefile: starting skeleton, hooked into top level make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
318
diff
changeset
|
1 SUBDIR= L1 bsp finlink gpf include nucleus riviera serial services sprintf \ |
e1dd4a240199
gsm-fw/L1/Makefile: starting skeleton, hooked into top level make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
318
diff
changeset
|
2 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.' |
d01098eccf21
nuc-fw: configuration mechanism hooked into the top level Makefile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
81
diff
changeset
|
16 @echo 'Please create a valid build.conf file by running config.sh' |
d01098eccf21
nuc-fw: configuration mechanism hooked into the top level Makefile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
81
diff
changeset
|
17 @echo 'or copying an existing configuration file into place.' |
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: |