diff options
| author | Linus Heckemann <git@sphalerite.org> | 2020-12-19 01:44:46 +0100 |
|---|---|---|
| committer | Linus Heckemann <git@sphalerite.org> | 2020-12-19 01:55:21 +0100 |
| commit | 16c0697e6822b360c3f538fcd443046ea3f3b6fc (patch) | |
| tree | 2509ed49d89a5f3c82ebb43ea07b283670b484af /pkgs/development/python-modules/python-mapnik | |
| parent | 1db8a438773d81fce7f6fee323669eda91edc821 (diff) | |
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.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik')
0 files changed, 0 insertions, 0 deletions
