diff options
author | Karel Kočí <cynerd@email.cz> | 2015-07-24 10:29:21 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2015-07-24 10:29:21 +0200 |
commit | 774d1f1e287a9face4b9dda707c49c24fe62074e (patch) | |
tree | d9b62b1deab9d304b56617f24fef9d82c29cd193 | |
parent | 2d887e3e5563ba478ff17e106f7a5c629880bcc3 (diff) | |
download | linux-conf-perf-774d1f1e287a9face4b9dda707c49c24fe62074e.tar.gz linux-conf-perf-774d1f1e287a9face4b9dda707c49c24fe62074e.tar.bz2 linux-conf-perf-774d1f1e287a9face4b9dda707c49c24fe62074e.zip |
Add dot_config target to root Makefile
allconfig is used for generating full configuration.
In default is this file expected in root project directory with name dot_config.
User should remove configuration options that should be measured.
So dot_config file should contains only configuration options with fixed value.
-rw-r--r-- | Makefile | 4 | ||||
-rwxr-xr-x | scripts/initialize.py | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -40,6 +40,10 @@ mlinux: deflinux: ARCH=$(CONF_KERNEL_ARCH) $(MAKE) -C linux defconfig +dot_config: allconfig + cd linux && SRCARCH=$(CONF_KERNEL_ARCH) ARCH=$(CONF_KERNEL_ARCH) KERNELVERSION=$(CONF_KERNEL_ARCH) \ + ../scripts/allconfig/allconfig Kconfig .config ../$(CONF_DOT_CONFIG) + init: initialize initialize: parse_kconfig picosat scripts/initialize.py diff --git a/scripts/initialize.py b/scripts/initialize.py index 36da24d..76a78e9 100755 --- a/scripts/initialize.py +++ b/scripts/initialize.py @@ -68,7 +68,7 @@ def gen_requred(): if not os.path.isfile(sf(conf.dot_config)): raise exceptions.MissingFile(sf(conf.dot_config), - 'Generate fixed configuration.') + 'Generate fixed configuration. Use make dot_config.') utils.build_symbol_map() # Ensure smap existence srmap = {value:key for key, value in utils.smap.items()} # swap dictionary |