annotate nuc-fw/Makefile @ 142:15d5977390c2

fw build for pirelli: set the ASIC_CONF register like the original fw does
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Tue, 12 Nov 2013 05:00:00 +0000
parents 85994b210f6a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
138
85994b210f6a nuc-fw cleanup: old Nucleus demo (w/o TI fw framework) moved out of the way
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 123
diff changeset
1 SUBDIR= bsp finlink include nucleus riviera serial 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: