zephyr/subsys
Sebastian Bøe 59abaf461b cmake: make the BT_HCI_TX_STACK_SIZE's prompt conditional
The BT_HCI_TX_STACK_SIZE is carefully calculated from other
options. When those options change, e.g. from a menuconfig update, it
is important that the stack size is re-calculated, but it is not when
there is a prompt.

Therefore, make the prompt conditional such that the previously set
value is only used when it has been explicitly configured to be so.

Now users can still change the value through menuconfig and prj.conf,
by also enabling <option>_WITH_PROMPT, but when the value is
calculated by the defaults, it will continue to be calculated by
defaults instead of inheriting the intial value.

This is AFAIK a novel approach, but testing has shown that it gives
the users the behaviour they want, at the cost of some boilerplate of
course. This pattern can be applied to other options if it proves to
work as intended.

Alternatively one could remove the prompt, but then it would no longer
be possible to override the value through menuconfig.

Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
2019-11-15 13:28:56 +01:00
..
bluetooth cmake: make the BT_HCI_TX_STACK_SIZE's prompt conditional 2019-11-15 13:28:56 +01:00
console kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
cpp kconfig: cpp: Have LIB_CPLUSPLUS depend on ! MINIMAL_LIBC 2019-11-05 16:19:27 +01:00
debug debug: tracing: Use proper API to fetch thread name 2019-11-12 14:27:21 +01:00
dfu flash_img: add error check to 'flash_progressive_erase' 2019-11-06 21:41:14 +01:00
disk kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
fb kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
fs fs/fcb: improve error handling in fcb_offset_last_n 2019-11-14 19:33:36 -05:00
jwt kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
logging kernel: rename z_arch_ to arch_ 2019-11-07 15:21:46 -08:00
mgmt kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
net net: ip: ipv6_nbr: Fix uninitialized variable in ipv6_nbr 2019-11-12 16:12:10 +01:00
power cleanup: include/: move misc/reboot.h to power/reboot.h 2019-06-27 22:55:49 -04:00
random subsys/random: Add cryptographically secure and bulk fill functions 2019-11-05 19:36:42 +01:00
settings settings: Fix undefined behaviours in settings_line.c. 2019-11-13 17:36:36 -08:00
shell subsystem: kernel_shell: Fix pointer cast to u32_t 2019-11-13 09:00:03 +01:00
stats cleanup: include/: move stats.h to stats/stats.h 2019-06-27 22:55:49 -04:00
storage kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
testsuite kernel/sys_clock.h: Deprecate and convert uses of old conversions 2019-11-08 11:08:58 +01:00
usb driver: uart: make deprecation effective 2019-11-07 12:44:15 -06:00
CMakeLists.txt
Kconfig kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00