FreeCalypso > hg > freecalypso-sw
annotate nuc-fw/Makefile @ 114:17b0511b243c
nuc-fw: continuing lowest-level BSP integration
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Thu, 24 Oct 2013 02:47:14 +0000 |
parents | 3b2e941043d8 |
children | dd56546ad9e0 |
rev | line source |
---|---|
113
3b2e941043d8
nuc-fw/bsp: niq32.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
89
diff
changeset
|
1 SUBDIR= bsp finlink include nucdemo nucleus 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: |