utils/genrandconfig: test configurations with BR2_RELRO_FULL
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sat, 26 Oct 2019 19:43:14 +0000 (21:43 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 27 Oct 2019 19:20:24 +0000 (20:20 +0100)
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
utils/genrandconfig

index 956773925264971d3e92fc5bf97efdd3e5515ec4..66f1ce6547149a9d238709671533d4fca764e0ff 100755 (executable)
@@ -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