utils/genrandconfig: test configurations with BR2_PIC_PIE
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sat, 26 Oct 2019 08:42:21 +0000 (10:42 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 26 Oct 2019 13:02:57 +0000 (15:02 +0200)
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
utils/genrandconfig

index d6b7fd56b7318f27f148b0f753c9960ce5485222..54d66e40d7cddcc06decaecb60c3189f024c4445 100755 (executable)
@@ -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