From 699fd81bf3a67606396035697357c5665dcd68af Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Fri, 26 Oct 2018 22:23:27 +0200 Subject: Support enabling the assignment-to-undef. symbol warning via the environment This makes it possible to enable it for the bundled tools, by setting KCONFIG_WARN_UNDEF_ASSIGN=y. Previously, the code had to be modified to call Kconfig.enable_undef_warnings(). Also rename KCONFIG_STRICT to KCONFIG_WARN_UNDEF, for consistency. Keep supporting KCONFIG_STRICT as an alias for backwards compatibility. --- tests/Kstrict | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 tests/Kstrict (limited to 'tests/Kstrict') diff --git a/tests/Kstrict b/tests/Kstrict deleted file mode 100644 index fae521a..0000000 --- a/tests/Kstrict +++ /dev/null @@ -1,23 +0,0 @@ -config DEF - bool - -config BOOL - bool "foo" if DEF || !UNDEF_1 - default UNDEF_2 - -config INT - int - range UNDEF_2 8 - default 10 - range 5 15 - -config HEX - hex - range 0x123 0X456 - default 0x200 - -menu "menu" - depends on UNDEF_1 - visible if UNDEF_3 - -endmenu -- cgit v1.2.3