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