aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2015-07-24 10:29:21 +0200
committerKarel Kočí <cynerd@email.cz>2015-07-24 10:29:21 +0200
commit774d1f1e287a9face4b9dda707c49c24fe62074e (patch)
treed9b62b1deab9d304b56617f24fef9d82c29cd193 /Makefile
parent2d887e3e5563ba478ff17e106f7a5c629880bcc3 (diff)
downloadlinux-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.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 88a9c02..902f0c2 100644
--- a/Makefile
+++ b/Makefile
@@ -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