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