FreeCalypso > hg > freecalypso-sw
annotate gsm-fw/Makefile @ 281:082d12a1651e
fc-fsio: single command invokation works
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Mon, 24 Feb 2014 07:44:33 +0000 |
parents | df335d255ac4 |
children | 0c87c1f9dac5 |
rev | line source |
---|---|
167
df335d255ac4
gsm-fw: services subdir hooked into the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
143
diff
changeset
|
1 SUBDIR= bsp finlink include nucleus riviera serial services sprintf sysglue |
81
147861b15cda
nuc-fw: ramImage.srec built, nucdemo runs
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
2 |
89
d01098eccf21
nuc-fw: configuration mechanism hooked into the top level Makefile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
81
diff
changeset
|
3 default: config.stamp |
d01098eccf21
nuc-fw: configuration mechanism hooked into the top level Makefile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
81
diff
changeset
|
4 ${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
|
5 |
d01098eccf21
nuc-fw: configuration mechanism hooked into the top level Makefile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
81
diff
changeset
|
6 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
|
7 ${MAKE} ${MFLAGS} -f Makefile.build $@ |
81
147861b15cda
nuc-fw: ramImage.srec built, nucdemo runs
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
8 |
89
d01098eccf21
nuc-fw: configuration mechanism hooked into the top level Makefile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
81
diff
changeset
|
9 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
|
10 cfgmagic/processconf.sh |
d01098eccf21
nuc-fw: configuration mechanism hooked into the top level Makefile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
81
diff
changeset
|
11 touch $@ |
81
147861b15cda
nuc-fw: ramImage.srec built, nucdemo runs
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
12 |
89
d01098eccf21
nuc-fw: configuration mechanism hooked into the top level Makefile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
81
diff
changeset
|
13 build.conf: |
d01098eccf21
nuc-fw: configuration mechanism hooked into the top level Makefile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
81
diff
changeset
|
14 @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
|
15 @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
|
16 @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
|
17 @false |
81
147861b15cda
nuc-fw: ramImage.srec built, nucdemo runs
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
18 |
147861b15cda
nuc-fw: ramImage.srec built, nucdemo runs
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
19 clean: FRC |
89
d01098eccf21
nuc-fw: configuration mechanism hooked into the top level Makefile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
81
diff
changeset
|
20 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
|
21 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
|
22 |
147861b15cda
nuc-fw: ramImage.srec built, nucdemo runs
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
23 FRC: |