diff --git a/scripts/genconfig.py b/scripts/genconfig.py index 3f2e66bb7..09b92bd8d 100755 --- a/scripts/genconfig.py +++ b/scripts/genconfig.py @@ -44,7 +44,7 @@ for config in ('CONFIG', 'CONFIG.local'): except IOError: continue -for key, value in defs.items(): +for key, value in sorted(defs.items()): if value == 0: print("#undef {0}".format(key)) else: