annotate gsm-fw/services/Makefile @ 222:02e80fcc3a5a

gsm-fw/services/Makefile: build ETM only when it is enabled
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Tue, 07 Jan 2014 04:16:16 +0000
parents 3ebe6409e8bc
children 749ca89741fa
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
222
02e80fcc3a5a gsm-fw/services/Makefile: build ETM only when it is enabled
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 212
diff changeset
1 sinclude ../include/config.mk
02e80fcc3a5a gsm-fw/services/Makefile: build ETM only when it is enabled
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 212
diff changeset
2
02e80fcc3a5a gsm-fw/services/Makefile: build ETM only when it is enabled
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 212
diff changeset
3 ALL_SUBDIR= etm ffs
167
df335d255ac4 gsm-fw: services subdir hooked into the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
4
222
02e80fcc3a5a gsm-fw/services/Makefile: build ETM only when it is enabled
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 212
diff changeset
5 BUILD_SUBDIR= ffs
02e80fcc3a5a gsm-fw/services/Makefile: build ETM only when it is enabled
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 212
diff changeset
6 ifeq (${RVM_ETM_SWE},1)
02e80fcc3a5a gsm-fw/services/Makefile: build ETM only when it is enabled
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 212
diff changeset
7 BUILD_SUBDIR+= etm
02e80fcc3a5a gsm-fw/services/Makefile: build ETM only when it is enabled
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 212
diff changeset
8 endif
167
df335d255ac4 gsm-fw: services subdir hooked into the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
9
222
02e80fcc3a5a gsm-fw/services/Makefile: build ETM only when it is enabled
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 212
diff changeset
10 all: ${BUILD_SUBDIR}
02e80fcc3a5a gsm-fw/services/Makefile: build ETM only when it is enabled
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 212
diff changeset
11
02e80fcc3a5a gsm-fw/services/Makefile: build ETM only when it is enabled
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 212
diff changeset
12 ${BUILD_SUBDIR}: FRC
167
df335d255ac4 gsm-fw: services subdir hooked into the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
13 cd $@; ${MAKE} ${MFLAGS}
df335d255ac4 gsm-fw: services subdir hooked into the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
14
df335d255ac4 gsm-fw: services subdir hooked into the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
15 clean: FRC
df335d255ac4 gsm-fw: services subdir hooked into the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
16 rm -f *.[oa] *.out *errs
222
02e80fcc3a5a gsm-fw/services/Makefile: build ETM only when it is enabled
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 212
diff changeset
17 for i in ${ALL_SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done
167
df335d255ac4 gsm-fw: services subdir hooked into the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
18
df335d255ac4 gsm-fw: services subdir hooked into the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
19 FRC: