aboutsummaryrefslogtreecommitdiff
path: root/conf.py
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2015-07-22 11:12:24 +0200
committerKarel Kočí <cynerd@email.cz>2015-07-22 11:12:24 +0200
commit17cb74bcb4583921abc32ddbe2991f27ae816707 (patch)
treebb637cd909590eadb2d549fe7449d0dc36dcfc3a /conf.py
parent165f6b3988a74bf3b02505fc49c64dfefb693adb (diff)
downloadlinux-conf-perf-17cb74bcb4583921abc32ddbe2991f27ae816707.tar.gz
linux-conf-perf-17cb74bcb4583921abc32ddbe2991f27ae816707.tar.bz2
linux-conf-perf-17cb74bcb4583921abc32ddbe2991f27ae816707.zip
Makefile configuration is now automatically generated and more changes
Makefile configuration file is now generated automatically and contains all string config options. Separated tables drop from databaseinit.sql to file databaseclean.sql. Also add clean and init target for database. For this reason is also separated output and result from normal clean. From now on won't be results removed on standard clean. ARCH config variable is renamed to kernel_arch to make name more clear.
Diffstat (limited to 'conf.py')
-rw-r--r--conf.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/conf.py b/conf.py
index 3909de7..c383507 100644
--- a/conf.py
+++ b/conf.py
@@ -1,14 +1,14 @@
import os
## Global configs
-# ARCH
-# This defines environment variable for linux kernel.
+# kernel_arch
+# This defines environment variable ARCH for linux kernel.
# Change this to change target architecture
-ARCH = 'x86'
+kernel_arch = 'x86'
# kernle_env
# Enviroment variables for Linux
-kernel_env = {'SRCARCH': ARCH, 'ARCH': ARCH, 'KERNELVERSION': ARCH}
+kernel_env = {'SRCARCH': kernel_arch, 'ARCH': kernel_arch, 'KERNELVERSION': kernel_arch}
# linux_make_args
# These are arguments passed to make when linux is build.
linux_make_args = ['-j8']
@@ -78,7 +78,7 @@ dot_config = 'dot_config'
linux_sources = 'linux/'
linux_kconfig_head = linux_sources + 'Kconfig'
linux_dot_config = linux_sources + '.config'
-linux_image = linux_sources + 'arch/' + ARCH + '/boot/bzImage'
+linux_image = linux_sources + 'arch/' + kernel_arch + '/boot/bzImage'
buildroot_def_config = 'buildroot_recipe/buildroot.def.config'
buildroot_inittab_directive = 'buildroot_recipe/inittab_directive'