aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorGravatar Fabrice Fontaine <fontaine.fabrice@gmail.com>2019-10-26 10:42:21 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2019-10-26 15:02:57 +0200
commitf24bb4ee4f744c1cf209bac9da710dffd69f7052 (patch)
tree99a43da1ec3d55024295e6b1a2708a792ef8cb78 /utils
parent5d6f29dd3a9463c031bc37c10fa87f5a498d65a6 (diff)
downloadbuildroot-f24bb4ee4f744c1cf209bac9da710dffd69f7052.tar.gz
buildroot-f24bb4ee4f744c1cf209bac9da710dffd69f7052.tar.bz2
utils/genrandconfig: test configurations with BR2_PIC_PIE
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'utils')
-rwxr-xr-xutils/genrandconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/genrandconfig b/utils/genrandconfig
index d6b7fd56b7..54d66e40d7 100755
--- a/utils/genrandconfig
+++ b/utils/genrandconfig
@@ -366,6 +366,8 @@ 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:
+ configlines.append("BR2_PIC_PIE=y\n")
# Randomly enable BR2_REPRODUCIBLE 10% of times
# also enable tar filesystem images for testing