From c8df7316d1ed151b93566a61ed9d95da67e17974 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Tue, 19 Sep 2017 23:03:22 +0200 Subject: 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. --- tests/Keval | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'tests/Keval') diff --git a/tests/Keval b/tests/Keval index 191f518..64bd4d8 100644 --- a/tests/Keval +++ b/tests/Keval @@ -19,10 +19,14 @@ config FOO_BAR_STRING string default "foo bar" -config INT_3 +config INT_37 int - default 3 + default 37 -config HEX_0X3 +config HEX_0X37 hex - default 0x3 + default 0x37 + +config HEX_37 + hex + default 37 -- cgit v1.2.3