aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorGravatar Asaf Kahlon <asafka7@gmail.com>2019-10-26 17:20:56 +0300
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2019-10-26 16:25:31 +0200
commit9fc6bfb4b858300f001e0f740c79f8a4dbd8d6c4 (patch)
treec620898d6343a999ff65350d262cf37790deadb3 /utils
parentcb402832a9458cda8272625bbeb395f112436420 (diff)
downloadbuildroot-9fc6bfb4b858300f001e0f740c79f8a4dbd8d6c4.tar.gz
buildroot-9fc6bfb4b858300f001e0f740c79f8a4dbd8d6c4.tar.bz2
utils/genrandconfig: use randint instead of (undefined) randInt
Fixes https://gitlab.com/buildroot.org/buildroot/-/jobs/333788455 Signed-off-by: Asaf Kahlon <asafka7@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'utils')
-rwxr-xr-xutils/genrandconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/genrandconfig b/utils/genrandconfig
index 54d66e40d7..9567739252 100755
--- a/utils/genrandconfig
+++ b/utils/genrandconfig
@@ -366,7 +366,7 @@ def gen_config(args):
configlines.append("BR2_OPTIMIZE_2=y\n")
if randint(0, 4) == 0:
configlines.append("BR2_SYSTEM_ENABLE_NLS=y\n")
- if randInt(0, 4) == 0:
+ if randint(0, 4) == 0:
configlines.append("BR2_PIC_PIE=y\n")
# Randomly enable BR2_REPRODUCIBLE 10% of times