BugID:16699304:modify aos_kernel_init to aos_components_init; dir build
@@ -88,7 +88,7 @@ def process_component_init(init_dir):
component_init_src = "component_init.c"
- init_codes = "/*\n * warning: component init code, don't change!!!\n */\n\n#include <aos/aos.h>\n\nvoid aos_components_init(void) {\n"
+ init_codes = "/*\n * warning: component init code, don't change!!!\n */\n\n#include <aos/aos.h>\n\nvoid aos_components_gen_init(void) {\n"
# find all head file through config.mk
for root, dirs, files in chain.from_iterable(os.walk(path.strip()) for path in \
