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>
This commit is contained in:
Asaf Kahlon 2019-10-26 17:20:56 +03:00 committed by Thomas Petazzoni
parent cb402832a9
commit 9fc6bfb4b8

View File

@ -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