aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2015-09-14 11:50:22 +0200
committerKarel Kočí <cynerd@email.cz>2015-09-14 11:50:22 +0200
commit5d5df1d903e952ada7dbad726431b0cc25e8f5a8 (patch)
tree10800ce54dc69b67025c507d5e051ffc8f0bf7ba /scripts
parent4ad66ffc6510e66062aa3f6523e51082ef39ce51 (diff)
downloadlinux-conf-perf-5d5df1d903e952ada7dbad726431b0cc25e8f5a8.tar.gz
linux-conf-perf-5d5df1d903e952ada7dbad726431b0cc25e8f5a8.tar.bz2
linux-conf-perf-5d5df1d903e952ada7dbad726431b0cc25e8f5a8.zip
Export int values to conf.mk
Generated configuration file for makefile did not contain int values. But they were used. This is new feature but also fix.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/confmk.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/confmk.py b/scripts/confmk.py
index 3a59510..d1af0bf 100755
--- a/scripts/confmk.py
+++ b/scripts/confmk.py
@@ -18,6 +18,9 @@ def gen_confmk():
if type(val) is str:
f.write("CONF_" + var.upper() + " := ")
f.write(val + '\n')
+ elif type(val) is int:
+ f.write("CONF_" + var.upper() + " := ")
+ f.write(str(val) + '\n')
#################################################################################