Skip to content
  • Yann E. MORIN's avatar
    kconfig: allow specifying the seed for randconfig · 0d8024c6
    Yann E. MORIN authored
    
    
    For reproducibility, it can be useful to be able to specify the
    seed to use to seed the RNG.
    
    Add a new KCONFIG_SEED environment variable which can be set to
    the seed to use:
        $ make KCONFIG_SEED=42 randconfig
        $ sha1sum .config
        70a128c8dcc61303069e1be352cce64114dfcbca  .config
        $ make KCONFIG_SEED=42 randconfig
        $ sha1sum .config
        70a128c8dcc61303069e1be352cce64114dfcbca  .config
    
    It's very usefull for eg. debugging the kconfig parser.
    
    Signed-off-by: default avatar"Yann E. MORIN" <yann.morin.1998@free.fr>
    0d8024c6