821
|
1 LD= arm-elf-ld
|
|
2
|
819
|
3 SUBDIR= aci aci_dti_mng aci_ext ati_ext bat dti gdd_dio ksd l2p uart
|
776
5a0c58760ae2
gsm-fw/g23m-aci: stub Makefile hierarchy created, hooked into make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
4
|
821
|
5 XIP_OBJS= aci/xipcode.o aci_dti_mng/dti_conn_mng.o \
|
|
6 aci_ext/aci_ext_pers.o ati_ext/ati_ext_mech.o ksd/xipcode.o \
|
|
7 uart/xipcode.o
|
|
8
|
|
9 all: xipcode.o dti
|
776
5a0c58760ae2
gsm-fw/g23m-aci: stub Makefile hierarchy created, hooked into make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
10
|
5a0c58760ae2
gsm-fw/g23m-aci: stub Makefile hierarchy created, hooked into make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
11 ${SUBDIR}: FRC
|
5a0c58760ae2
gsm-fw/g23m-aci: stub Makefile hierarchy created, hooked into make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
12 cd $@; ${MAKE} ${MFLAGS}
|
5a0c58760ae2
gsm-fw/g23m-aci: stub Makefile hierarchy created, hooked into make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
13
|
821
|
14 aci/xipcode.o: aci
|
|
15 @true
|
|
16
|
|
17 aci_dti_mng/dti_conn_mng.o: aci_dti_mng
|
|
18 @true
|
|
19
|
|
20 aci_ext/aci_ext_pers.o: aci_ext
|
|
21 @true
|
|
22
|
|
23 ati_ext/ati_ext_mech.o: ati_ext
|
|
24 @true
|
|
25
|
|
26 ksd/xipcode.o: ksd
|
|
27 @true
|
|
28
|
|
29 uart/xipcode.o: uart
|
|
30 @true
|
|
31
|
|
32 xipcode.o: ${XIP_OBJS}
|
|
33 ${LD} -r -o $@ ${XIP_OBJS}
|
|
34
|
776
5a0c58760ae2
gsm-fw/g23m-aci: stub Makefile hierarchy created, hooked into make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
35 clean: FRC
|
5a0c58760ae2
gsm-fw/g23m-aci: stub Makefile hierarchy created, hooked into make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
36 rm -f *.[oa] *.out *errs
|
5a0c58760ae2
gsm-fw/g23m-aci: stub Makefile hierarchy created, hooked into make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
37 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done
|
5a0c58760ae2
gsm-fw/g23m-aci: stub Makefile hierarchy created, hooked into make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
38
|
5a0c58760ae2
gsm-fw/g23m-aci: stub Makefile hierarchy created, hooked into make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
39 FRC:
|