kernel: add CONFIG_MDEF

Easier to build logic for when an MDEF file is to be parsed since
unified kernel needs to do it as well. Can also be useful for testing,
when toggling between static and dynamic objects in the same test case.

Change-Id: I51eb8919e18443516ade13caab04698d37d91803
Signed-off-by: Benjamin Walsh <benjamin.walsh@windriver.com>
This commit is contained in:
Benjamin Walsh 2016-06-14 16:36:55 -04:00
commit 851c537f29

View file

@ -292,4 +292,18 @@ config TICKLESS_IDLE_THRESH
endmenu
config MDEF
bool
prompt "Use MDEF files for statically configured kernel objects"
depends on KERNEL_V2 || MICROKERNEL
default y
help
Using an MDEF file can help the startup time of the application since
the objects it lists are statically allocated and initialized, and may
also reduce code size if no subsystem uses the initialization routines.
Disabling this option can reduce the compilation time slightly.
In doubt, select 'y'.
endmenu