comparison nuc-fw/riviera/Makefile @ 129:7d7950d7f924

Riviera should be ready for the first TI fw build attempt
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Fri, 01 Nov 2013 06:13:58 +0000
parents 595631eee4bc
children
comparison
equal deleted inserted replaced
128:789a9a95533f 129:7d7950d7f924
1 SUBDIR= rvf rvm rvt 1 AR= arm-elf-ar
2 RANLIB= arm-elf-ranlib
2 3
3 all: ${SUBDIR} 4 SUBDIR= init rvf rvm rvt support
5
6 INIT_OBJS= init/create_RVtasks.o
7 RVF_OBJS= rvf/rvf_buffer.o rvf/rvf_mem_pool.o rvf/rvf_msg.o \
8 rvf/rvf_task.o rvf/rvf_time.o rvf/rvf_trace_adapt.o
9 RVM_OBJS= rvm/rvm_api.o rvm/rvm_group_swe.o rvm/rvm_mem.o rvm/rvm_swe.o \
10 rvm/rvm_swe_db.o rvm/rvm_swe_hdlr.o rvm/rvm_task.o
11 RVT_OBJS= rvt/rvt_api.o rvt/rvt_env.o rvt/rvt_task.o
12 SUP_OBJS= support/exception.o
13
14 OBJS= ${INIT_OBJS} ${RVF_OBJS} ${RVM_OBJS} ${RVT_OBJS} ${SUP_OBJS}
15
16 all: librv.a
4 17
5 ${SUBDIR}: FRC 18 ${SUBDIR}: FRC
6 cd $@; ${MAKE} ${MFLAGS} 19 cd $@; ${MAKE} ${MFLAGS}
7 20
21 ${INIT_OBJS}: init
22 @true
23
24 ${RVF_OBJS}: rvf
25 @true
26
27 ${RVM_OBJS}: rvm
28 @true
29
30 ${RVT_OBJS}: rvt
31 @true
32
33 ${SUP_OBJS}: support
34 @true
35
36 librv.a: ${OBJS}
37 ${AR} cru $@ ${OBJS}
38 ${RANLIB} $@
39
8 clean: FRC 40 clean: FRC
9 rm -f a.out core errs 41 rm -f *.[oa] *.out *errs
10 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done 42 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done
11 43
12 FRC: 44 FRC: