nixpkgs/pkgs/os-specific
Linus Heckemann 16c0697e68 linux: fix generate-config's handling of "no-choice" options
Prior to this change, the script could potentially get confused by
"menus" containing only one valid option. Thus, with

CPU_BIG_ENDIAN = no;
CPU_LITTLE_ENDIAN = yes;
ARM64_PA_BITS_48 = yes;

the endianness would be set incorrectly:

GOT: Physical address space size
GOT: > 1. 48-bit (ARM64_PA_BITS_48)
GOT: choice[1]: 1
GOT: Endianness
GOT:   1. Build big-endian kernel (CPU_BIG_ENDIAN)
GOT: > 2. Build little-endian kernel (CPU_LITTLE_ENDIAN)
CHOICE: 1-2?, ANSWER: 1

This commit fixes this error by forgetting previous menu choices if a
line that follows a menu option is neither another menu option nor the
prompt for choosing one of the options.
2020-12-19 01:55:21 +01:00
..
bsd *-wrapper; Switch from infixSalt to suffixSalt 2020-05-12 00:44:44 -04:00
darwin Merge pull request #105938 from virusdave/dnicponski/scratch/add_osx-cpu-temp 2020-12-11 06:56:57 +01:00
linux linux: fix generate-config's handling of "no-choice" options 2020-12-19 01:55:21 +01:00
solo5 treewide: remove periods from end of package descriptions 2020-10-17 08:22:31 -07:00
windows mingw-w64: 5.0.4 -> 6.0.0 2020-08-16 10:16:51 +00:00