]> rtime.felk.cvut.cz Git - arc.git/blob - examples/blinker_node/makefile
sleep stuff
[arc.git] / examples / blinker_node / makefile
1
2 # Our object files
3 obj-y += blinker_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 inc-y += $(ROOTDIR)/system/kernel/$(objdir)
20 inc-y += $(ROOTDIR)/system/kernel/include
21
22 #TODO: Remove?, Build other way?
23 VPATH += $(ROOTDIR)/$(SUBDIR)/Rte
24 inc-y += $(ROOTDIR)/$(SUBDIR)/Rte
25 VPATH += $(ROOTDIR)/components/blinker
26 inc-y += $(ROOTDIR)/components/blinker
27
28
29 # libs needed by us 
30 #libitem-y +=
31
32 #linkfile
33 ldcmdfile-y = linkscript_gcc.ldp
34 vpath %.ldf $(ROOTDIR)/$(ARCH_PATH-y)/scripts
35
36 # What I want to build
37 build-exe-y = blinker_node.elf
38
39
40
41
42