diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2017-09-19 23:03:22 +0200 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2017-09-20 05:38:19 +0200 |
| commit | c8df7316d1ed151b93566a61ed9d95da67e17974 (patch) | |
| tree | 9d328f35708d70fdea2f91b7040d5270f5a3d2a3 /tests/Kdep | |
| parent | e3900b590dc05c9ddc98623ddeff334abeaaa6ec (diff) | |
Add support for less/greater than comparisons
Was added upstream in 31847b67 (kconfig: allow use of relations other
than (in)equality). Completely unused (and undocumented) in the kernel
except for in DEBUG_UART_8250_WORD in arch/arm/Kconfig.debug:
depends on DEBUG_UART_8250_SHIFT >= 2
(That line was added before lt/gt support by the way, and assumed a
feature that wasn't there.)
This change (and the upstream one) also slightly changes how
(in)equality comparisons work, making e.g.
MY_HEX = 0x00037
evaluate to 'y' if MY_HEX is 0x37. Prior to this change, the strings
needed to match exactly.
Diffstat (limited to 'tests/Kdep')
| -rw-r--r-- | tests/Kdep | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -140,6 +140,26 @@ config D31 config D32 tristate "D32" +config D33 + int "D33" + default 0 if D < 0 + +config D34 + int "D34" + default 0 if 0 < D + +config D35 + int "D35" + default 0 if 0 <= D + +config D36 + int "D36" + default 0 if 0 > D + +config D37 + int "D37" + default 0 if 0 >= D + # # Choices # |
