changeset 821:5c4381b80bd2

g23m-aci/Makefile: everything hooked in
author Space Falcon <falcon@ivan.Harhan.ORG>
date Sun, 05 Apr 2015 18:00:32 +0000
parents c421163143a0
children 2d3f29ef866d
files gsm-fw/g23m-aci/Makefile
diffstat 1 files changed, 28 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gsm-fw/g23m-aci/Makefile	Sun Apr 05 17:50:59 2015 +0000
+++ b/gsm-fw/g23m-aci/Makefile	Sun Apr 05 18:00:32 2015 +0000
@@ -1,10 +1,37 @@
+LD=	arm-elf-ld
+
 SUBDIR=	aci aci_dti_mng aci_ext ati_ext bat dti gdd_dio ksd l2p uart
 
-all:	${SUBDIR}
+XIP_OBJS=	aci/xipcode.o aci_dti_mng/dti_conn_mng.o \
+		aci_ext/aci_ext_pers.o ati_ext/ati_ext_mech.o ksd/xipcode.o \
+		uart/xipcode.o
+
+all:	xipcode.o dti
 
 ${SUBDIR}: FRC
 	cd $@; ${MAKE} ${MFLAGS}
 
+aci/xipcode.o:	aci
+	@true
+
+aci_dti_mng/dti_conn_mng.o:	aci_dti_mng
+	@true
+
+aci_ext/aci_ext_pers.o:	aci_ext
+	@true
+
+ati_ext/ati_ext_mech.o:	ati_ext
+	@true
+
+ksd/xipcode.o:	ksd
+	@true
+
+uart/xipcode.o:	uart
+	@true
+
+xipcode.o:	${XIP_OBJS}
+	${LD} -r -o $@ ${XIP_OBJS}
+
 clean: FRC
 	rm -f *.[oa] *.out *errs
 	for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done