shell: rename module sections

Prepare for supporting stand-alone commands.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2018-01-15 11:10:09 -05:00 committed by Anas Nashif
commit 8d1931504a
3 changed files with 16 additions and 12 deletions

View file

@ -99,10 +99,10 @@
* their shell commands are automatically initialized by the kernel.
*/
#define SHELL_INIT_SECTIONS() \
__shell_cmd_start = .; \
KEEP(*(".shell_*")); \
__shell_cmd_end = .;
#define SHELL_INIT_SECTIONS() \
__shell_module_start = .; \
KEEP(*(".shell_module_*")); \
__shell_module_end = .;
#ifdef CONFIG_APPLICATION_MEMORY