2 from exceptions import MissingFile
5 "Relative patch of file is decoded to absolute acording to working tree."
6 return os.path.dirname(os.path.realpath(__file__)) + '/' + rfile
9 SRCARCH = 'x86' # Kernel architecture
11 linux_make_args = ['-j8']
14 dot_confmk = pf('.conf.mk')
16 linux_sources = pf('linux')
17 linux_kconfig_head = 'Kconfig'
18 linux_dot_config = linux_sources + '/.config'
19 linux_image = linux_sources + '/arch/' + ARCH + '/boot/bzImage'
21 build_folder = pf('build/')
22 phase_file = build_folder + '/phase'
23 symbol_map_file = build_folder + '/symbol_map' # Also defined in kconfig_parser
24 rules_file = build_folder + '/rules' # Also defined in kconfig_parser
25 solved_file = build_folder + '/solved'
26 required_file = build_folder + '/required'
27 dot_config_fragment_file = build_folder + '/dot_config_fragment'
28 dot_config_back_file = build_folder + '/dot_config_back'
29 solution_file = build_folder + '/solution'
30 iteration_file = build_folder + '/iteration'
32 buildroot_initram = pf('scripts/buildroot/output/images/rootfs.cpio.gz')
33 initram = build_folder + '/initram.gz'
36 parse_kconfig = pf('scripts/parse_kconfig/parse')
37 write_config = pf('scripts/write_config/write')
39 # Programs output show/hide
40 parse_kconfig_output = False
41 minisat_output = False
42 kernel_config_output = True
43 kernel_make_output = True