aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorGravatar Fabrice Fontaine <fontaine.fabrice@gmail.com>2019-10-26 21:43:14 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2019-10-27 20:20:24 +0100
commitd36da5a5f551bc26ec7162dece6061cd78dd3266 (patch)
treec41ea55c8967d485805329975b47b75f8eea38b6 /utils
parent12ebdfd37ccd4d755e1e1280025c2aacbd71e1af (diff)
downloadbuildroot-d36da5a5f551bc26ec7162dece6061cd78dd3266.tar.gz
buildroot-d36da5a5f551bc26ec7162dece6061cd78dd3266.tar.bz2
utils/genrandconfig: test configurations with BR2_RELRO_FULL
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 9567739252..66f1ce6547 100755
--- a/utils/genrandconfig
+++ b/utils/genrandconfig
@@ -368,6 +368,8 @@ def gen_config(args):
configlines.append("BR2_SYSTEM_ENABLE_NLS=y\n")
if randint(0, 4) == 0:
configlines.append("BR2_PIC_PIE=y\n")
+ if randint(0, 4) == 0:
+ configlines.append("BR2_RELRO_FULL=y\n")
# Randomly enable BR2_REPRODUCIBLE 10% of times
# also enable tar filesystem images for testing