]> rtime.felk.cvut.cz Git - arc.git/blob - examples/pwm_node/makefile
Added some common files
[arc.git] / examples / pwm_node / makefile
1
2 # Our object files
3 obj-y += pwm_sine_main.o
4 obj-y += Tasks.o
5 obj-y += Hooks.o
6 obj-y += Rte.o
7
8 # OS object files.
9 obj-y += Os_Cfg.o
10 # Board object files
11 include $(ROOTDIR)/boards/board_common.mk
12
13 ABSDIR := $(subst $(TOPDIR)/,,$(CURDIR))
14
15 # The more precise configuration, the higher preceedance.
16 VPATH := ../config/$(BOARDDIR) ../config $(VPATH)
17 inc-y := ../config/$(BOARDDIR) ../config $(inc-y)
18
19
20
21 inc-y += $(ROOTDIR)/system/kernel/$(objdir)
22 inc-y += $(ROOTDIR)/system/kernel/include
23
24 #TODO: Remove?, Build other way?
25 VPATH += $(ROOTDIR)/$(SUBDIR)/Rte
26 inc-y += $(ROOTDIR)/$(SUBDIR)/Rte
27 VPATH += $(ROOTDIR)/components/pwm_sine
28 inc-y += $(ROOTDIR)/components/pwm_sine
29
30
31 # libs needed by us 
32 #libitem-y +=
33
34 #linkfile
35 ldcmdfile-y = $(ROOTDIR)/$(ARCH_PATH-y)/scripts/linkscript_gcc.ldf
36
37 # What I want to build
38 build-exe-y = pwm_node.elf
39
40
41
42
43