]> rtime.felk.cvut.cz Git - linux-conf-perf.git/blob - conf.py
Remove checking for existence of programs
[linux-conf-perf.git] / conf.py
1 import os
2 from exceptions import MissingFile
3
4 def pf(rfile):
5         "Relative patch of file is decoded to absolute acording to working tree."
6         return os.path.dirname(os.path.realpath(__file__)) + '/' + rfile
7
8 # Global configs
9 SRCARCH = 'x86' # Kernel architecture
10 ARCH = SRCARCH
11 linux_make_args = ['-j8']
12
13 # Path settings
14 dot_confmk = pf('.conf.mk')
15
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'
20
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'
31
32 buildroot_initram = pf('scripts/buildroot/output/images/rootfs.cpio.gz')
33 initram = build_folder + '/initram.gz'
34
35 # Programs paths
36 parse_kconfig = pf('scripts/parse_kconfig/parse')
37 write_config = pf('scripts/write_config/write')
38
39 # Programs output show/hide
40 parse_kconfig_output = False
41 minisat_output = False
42 kernel_config_output = True
43 kernel_make_output = True