Rename RCU CB context to 'cannot block' context
[akaros.git] / kern / src / Kbuild
1 $(src)/build_info.cid:
2         @echo `git rev-parse HEAD` > $(src)/build_info.cid.tmp
3         @if [ ! -f $(src)/build_info.cid ] || \
4                 [ `cmp -s $(src)/build_info.cid $(src)/build_info.cid.tmp` -ne 0 ]; then \
5                         cp $(src)/build_info.cid.tmp $(src)/build_info.cid; fi;
6         @rm -f $(src)/build_info.cid.tmp
7
8 $(src)/build_info.c: $(src)/build_info.cid
9         @echo "/* Automatically generated. DO NOT EDIT! */" > $(@)
10         @echo "" >> $(@)
11         @echo "const char build_info_date[] = { \"`date`\" };"\
12                 >> $(@)
13         @echo "const char build_info_commitid[] = { \"`cat $(src)/build_info.cid`\" };"\
14                 >> $(@)
15         @echo "const char build_info_version[] = { \"$(KERNELVERSION)\" };"\
16                 >> $(@)
17         @echo "const char build_info_version_name[] = { \"$(VERNAME)\" };"\
18                 >> $(@)
19
20 $(src)/kconfig_info.c: .config
21         @scripts/make_kconfig_info.sh $< $@
22
23 clean-files += build_info.c build_info.cid kconfig_info.c
24
25 obj-y                                           += alarm.o
26 obj-y                                           += apipe.o
27 obj-y                                           += arena.o
28 obj-y                                           += arsc.o
29 obj-y                                           += atomic.o
30 obj-y                                           += bitmap.o
31 obj-y                                           += build_info.o
32 obj-y                                           += ceq.o
33 obj-y                                           += completion.o
34 obj-y                                           += coreprov.o
35 obj-y                                           += ctype.o
36 obj-y                                           += dmapool.o
37 obj-y                                           += elf.o
38 obj-y                                           += env.o
39 obj-y                                           += err.o
40 obj-$(CONFIG_ETH_AUDIO)         += eth_audio.o
41 obj-y                                           += event.o
42 obj-y                                           += ex_table.o
43 obj-y                                           += fdtap.o
44 obj-$(CONFIG_COREALLOC_FCFS) += corealloc_fcfs.o
45 obj-y                                           += find_next_bit.o
46 obj-y                                           += find_last_bit.o
47 obj-y                                           += hashtable.o
48 obj-y                                           += hexdump.o
49 obj-y                                           += init.o
50 obj-y                                           += kconfig_info.o
51 obj-y                                           += kdebug.o
52 obj-y                                           += kmalloc.o
53 obj-y                                           += kreallocarray.o
54 obj-y                                           += ktest/
55 obj-y                                           += kthread.o
56 obj-y                                           += manager.o
57 obj-y                                           += mm.o
58 obj-y                                           += monitor.o
59 obj-y                                           += multiboot.o
60 obj-y                                           += net/
61 obj-y                                           += ns/
62 obj-y                                           += profiler.o
63 obj-$(CONFIG_COREALLOC_PACKED) += corealloc_packed.o
64 obj-y                                           += page_alloc.o
65 obj-y                                           += pagemap.o
66 obj-y                                           += percpu.o
67 obj-y                                           += pmap.o
68 obj-y                                           += printf.o
69 obj-y                                           += printfmt.o
70 obj-y                                           += process.o
71 obj-y                                           += radix.o
72 obj-y                                           += readline.o
73 obj-y                                           += rendez.o
74 obj-y                                           += rcu.o
75 obj-y                                           += rcu_tree_helper.o
76 obj-y                                           += rwlock.o
77 obj-y                                           += scatterlist.o
78 obj-y                                           += schedule.o
79 obj-y                                           += slab.o
80 obj-y                                           += smallidpool.o
81 obj-y                                           += smp.o
82 obj-y                                           += string.o
83 obj-y                                           += strstr.o
84 obj-y                                           += syscall.o
85 obj-y                                           += taskqueue.o
86 obj-y                                           += time.o
87 obj-y                                           += trace.o
88 obj-y                                           += trap.o
89 obj-y                                           += ucq.o
90 obj-y                                           += umem.o
91 obj-y                                           += vfs.o
92 obj-y                                           += vsprintf.o