Skip to content

Commit

Permalink
kernel: set CONFIG_MDEF by default
Browse files Browse the repository at this point in the history
Legacy applications still need that, otherwise kernel objects are not
configured correctly. Will be removed later.

Change-Id: I22df10e4adcc11f035f9813bea8c93dd1a560a1d
Signed-off-by: Anas Nashif <[email protected]>
  • Loading branch information
nashif committed Dec 17, 2016
1 parent db20723 commit f11fe9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kernel/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -297,14 +297,14 @@ endmenu
config MDEF
bool
prompt "Use MDEF files for statically configured kernel objects"
default n
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 'n'.
In doubt, select 'y'.

endmenu

0 comments on commit f11fe9e

Please sign in to comment.