Remove "early routine kmsg" context
[akaros.git] / kern / src / Kbuild
index 9381b18..9e5e008 100644 (file)
@@ -6,55 +6,49 @@ $(src)/build_info.cid:
        @rm -f $(src)/build_info.cid.tmp
 
 $(src)/build_info.c: $(src)/build_info.cid
-ifeq ($(BUILD_INFO_FILE),)
-               @echo "/* Automatically generated. DO NOT EDIT! */" > $(@)
-               @echo "" >> $(@)
-               @echo "const char build_info_date[] = { \"`date`\" };"\
-                       >> $(@)
-               @echo "const char build_info_commitid[] = { \"`cat $(src)/build_info.cid`\" };"\
-                       >> $(@)
-               @echo "const char build_info_version[] = { \"$(KERNELVERSION)\" };"\
-                       >> $(@)
-               @echo "const char build_info_version_name[] = { \"$(VERNAME)\" };"\
-                       >> $(@)
-else
-               cp $(BUILD_INFO_FILE) $(@)
-endif
+       @echo "/* Automatically generated. DO NOT EDIT! */" > $(@)
+       @echo "" >> $(@)
+       @echo "const char build_info_date[] = { \"`date`\" };"\
+               >> $(@)
+       @echo "const char build_info_commitid[] = { \"`cat $(src)/build_info.cid`\" };"\
+               >> $(@)
+       @echo "const char build_info_version[] = { \"$(KERNELVERSION)\" };"\
+               >> $(@)
+       @echo "const char build_info_version_name[] = { \"$(VERNAME)\" };"\
+               >> $(@)
 
-clean-files += build_info.c build_info.cid
+$(src)/kconfig_info.c: .config
+       @scripts/make_kconfig_info.sh $< $@
+
+clean-files += build_info.c build_info.cid kconfig_info.c
 
 obj-y                                          += alarm.o
 obj-y                                          += apipe.o
+obj-y                                          += arena.o
 obj-y                                          += arsc.o
 obj-y                                          += atomic.o
 obj-y                                          += bitmap.o
-obj-y                                          += blockdev.o
 obj-y                                          += build_info.o
 obj-y                                          += ceq.o
-obj-y                                          += colored_caches.o
 obj-y                                          += completion.o
-obj-y                                          += console.o
 obj-y                                          += coreprov.o
 obj-y                                          += ctype.o
-obj-y                                          += devfs.o
 obj-y                                          += dmapool.o
 obj-y                                          += elf.o
 obj-y                                          += env.o
 obj-y                                          += err.o
 obj-$(CONFIG_ETH_AUDIO)                += eth_audio.o
 obj-y                                          += event.o
-obj-y                                          += ext2fs.o
 obj-y                                          += ex_table.o
 obj-y                                          += fdtap.o
 obj-$(CONFIG_COREALLOC_FCFS) += corealloc_fcfs.o
 obj-y                                          += find_next_bit.o
 obj-y                                          += find_last_bit.o
-obj-y                                          += frontend.o
 obj-y                                          += hashtable.o
 obj-y                                          += hexdump.o
 obj-y                                          += init.o
+obj-y                                          += kconfig_info.o
 obj-y                                          += kdebug.o
-obj-y                                          += kfs.o
 obj-y                                          += kmalloc.o
 obj-y                                          += kreallocarray.o
 obj-y                                          += ktest/
@@ -66,6 +60,7 @@ obj-y                                         += multiboot.o
 obj-y                                          += net/
 obj-y                                          += ns/
 obj-y                                          += profiler.o
+obj-$(CONFIG_COREALLOC_PACKED) += corealloc_packed.o
 obj-y                                          += page_alloc.o
 obj-y                                          += pagemap.o
 obj-y                                          += percpu.o
@@ -76,6 +71,8 @@ obj-y                                         += process.o
 obj-y                                          += radix.o
 obj-y                                          += readline.o
 obj-y                                          += rendez.o
+obj-y                                          += rcu.o
+obj-y                                          += rcu_tree_helper.o
 obj-y                                          += rwlock.o
 obj-y                                          += scatterlist.o
 obj-y                                          += schedule.o