Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

编译之后display_map_summary失败 #34

Closed
xzwang001 opened this issue Nov 21, 2017 · 13 comments
Closed

编译之后display_map_summary失败 #34

xzwang001 opened this issue Nov 21, 2017 · 13 comments

Comments

@xzwang001
Copy link

按照例程编译helloworld,结果编译出现错误,二进制文件已经生成,且可以执行。但是编译还是存在错误,具体如下:
Build AOS Now
Traceback (most recent call last):
File ".//build/scripts/map_parse_gcc.py", line 15, in
mem_config_text = re.findall('Memory Configuration\n\nName Origin Length Attributes\n([\s\S]+)\nLinker script and memory map', s)[0]
IndexError: list index out of range
build/aos_target_build.mk:239: recipe for target 'display_map_summary' failed
make[1]: *** [display_map_summary] Error 1
build/Makefile:151: recipe for target 'main_app' failed

@oujunli
Copy link
Contributor

oujunli commented Nov 24, 2017

看一下out目录map文件内容,可能是语言等问题查找失败导致。可以提个PR @xzwang001

@notagoodman
Copy link

notagoodman commented Dec 25, 2017

哥们儿,你的问题解决了吗?我也遇到了同样的问题。@xzwang001

@xzwang001
Copy link
Author

@notagoodman,还没搞定呢,没有什么头绪

@junjiec
Copy link
Contributor

junjiec commented Dec 26, 2017

@xzwang001 @notagoodman 可以给一下完整的编译log吗,把debug打开,比如
aos make helloworld@linuxhost VERBOSE=1

@xzwang001
Copy link
Author

@junjiec ,以下信息是我这边打印的log

echo Build AOS Now
Build AOS Now
"/home/xzwang/Work/AliOS/AliOS-Things/build/cmd/linux64/mkdir" -p out/helloworld@linuxhost/binary
"/home/xzwang/Work/AliOS/AliOS-Things/build/cmd/linux64/mkdir" -p out/helloworld@linuxhost/modules
"/home/xzwang/Work/AliOS/AliOS-Things/build/cmd/linux64/mkdir" -p out/helloworld@linuxhost/libraries
"/home/xzwang/Work/AliOS/AliOS-Things/build/cmd/linux64/mkdir" -p out/helloworld@linuxhost/resources
"/home/xzwang/Work/AliOS/AliOS-Things/build/cmd/linux64/make" -r -j4 -f .//build/aos_target_build.mk helloworld@linuxhost
make[1]: Entering directory '/home/xzwang/Work/AliOS/AliOS-Things'
"/usr/bin/python" .//build/scripts/map_parse_gcc.py out/helloworld@linuxhost/binary/helloworld@linuxhost.map
Traceback (most recent call last):
File ".//build/scripts/map_parse_gcc.py", line 15, in
mem_config_text = re.findall('Memory Configuration\n\nName Origin Length Attributes\n([\s\S]+)\nLinker script and memory map', s)[0]
IndexError: list index out of range
build/aos_target_build.mk:239: recipe for target 'display_map_summary' failed
make[1]: *** [display_map_summary] Error 1
make[1]: Leaving directory '/home/xzwang/Work/AliOS/AliOS-Things'
build/Makefile:151: recipe for target 'main_app' failed
make: *** [main_app] Error 2
[aos] ERROR: "/" returned error code 2.
[aos] ERROR: Command "/ h o m e / x z w a n g / W o r k / A l i O S / A l i O S - T h i n g s / b u i l d / c m d / l i n u x 6 4 / m a k e H O S T _ O S = L i n u x 6 4 T O O L S _ R O O T = / h o m e / x z w a n g / W o r k / A l i O S / A l i O S - T h i n g s / b u i l d - f b u i l d / M a k e f i l e h e l l o w o r l d @ l i n u x h o s t V E R B O S E = 1" in "/home/xzwang/Work/AliOS/AliOS-Things"

@junjiec
Copy link
Contributor

junjiec commented Dec 26, 2017

@xzwang001 out/helloworld@linuxhost/binary/helloworld@linuxhost.elf 已经生成了?
out/helloworld@linuxhost/binary/helloworld@linuxhost.map 生成了吗?有的话发给我们看看

@notagoodman
Copy link

@junjiec @xzwang001
linuxhost.elf 没有生成。打印如下:
lxf@lxf-K43SA:/opt/AliOS-Things$
lxf@lxf-K43SA:/opt/AliOS-Things$ sudo aos make helloworld@linuxhost VERBOSE=1
[sudo] lxf 的密码:
"/usr/bin/python" .//build/scripts/gen_test_collection.py out/helloworld@linuxhost/auto_component out/helloworld@linuxhost/auto_component/test_collection.default
"/usr/bin/python" .//build/scripts/auto_component.py out/helloworld@linuxhost/auto_component
echo Making config file for first time
Making config file for first time
"/opt/AliOS-Things/build/cmd/linux64/make" -r -f .//build/aos_target_config.mk helloworld@linuxhost
make[1]: Entering directory '/opt/AliOS-Things'
processing components: helloworld linuxhost platform/mcu/linux vcall init auto_component
kernel_version:AOS-R-1.1.2
echo 'AOS_SDK_MAKEFILES += ././kernel/vfs/device/device.mk ./security/alicrypto/alicrypto.mk ./kernel/hal/hal.mk ./kernel/vfs/vfs.mk ./kernel/rhino/rhino.mk ./security/mbedtls/mbedtls.mk ./utility/log/log.mk ./security/tfs/tfs.mk ./tools/cli/cli.mk ./kernel/yloop/yloop.mk ./out/helloworld@linuxhost/auto_component/auto_component.mk ./kernel/init/init.mk ./kernel/vcall/vcall.mk ././platform/mcu/linux/linux.mk ./board/linuxhost/linuxhost.mk ./example/helloworld/helloworld.mk' > out/helloworld@linuxhost/config.mk ;
echo 'TOOLCHAIN_NAME := GCC' >> out/helloworld@linuxhost/config.mk ;
echo 'AOS_SDK_LDFLAGS += -Wl,--gc-sections -Wl,--cref -lpthread -lm -lrt -m32' >> out/helloworld@linuxhost/config.mk ;
echo 'AOS_SDK_LDS_FILES += ' >> out/helloworld@linuxhost/config.mk ;
echo 'AOS_SDK_LDS_INCLUDES += ' >> out/helloworld@linuxhost/config.mk ;
echo 'RESOURCE_CFLAGS += -DSYSINFO_KERNEL_VERSION=\"AOS-R-1.1.2\" -Wall -Wno-missing-field-initializers -Wno-strict-aliasing -Wno-address -Wno-unused-result -DSYSINFO_PRODUCT_MODEL=\"ALI_AOS_LINUXHOST\" -DSYSINFO_DEVICE_NAME=\"LINUXHOST\" -m32 -std=gnu99' >> out/helloworld@linuxhost/config.mk ;
echo 'AOS_SDK_LINK_SCRIPT += ' >> out/helloworld@linuxhost/config.mk ;
echo 'AOS_SDK_LINK_SCRIPT_CMD += ' >> out/helloworld@linuxhost/config.mk ;
echo 'AOS_SDK_PREBUILT_LIBRARIES += ./security/tfs/lib/linux/libtfs.a ./security/tfs/lib/linux/libtfspal.a ./security/mbedtls/lib/linux/libmbedtls.a ./security/alicrypto/lib/linux/libmbedcrypto.a ./security/alicrypto/lib/linux/libalicrypto.a' >> out/helloworld@linuxhost/config.mk ;
echo 'AOS_SDK_CERTIFICATES += ' >> out/helloworld@linuxhost/config.mk ;
echo 'AOS_SDK_PRE_APP_BUILDS += ' >> out/helloworld@linuxhost/config.mk ;
echo 'AOS_SDK_LINK_FILES += ' >> out/helloworld@linuxhost/config.mk ;
echo 'AOS_SDK_INCLUDES += -I./security/alicrypto/inc -I./security/alicrypto/test -I./kernel/vfs/include -I./kernel/rhino/core/include -I./security/mbedtls/include -I./security/tfs/include -I./tools/cli/include -I./kernel/vcall/./mico/include -I././platform/mcu/linux/. -I././platform/mcu/linux/../../arch/linux/ -I././platform/mcu/linux/include -I././platform/mcu/linux/include/aos -I././platform/mcu/linux/csp/lwip/include -I./board/linuxhost/. -I./include -I./example/helloworld' >> out/helloworld@linuxhost/config.mk ;
echo 'AOS_SDK_DEFINES += -DBUILD_BIN -DCONFIG_ALICRYPTO -DAOS_HAL -DAOS_VFS -DHAVE_NOT_ADVANCED_FORMATE -DCONFIG_AOS_CLI -DAOS_LOOP -DVCALL_RHINO -DCONFIG_AOS_RHINO_MMREGION -DCONFIG_YSH_CMD_DUMPSYS -DCSP_LINUXHOST -DCONFIG_LOGMACRO_DETAILS -DCONFIG_AOS_FATFS_SUPPORT -DCONFIG_AOS_FATFS_SUPPORT_MMC -DCONFIG_AOS_FOTA_BREAKPOINT -DAOS_NO_WIFI' >> out/helloworld@linuxhost/config.mk ;
echo 'COMPONENTS := helloworld board_linuxhost linuximpl vcall kernel_init auto_component yloop cli libtfs.a log mbedtls rhino vfs hal alicrypto vfs_device' >> out/helloworld@linuxhost/config.mk ;
echo 'PLATFORM_DIRECTORY := linuxhost' >> out/helloworld@linuxhost/config.mk ;
echo 'APP_FULL := helloworld' >> out/helloworld@linuxhost/config.mk ;
echo 'PLATFORM := linuxhost' >> out/helloworld@linuxhost/config.mk ;
echo 'HOST_MCU_FAMILY := linux' >> out/helloworld@linuxhost/config.mk ;
echo 'SUPPORT_BINS := no' >> out/helloworld@linuxhost/config.mk ;
echo 'APP := helloworld' >> out/helloworld@linuxhost/config.mk ;
echo 'HOST_OPENOCD := linux' >> out/helloworld@linuxhost/config.mk ;
echo 'JTAG := jlink_swd' >> out/helloworld@linuxhost/config.mk ;
echo 'HOST_ARCH := linux' >> out/helloworld@linuxhost/config.mk ;
echo 'NO_BUILD_BOOTLOADER := ' >> out/helloworld@linuxhost/config.mk ;
echo 'NO_BOOTLOADER_REQUIRED := ' >> out/helloworld@linuxhost/config.mk ;
echo 'helloworld_LOCATION := ./example/helloworld/' >> out/helloworld@linuxhost/config.mk ; echo 'board_linuxhost_LOCATION := ./board/linuxhost/' >> out/helloworld@linuxhost/config.mk ; echo 'linuximpl_LOCATION := ././platform/mcu/linux/' >> out/helloworld@linuxhost/config.mk ; echo 'vcall_LOCATION := ./kernel/vcall/' >> out/helloworld@linuxhost/config.mk ; echo 'kernel_init_LOCATION := ./kernel/init/' >> out/helloworld@linuxhost/config.mk ; echo 'auto_component_LOCATION := ./out/helloworld@linuxhost/auto_component/' >> out/helloworld@linuxhost/config.mk ; echo 'yloop_LOCATION := ./kernel/yloop/' >> out/helloworld@linuxhost/config.mk ; echo 'cli_LOCATION := ./tools/cli/' >> out/helloworld@linuxhost/config.mk ; echo 'libtfs.a_LOCATION := ./security/tfs/' >> out/helloworld@linuxhost/config.mk ; echo 'log_LOCATION := ./utility/log/' >> out/helloworld@linuxhost/config.mk ; echo 'mbedtls_LOCATION := ./security/mbedtls/' >> out/helloworld@linuxhost/config.mk ; echo 'rhino_LOCATION := ./kernel/rhino/' >> out/helloworld@linuxhost/config.mk ; echo 'vfs_LOCATION := ./kernel/vfs/' >> out/helloworld@linuxhost/config.mk ; echo 'hal_LOCATION := ./kernel/hal/' >> out/helloworld@linuxhost/config.mk ; echo 'alicrypto_LOCATION := ./security/alicrypto/' >> out/helloworld@linuxhost/config.mk ; echo 'vfs_device_LOCATION := ././kernel/vfs/device/' >> out/helloworld@linuxhost/config.mk ;
echo 'helloworld_SOURCES += helloworld.c' >> out/helloworld@linuxhost/config.mk ; echo 'board_linuxhost_SOURCES += ' >> out/helloworld@linuxhost/config.mk ; echo 'linuximpl_SOURCES += ../../arch/linux//cpu_impl.c soc/soc_impl.c soc/hook_impl.c soc/trace_impl.c soc/uart.c main/arg_options.c main/main.c main/hw.c main/wifi_port.c main/ota_port.c' >> out/helloworld@linuxhost/config.mk ; echo 'vcall_SOURCES += mico/mico_rhino.c aos/aos_rhino.c' >> out/helloworld@linuxhost/config.mk ; echo 'kernel_init_SOURCES += aos_init.c' >> out/helloworld@linuxhost/config.mk ; echo 'auto_component_SOURCES += ' >> out/helloworld@linuxhost/config.mk ; echo 'yloop_SOURCES += yloop.c local_event.c' >> out/helloworld@linuxhost/config.mk ; echo 'cli_SOURCES += cli.c dumpsys.c' >> out/helloworld@linuxhost/config.mk ; echo 'libtfs.a_SOURCES += ' >> out/helloworld@linuxhost/config.mk ; echo 'log_SOURCES += log.c' >> out/helloworld@linuxhost/config.mk ; echo 'mbedtls_SOURCES += mbedtls_net.c mbedtls_ssl.c' >> out/helloworld@linuxhost/config.mk ; echo 'rhino_SOURCES += core/k_err.c core/k_mm.c core/k_mm_debug.c core/k_obj_set.c core/k_ringbuf.c core/k_stats.c core/k_task_sem.c core/k_timer.c core/k_buf_queue.c core/k_event.c core/k_mm_blk.c core/k_mutex.c core/k_pend.c core/k_sched.c core/k_sys.c core/k_tick.c core/k_workqueue.c core/k_dyn_mem_proc.c core/k_idle.c core/k_obj.c core/k_queue.c core/k_sem.c core/k_task.c core/k_time.c core/k_fifo.c core/k_trace.c' >> out/helloworld@linuxhost/config.mk ; echo 'vfs_SOURCES += vfs.c device.c vfs_inode.c vfs_register.c' >> out/helloworld@linuxhost/config.mk ; echo 'hal_SOURCES += wifi.c ota.c' >> out/helloworld@linuxhost/config.mk ; echo 'alicrypto_SOURCES += test/ali_crypto_test.c test/ali_crypto_test_comm.c test/ali_crypto_test_aes.c test/ali_crypto_test_hash.c test/ali_crypto_test_rand.c test/ali_crypto_test_rsa.c test/ali_crypto_test_hmac.c ' >> out/helloworld@linuxhost/config.mk ; echo 'vfs_device_SOURCES += vfs_adc.c vfs_uart.c vfs_gpio.c vfs_spi.c vfs_pwm.c vfs_rtc.c vfs_wdg.c vfs_i2c.c' >> out/helloworld@linuxhost/config.mk ;
echo 'helloworld_CHECK_HEADERS += ' >> out/helloworld@linuxhost/config.mk ; echo 'board_linuxhost_CHECK_HEADERS += ' >> out/helloworld@linuxhost/config.mk ; echo 'linuximpl_CHECK_HEADERS += ' >> out/helloworld@linuxhost/config.mk ; echo 'vcall_CHECK_HEADERS += ' >> out/helloworld@linuxhost/config.mk ; echo 'kernel_init_CHECK_HEADERS += ' >> out/helloworld@linuxhost/config.mk ; echo 'auto_component_CHECK_HEADERS += ' >> out/helloworld@linuxhost/config.mk ; echo 'yloop_CHECK_HEADERS += ' >> out/helloworld@linuxhost/config.mk ; echo 'cli_CHECK_HEADERS += ' >> out/helloworld@linuxhost/config.mk ; echo 'libtfs.a_CHECK_HEADERS += ' >> out/helloworld@linuxhost/config.mk ; echo 'log_CHECK_HEADERS += ' >> out/helloworld@linuxhost/config.mk ; echo 'mbedtls_CHECK_HEADERS += ' >> out/helloworld@linuxhost/config.mk ; echo 'rhino_CHECK_HEADERS += ' >> out/helloworld@linuxhost/config.mk ; echo 'vfs_CHECK_HEADERS += ' >> out/helloworld@linuxhost/config.mk ; echo 'hal_CHECK_HEADERS += ' >> out/helloworld@linuxhost/config.mk ; echo 'alicrypto_CHECK_HEADERS += ' >> out/helloworld@linuxhost/config.mk ; echo 'vfs_device_CHECK_HEADERS += ' >> out/helloworld@linuxhost/config.mk ;
echo 'helloworld_INCLUDES := ' >> out/helloworld@linuxhost/config.mk ; echo 'board_linuxhost_INCLUDES := ' >> out/helloworld@linuxhost/config.mk ; echo 'linuximpl_INCLUDES := -I././platform/mcu/linux/. -I././platform/mcu/linux/.' >> out/helloworld@linuxhost/config.mk ; echo 'vcall_INCLUDES := ' >> out/helloworld@linuxhost/config.mk ; echo 'kernel_init_INCLUDES := ' >> out/helloworld@linuxhost/config.mk ; echo 'auto_component_INCLUDES := ' >> out/helloworld@linuxhost/config.mk ; echo 'yloop_INCLUDES := ' >> out/helloworld@linuxhost/config.mk ; echo 'cli_INCLUDES := ' >> out/helloworld@linuxhost/config.mk ; echo 'libtfs.a_INCLUDES := ' >> out/helloworld@linuxhost/config.mk ; echo 'log_INCLUDES := ' >> out/helloworld@linuxhost/config.mk ; echo 'mbedtls_INCLUDES := ' >> out/helloworld@linuxhost/config.mk ; echo 'rhino_INCLUDES := ' >> out/helloworld@linuxhost/config.mk ; echo 'vfs_INCLUDES := ' >> out/helloworld@linuxhost/config.mk ; echo 'hal_INCLUDES := ' >> out/helloworld@linuxhost/config.mk ; echo 'alicrypto_INCLUDES := ' >> out/helloworld@linuxhost/config.mk ; echo 'vfs_device_INCLUDES := -I././kernel/vfs/device/../include/device/ -I././kernel/vfs/device/../include/ -I././kernel/vfs/device/../../hal/soc/' >> out/helloworld@linuxhost/config.mk ;
echo 'helloworld_DEFINES := ' >> out/helloworld@linuxhost/config.mk ; echo 'board_linuxhost_DEFINES := ' >> out/helloworld@linuxhost/config.mk ; echo 'linuximpl_DEFINES := ' >> out/helloworld@linuxhost/config.mk ; echo 'vcall_DEFINES := ' >> out/helloworld@linuxhost/config.mk ; echo 'kernel_init_DEFINES := ' >> out/helloworld@linuxhost/config.mk ; echo 'auto_component_DEFINES := ' >> out/helloworld@linuxhost/config.mk ; echo 'yloop_DEFINES := ' >> out/helloworld@linuxhost/config.mk ; echo 'cli_DEFINES := ' >> out/helloworld@linuxhost/config.mk ; echo 'libtfs.a_DEFINES := ' >> out/helloworld@linuxhost/config.mk ; echo 'log_DEFINES := ' >> out/helloworld@linuxhost/config.mk ; echo 'mbedtls_DEFINES := ' >> out/helloworld@linuxhost/config.mk ; echo 'rhino_DEFINES := ' >> out/helloworld@linuxhost/config.mk ; echo 'vfs_DEFINES := -DIO_NEED_TRAP' >> out/helloworld@linuxhost/config.mk ; echo 'hal_DEFINES := ' >> out/helloworld@linuxhost/config.mk ; echo 'alicrypto_DEFINES := ' >> out/helloworld@linuxhost/config.mk ; echo 'vfs_device_DEFINES := ' >> out/helloworld@linuxhost/config.mk ;
echo 'helloworld_CFLAGS := -DSYSINFO_KERNEL_VERSION=\"AOS-R-1.1.2\" -Wall -Wno-missing-field-initializers -Wno-strict-aliasing -Wno-address -Wno-unused-result -DSYSINFO_PRODUCT_MODEL=\"ALI_AOS_LINUXHOST\" -DSYSINFO_DEVICE_NAME=\"LINUXHOST\" -m32 -std=gnu99 -ggdb -Os -DAOS_SDK_VERSION_MAJOR=3 -DAOS_SDK_VERSION_MINOR=2 -DAOS_SDK_VERSION_REVISION=3 -Iout/helloworld@linuxhost/resources/ -DPLATFORM=\"linuxhost\" ' >> out/helloworld@linuxhost/config.mk ; echo 'board_linuxhost_CFLAGS := -DSYSINFO_KERNEL_VERSION=\"AOS-R-1.1.2\" -Wall -Wno-missing-field-initializers -Wno-strict-aliasing -Wno-address -Wno-unused-result -DSYSINFO_PRODUCT_MODEL=\"ALI_AOS_LINUXHOST\" -DSYSINFO_DEVICE_NAME=\"LINUXHOST\" -m32 -std=gnu99 -ggdb -Os -DAOS_SDK_VERSION_MAJOR=3 -DAOS_SDK_VERSION_MINOR=2 -DAOS_SDK_VERSION_REVISION=3 -Iout/helloworld@linuxhost/resources/ -DPLATFORM=\"linuxhost\" ' >> out/helloworld@linuxhost/config.mk ; echo 'linuximpl_CFLAGS := -DSYSINFO_KERNEL_VERSION=\"AOS-R-1.1.2\" -Wall -Wno-missing-field-initializers -Wno-strict-aliasing -Wno-address -Wno-unused-result -DSYSINFO_PRODUCT_MODEL=\"ALI_AOS_LINUXHOST\" -DSYSINFO_DEVICE_NAME=\"LINUXHOST\" -m32 -std=gnu99 -ggdb -Os -DAOS_SDK_VERSION_MAJOR=3 -DAOS_SDK_VERSION_MINOR=2 -DAOS_SDK_VERSION_REVISION=3 -Iout/helloworld@linuxhost/resources/ -DPLATFORM=\"linuxhost\" -Wall -Werror -Wno-unused-variable -Wno-unused-parameter -Wno-implicit-function-declaration -Wno-type-limits -Wno-sign-compare -Wno-pointer-sign -Wno-uninitialized -Wno-return-type -Wno-unused-function -Wno-unused-but-set-variable -Wno-unused-value -Wno-strict-aliasing -Wall -Werror -Wno-unused-variable -Wno-unused-parameter -Wno-implicit-function-declaration -Wno-type-limits -Wno-sign-compare -Wno-pointer-sign -Wno-uninitialized -Wno-return-type -Wno-unused-function -Wno-unused-but-set-variable -Wno-unused-value -Wno-strict-aliasing' >> out/helloworld@linuxhost/config.mk ; echo 'vcall_CFLAGS := -DSYSINFO_KERNEL_VERSION=\"AOS-R-1.1.2\" -Wall -Wno-missing-field-initializers -Wno-strict-aliasing -Wno-address -Wno-unused-result -DSYSINFO_PRODUCT_MODEL=\"ALI_AOS_LINUXHOST\" -DSYSINFO_DEVICE_NAME=\"LINUXHOST\" -m32 -std=gnu99 -ggdb -Os -DAOS_SDK_VERSION_MAJOR=3 -DAOS_SDK_VERSION_MINOR=2 -DAOS_SDK_VERSION_REVISION=3 -Iout/helloworld@linuxhost/resources/ -DPLATFORM=\"linuxhost\" -Wall -Werror' >> out/helloworld@linuxhost/config.mk ; echo 'kernel_init_CFLAGS := -DSYSINFO_KERNEL_VERSION=\"AOS-R-1.1.2\" -Wall -Wno-missing-field-initializers -Wno-strict-aliasing -Wno-address -Wno-unused-result -DSYSINFO_PRODUCT_MODEL=\"ALI_AOS_LINUXHOST\" -DSYSINFO_DEVICE_NAME=\"LINUXHOST\" -m32 -std=gnu99 -ggdb -Os -DAOS_SDK_VERSION_MAJOR=3 -DAOS_SDK_VERSION_MINOR=2 -DAOS_SDK_VERSION_REVISION=3 -Iout/helloworld@linuxhost/resources/ -DPLATFORM=\"linuxhost\" ' >> out/helloworld@linuxhost/config.mk ; echo 'auto_component_CFLAGS := -DSYSINFO_KERNEL_VERSION=\"AOS-R-1.1.2\" -Wall -Wno-missing-field-initializers -Wno-strict-aliasing -Wno-address -Wno-unused-result -DSYSINFO_PRODUCT_MODEL=\"ALI_AOS_LINUXHOST\" -DSYSINFO_DEVICE_NAME=\"LINUXHOST\" -m32 -std=gnu99 -ggdb -Os -DAOS_SDK_VERSION_MAJOR=3 -DAOS_SDK_VERSION_MINOR=2 -DAOS_SDK_VERSION_REVISION=3 -Iout/helloworld@linuxhost/resources/ -DPLATFORM=\"linuxhost\" ' >> out/helloworld@linuxhost/config.mk ; echo 'yloop_CFLAGS := -DSYSINFO_KERNEL_VERSION=\"AOS-R-1.1.2\" -Wall -Wno-missing-field-initializers -Wno-strict-aliasing -Wno-address -Wno-unused-result -DSYSINFO_PRODUCT_MODEL=\"ALI_AOS_LINUXHOST\" -DSYSINFO_DEVICE_NAME=\"LINUXHOST\" -m32 -std=gnu99 -ggdb -Os -DAOS_SDK_VERSION_MAJOR=3 -DAOS_SDK_VERSION_MINOR=2 -DAOS_SDK_VERSION_REVISION=3 -Iout/helloworld@linuxhost/resources/ -DPLATFORM=\"linuxhost\" -Wall -Werror' >> out/helloworld@linuxhost/config.mk ; echo 'cli_CFLAGS := -DSYSINFO_KERNEL_VERSION=\"AOS-R-1.1.2\" -Wall -Wno-missing-field-initializers -Wno-strict-aliasing -Wno-address -Wno-unused-result -DSYSINFO_PRODUCT_MODEL=\"ALI_AOS_LINUXHOST\" -DSYSINFO_DEVICE_NAME=\"LINUXHOST\" -m32 -std=gnu99 -ggdb -Os -DAOS_SDK_VERSION_MAJOR=3 -DAOS_SDK_VERSION_MINOR=2 -DAOS_SDK_VERSION_REVISION=3 -Iout/helloworld@linuxhost/resources/ -DPLATFORM=\"linuxhost\" -Wall -Werror' >> out/helloworld@linuxhost/config.mk ; echo 'libtfs.a_CFLAGS := -DSYSINFO_KERNEL_VERSION=\"AOS-R-1.1.2\" -Wall -Wno-missing-field-initializers -Wno-strict-aliasing -Wno-address -Wno-unused-result -DSYSINFO_PRODUCT_MODEL=\"ALI_AOS_LINUXHOST\" -DSYSINFO_DEVICE_NAME=\"LINUXHOST\" -m32 -std=gnu99 -ggdb -Os -DAOS_SDK_VERSION_MAJOR=3 -DAOS_SDK_VERSION_MINOR=2 -DAOS_SDK_VERSION_REVISION=3 -Iout/helloworld@linuxhost/resources/ -DPLATFORM=\"linuxhost\" -Wall -Werror -Os' >> out/helloworld@linuxhost/config.mk ; echo 'log_CFLAGS := -DSYSINFO_KERNEL_VERSION=\"AOS-R-1.1.2\" -Wall -Wno-missing-field-initializers -Wno-strict-aliasing -Wno-address -Wno-unused-result -DSYSINFO_PRODUCT_MODEL=\"ALI_AOS_LINUXHOST\" -DSYSINFO_DEVICE_NAME=\"LINUXHOST\" -m32 -std=gnu99 -ggdb -Os -DAOS_SDK_VERSION_MAJOR=3 -DAOS_SDK_VERSION_MINOR=2 -DAOS_SDK_VERSION_REVISION=3 -Iout/helloworld@linuxhost/resources/ -DPLATFORM=\"linuxhost\" ' >> out/helloworld@linuxhost/config.mk ; echo 'mbedtls_CFLAGS := -DSYSINFO_KERNEL_VERSION=\"AOS-R-1.1.2\" -Wall -Wno-missing-field-initializers -Wno-strict-aliasing -Wno-address -Wno-unused-result -DSYSINFO_PRODUCT_MODEL=\"ALI_AOS_LINUXHOST\" -DSYSINFO_DEVICE_NAME=\"LINUXHOST\" -m32 -std=gnu99 -ggdb -Os -DAOS_SDK_VERSION_MAJOR=3 -DAOS_SDK_VERSION_MINOR=2 -DAOS_SDK_VERSION_REVISION=3 -Iout/helloworld@linuxhost/resources/ -DPLATFORM=\"linuxhost\" -Wall -Werror -Os' >> out/helloworld@linuxhost/config.mk ; echo 'rhino_CFLAGS := -DSYSINFO_KERNEL_VERSION=\"AOS-R-1.1.2\" -Wall -Wno-missing-field-initializers -Wno-strict-aliasing -Wno-address -Wno-unused-result -DSYSINFO_PRODUCT_MODEL=\"ALI_AOS_LINUXHOST\" -DSYSINFO_DEVICE_NAME=\"LINUXHOST\" -m32 -std=gnu99 -ggdb -Os -DAOS_SDK_VERSION_MAJOR=3 -DAOS_SDK_VERSION_MINOR=2 -DAOS_SDK_VERSION_REVISION=3 -Iout/helloworld@linuxhost/resources/ -DPLATFORM=\"linuxhost\" -Wall -Werror' >> out/helloworld@linuxhost/config.mk ; echo 'vfs_CFLAGS := -DSYSINFO_KERNEL_VERSION=\"AOS-R-1.1.2\" -Wall -Wno-missing-field-initializers -Wno-strict-aliasing -Wno-address -Wno-unused-result -DSYSINFO_PRODUCT_MODEL=\"ALI_AOS_LINUXHOST\" -DSYSINFO_DEVICE_NAME=\"LINUXHOST\" -m32 -std=gnu99 -ggdb -Os -DAOS_SDK_VERSION_MAJOR=3 -DAOS_SDK_VERSION_MINOR=2 -DAOS_SDK_VERSION_REVISION=3 -Iout/helloworld@linuxhost/resources/ -DPLATFORM=\"linuxhost\" -Wall -Werror' >> out/helloworld@linuxhost/config.mk ; echo 'hal_CFLAGS := -DSYSINFO_KERNEL_VERSION=\"AOS-R-1.1.2\" -Wall -Wno-missing-field-initializers -Wno-strict-aliasing -Wno-address -Wno-unused-result -DSYSINFO_PRODUCT_MODEL=\"ALI_AOS_LINUXHOST\" -DSYSINFO_DEVICE_NAME=\"LINUXHOST\" -m32 -std=gnu99 -ggdb -Os -DAOS_SDK_VERSION_MAJOR=3 -DAOS_SDK_VERSION_MINOR=2 -DAOS_SDK_VERSION_REVISION=3 -Iout/helloworld@linuxhost/resources/ -DPLATFORM=\"linuxhost\" -Wall -Werror' >> out/helloworld@linuxhost/config.mk ; echo 'alicrypto_CFLAGS := -DSYSINFO_KERNEL_VERSION=\"AOS-R-1.1.2\" -Wall -Wno-missing-field-initializers -Wno-strict-aliasing -Wno-address -Wno-unused-result -DSYSINFO_PRODUCT_MODEL=\"ALI_AOS_LINUXHOST\" -DSYSINFO_DEVICE_NAME=\"LINUXHOST\" -m32 -std=gnu99 -ggdb -Os -DAOS_SDK_VERSION_MAJOR=3 -DAOS_SDK_VERSION_MINOR=2 -DAOS_SDK_VERSION_REVISION=3 -Iout/helloworld@linuxhost/resources/ -DPLATFORM=\"linuxhost\" ' >> out/helloworld@linuxhost/config.mk ; echo 'vfs_device_CFLAGS := -DSYSINFO_KERNEL_VERSION=\"AOS-R-1.1.2\" -Wall -Wno-missing-field-initializers -Wno-strict-aliasing -Wno-address -Wno-unused-result -DSYSINFO_PRODUCT_MODEL=\"ALI_AOS_LINUXHOST\" -DSYSINFO_DEVICE_NAME=\"LINUXHOST\" -m32 -std=gnu99 -ggdb -Os -DAOS_SDK_VERSION_MAJOR=3 -DAOS_SDK_VERSION_MINOR=2 -DAOS_SDK_VERSION_REVISION=3 -Iout/helloworld@linuxhost/resources/ -DPLATFORM=\"linuxhost\" ' >> out/helloworld@linuxhost/config.mk ;
echo 'helloworld_CXXFLAGS := -ggdb -Os -DAOS_SDK_VERSION_MAJOR=3 -DAOS_SDK_VERSION_MINOR=2 -DAOS_SDK_VERSION_REVISION=3 -Iout/helloworld@linuxhost/resources/ -DPLATFORM=\"linuxhost\" ' >> out/helloworld@linuxhost/config.mk ; echo 'board_linuxhost_CXXFLAGS := -ggdb -Os -DAOS_SDK_VERSION_MAJOR=3 -DAOS_SDK_VERSION_MINOR=2 -DAOS_SDK_VERSION_REVISION=3 -Iout/helloworld@linuxhost/resources/ -DPLATFORM=\"linuxhost\" ' >> out/helloworld@linuxhost/config.mk ; echo 'linuximpl_CXXFLAGS := -ggdb -Os -DAOS_SDK_VERSION_MAJOR=3 -DAOS_SDK_VERSION_MINOR=2 -DAOS_SDK_VERSION_REVISION=3 -Iout/helloworld@linuxhost/resources/ -DPLATFORM=\"linuxhost\" ' >> out/helloworld@linuxhost/config.mk ; echo 'vcall_CXXFLAGS := -ggdb -Os -DAOS_SDK_VERSION_MAJOR=3 -DAOS_SDK_VERSION_MINOR=2 -DAOS_SDK_VERSION_REVISION=3 -Iout/helloworld@linuxhost/resources/ -DPLATFORM=\"linuxhost\" ' >> out/helloworld@linuxhost/config.mk ; echo 'kernel_init_CXXFLAGS := -ggdb -Os -DAOS_SDK_VERSION_MAJOR=3 -DAOS_SDK_VERSION_MINOR=2 -DAOS_SDK_VERSION_REVISION=3 -Iout/helloworld@linuxhost/resources/ -DPLATFORM=\"linuxhost\" ' >> out/helloworld@linuxhost/config.mk ; echo 'auto_component_CXXFLAGS := -ggdb -Os -DAOS_SDK_VERSION_MAJOR=3 -DAOS_SDK_VERSION_MINOR=2 -DAOS_SDK_VERSION_REVISION=3 -Iout/helloworld@linuxhost/resources/ -DPLATFORM=\"linuxhost\" ' >> out/helloworld@linuxhost/config.mk ; echo 'yloop_CXXFLAGS := -ggdb -Os -DAOS_SDK_VERSION_MAJOR=3 -DAOS_SDK_VERSION_MINOR=2 -DAOS_SDK_VERSION_REVISION=3 -Iout/helloworld@linuxhost/resources/ -DPLATFORM=\"linuxhost\" ' >> out/helloworld@linuxhost/config.mk ; echo 'cli_CXXFLAGS := -ggdb -Os -DAOS_SDK_VERSION_MAJOR=3 -DAOS_SDK_VERSION_MINOR=2 -DAOS_SDK_VERSION_REVISION=3 -Iout/helloworld@linuxhost/resources/ -DPLATFORM=\"linuxhost\" ' >> out/helloworld@linuxhost/config.mk ; echo 'libtfs.a_CXXFLAGS := -ggdb -Os -DAOS_SDK_VERSION_MAJOR=3 -DAOS_SDK_VERSION_MINOR=2 -DAOS_SDK_VERSION_REVISION=3 -Iout/helloworld@linuxhost/resources/ -DPLATFORM=\"linuxhost\" ' >> out/helloworld@linuxhost/config.mk ; echo 'log_CXXFLAGS := -ggdb -Os -DAOS_SDK_VERSION_MAJOR=3 -DAOS_SDK_VERSION_MINOR=2 -DAOS_SDK_VERSION_REVISION=3 -Iout/helloworld@linuxhost/resources/ -DPLATFORM=\"linuxhost\" ' >> out/helloworld@linuxhost/config.mk ; echo 'mbedtls_CXXFLAGS := -ggdb -Os -DAOS_SDK_VERSION_MAJOR=3 -DAOS_SDK_VERSION_MINOR=2 -DAOS_SDK_VERSION_REVISION=3 -Iout/helloworld@linuxhost/resources/ -DPLATFORM=\"linuxhost\" ' >> out/helloworld@linuxhost/config.mk ; echo 'rhino_CXXFLAGS := -ggdb -Os -DAOS_SDK_VERSION_MAJOR=3 -DAOS_SDK_VERSION_MINOR=2 -DAOS_SDK_VERSION_REVISION=3 -Iout/helloworld@linuxhost/resources/ -DPLATFORM=\"linuxhost\" ' >> out/helloworld@linuxhost/config.mk ; echo 'vfs_CXXFLAGS := -ggdb -Os -DAOS_SDK_VERSION_MAJOR=3 -DAOS_SDK_VERSION_MINOR=2 -DAOS_SDK_VERSION_REVISION=3 -Iout/helloworld@linuxhost/resources/ -DPLATFORM=\"linuxhost\" ' >> out/helloworld@linuxhost/config.mk ; echo 'hal_CXXFLAGS := -ggdb -Os -DAOS_SDK_VERSION_MAJOR=3 -DAOS_SDK_VERSION_MINOR=2 -DAOS_SDK_VERSION_REVISION=3 -Iout/helloworld@linuxhost/resources/ -DPLATFORM=\"linuxhost\" ' >> out/helloworld@linuxhost/config.mk ; echo 'alicrypto_CXXFLAGS := -ggdb -Os -DAOS_SDK_VERSION_MAJOR=3 -DAOS_SDK_VERSION_MINOR=2 -DAOS_SDK_VERSION_REVISION=3 -Iout/helloworld@linuxhost/resources/ -DPLATFORM=\"linuxhost\" ' >> out/helloworld@linuxhost/config.mk ; echo 'vfs_device_CXXFLAGS := -ggdb -Os -DAOS_SDK_VERSION_MAJOR=3 -DAOS_SDK_VERSION_MINOR=2 -DAOS_SDK_VERSION_REVISION=3 -Iout/helloworld@linuxhost/resources/ -DPLATFORM=\"linuxhost\" ' >> out/helloworld@linuxhost/config.mk ;
echo 'helloworld_ASMFLAGS := ' >> out/helloworld@linuxhost/config.mk ; echo 'board_linuxhost_ASMFLAGS := ' >> out/helloworld@linuxhost/config.mk ; echo 'linuximpl_ASMFLAGS := ' >> out/helloworld@linuxhost/config.mk ; echo 'vcall_ASMFLAGS := ' >> out/helloworld@linuxhost/config.mk ; echo 'kernel_init_ASMFLAGS := ' >> out/helloworld@linuxhost/config.mk ; echo 'auto_component_ASMFLAGS := ' >> out/helloworld@linuxhost/config.mk ; echo 'yloop_ASMFLAGS := ' >> out/helloworld@linuxhost/config.mk ; echo 'cli_ASMFLAGS := ' >> out/helloworld@linuxhost/config.mk ; echo 'libtfs.a_ASMFLAGS := ' >> out/helloworld@linuxhost/config.mk ; echo 'log_ASMFLAGS := ' >> out/helloworld@linuxhost/config.mk ; echo 'mbedtls_ASMFLAGS := ' >> out/helloworld@linuxhost/config.mk ; echo 'rhino_ASMFLAGS := ' >> out/helloworld@linuxhost/config.mk ; echo 'vfs_ASMFLAGS := ' >> out/helloworld@linuxhost/config.mk ; echo 'hal_ASMFLAGS := ' >> out/helloworld@linuxhost/config.mk ; echo 'alicrypto_ASMFLAGS := ' >> out/helloworld@linuxhost/config.mk ; echo 'vfs_device_ASMFLAGS := ' >> out/helloworld@linuxhost/config.mk ;
echo 'helloworld_RESOURCES := ' >> out/helloworld@linuxhost/config.mk ; echo 'board_linuxhost_RESOURCES := ' >> out/helloworld@linuxhost/config.mk ; echo 'linuximpl_RESOURCES := ' >> out/helloworld@linuxhost/config.mk ; echo 'vcall_RESOURCES := ' >> out/helloworld@linuxhost/config.mk ; echo 'kernel_init_RESOURCES := ' >> out/helloworld@linuxhost/config.mk ; echo 'auto_component_RESOURCES := ' >> out/helloworld@linuxhost/config.mk ; echo 'yloop_RESOURCES := ' >> out/helloworld@linuxhost/config.mk ; echo 'cli_RESOURCES := ' >> out/helloworld@linuxhost/config.mk ; echo 'libtfs.a_RESOURCES := ' >> out/helloworld@linuxhost/config.mk ; echo 'log_RESOURCES := ' >> out/helloworld@linuxhost/config.mk ; echo 'mbedtls_RESOURCES := ' >> out/helloworld@linuxhost/config.mk ; echo 'rhino_RESOURCES := ' >> out/helloworld@linuxhost/config.mk ; echo 'vfs_RESOURCES := ' >> out/helloworld@linuxhost/config.mk ; echo 'hal_RESOURCES := ' >> out/helloworld@linuxhost/config.mk ; echo 'alicrypto_RESOURCES := ' >> out/helloworld@linuxhost/config.mk ; echo 'vfs_device_RESOURCES := ' >> out/helloworld@linuxhost/config.mk ;
echo 'helloworld_MAKEFILE := ./example/helloworld/helloworld.mk' >> out/helloworld@linuxhost/config.mk ; echo 'board_linuxhost_MAKEFILE := ./board/linuxhost/linuxhost.mk' >> out/helloworld@linuxhost/config.mk ; echo 'linuximpl_MAKEFILE := ././platform/mcu/linux/linux.mk' >> out/helloworld@linuxhost/config.mk ; echo 'vcall_MAKEFILE := ./kernel/vcall/vcall.mk' >> out/helloworld@linuxhost/config.mk ; echo 'kernel_init_MAKEFILE := ./kernel/init/init.mk' >> out/helloworld@linuxhost/config.mk ; echo 'auto_component_MAKEFILE := ./out/helloworld@linuxhost/auto_component/auto_component.mk' >> out/helloworld@linuxhost/config.mk ; echo 'yloop_MAKEFILE := ./kernel/yloop/yloop.mk' >> out/helloworld@linuxhost/config.mk ; echo 'cli_MAKEFILE := ./tools/cli/cli.mk' >> out/helloworld@linuxhost/config.mk ; echo 'libtfs.a_MAKEFILE := ./security/tfs/tfs.mk' >> out/helloworld@linuxhost/config.mk ; echo 'log_MAKEFILE := ./utility/log/log.mk' >> out/helloworld@linuxhost/config.mk ; echo 'mbedtls_MAKEFILE := ./security/mbedtls/mbedtls.mk' >> out/helloworld@linuxhost/config.mk ; echo 'rhino_MAKEFILE := ./kernel/rhino/rhino.mk' >> out/helloworld@linuxhost/config.mk ; echo 'vfs_MAKEFILE := ./kernel/vfs/vfs.mk' >> out/helloworld@linuxhost/config.mk ; echo 'hal_MAKEFILE := ./kernel/hal/hal.mk' >> out/helloworld@linuxhost/config.mk ; echo 'alicrypto_MAKEFILE := ./security/alicrypto/alicrypto.mk' >> out/helloworld@linuxhost/config.mk ; echo 'vfs_device_MAKEFILE := ././kernel/vfs/device/device.mk' >> out/helloworld@linuxhost/config.mk ;
echo 'helloworld_PRE_BUILD_TARGETS:= ' >> out/helloworld@linuxhost/config.mk ; echo 'board_linuxhost_PRE_BUILD_TARGETS:= ' >> out/helloworld@linuxhost/config.mk ; echo 'linuximpl_PRE_BUILD_TARGETS:= ' >> out/helloworld@linuxhost/config.mk ; echo 'vcall_PRE_BUILD_TARGETS:= ' >> out/helloworld@linuxhost/config.mk ; echo 'kernel_init_PRE_BUILD_TARGETS:= ' >> out/helloworld@linuxhost/config.mk ; echo 'auto_component_PRE_BUILD_TARGETS:= ' >> out/helloworld@linuxhost/config.mk ; echo 'yloop_PRE_BUILD_TARGETS:= ' >> out/helloworld@linuxhost/config.mk ; echo 'cli_PRE_BUILD_TARGETS:= ' >> out/helloworld@linuxhost/config.mk ; echo 'libtfs.a_PRE_BUILD_TARGETS:= ' >> out/helloworld@linuxhost/config.mk ; echo 'log_PRE_BUILD_TARGETS:= ' >> out/helloworld@linuxhost/config.mk ; echo 'mbedtls_PRE_BUILD_TARGETS:= ' >> out/helloworld@linuxhost/config.mk ; echo 'rhino_PRE_BUILD_TARGETS:= ' >> out/helloworld@linuxhost/config.mk ; echo 'vfs_PRE_BUILD_TARGETS:= ' >> out/helloworld@linuxhost/config.mk ; echo 'hal_PRE_BUILD_TARGETS:= ' >> out/helloworld@linuxhost/config.mk ; echo 'alicrypto_PRE_BUILD_TARGETS:= ' >> out/helloworld@linuxhost/config.mk ; echo 'vfs_device_PRE_BUILD_TARGETS:= ' >> out/helloworld@linuxhost/config.mk ;
echo 'helloworld_PREBUILT_LIBRARY := ' >> out/helloworld@linuxhost/config.mk ; echo 'board_linuxhost_PREBUILT_LIBRARY := ' >> out/helloworld@linuxhost/config.mk ; echo 'linuximpl_PREBUILT_LIBRARY := ' >> out/helloworld@linuxhost/config.mk ; echo 'vcall_PREBUILT_LIBRARY := ' >> out/helloworld@linuxhost/config.mk ; echo 'kernel_init_PREBUILT_LIBRARY := ' >> out/helloworld@linuxhost/config.mk ; echo 'auto_component_PREBUILT_LIBRARY := ' >> out/helloworld@linuxhost/config.mk ; echo 'yloop_PREBUILT_LIBRARY := ' >> out/helloworld@linuxhost/config.mk ; echo 'cli_PREBUILT_LIBRARY := ' >> out/helloworld@linuxhost/config.mk ; echo 'libtfs.a_PREBUILT_LIBRARY := ./security/tfs/lib/linux/libtfs.a ./security/tfs/lib/linux/libtfspal.a' >> out/helloworld@linuxhost/config.mk ; echo 'log_PREBUILT_LIBRARY := ' >> out/helloworld@linuxhost/config.mk ; echo 'mbedtls_PREBUILT_LIBRARY := ./security/mbedtls/lib/linux/libmbedtls.a' >> out/helloworld@linuxhost/config.mk ; echo 'rhino_PREBUILT_LIBRARY := ' >> out/helloworld@linuxhost/config.mk ; echo 'vfs_PREBUILT_LIBRARY := ' >> out/helloworld@linuxhost/config.mk ; echo 'hal_PREBUILT_LIBRARY := ' >> out/helloworld@linuxhost/config.mk ; echo 'alicrypto_PREBUILT_LIBRARY := ./security/alicrypto/lib/linux/libmbedcrypto.a ./security/alicrypto/lib/linux/libalicrypto.a' >> out/helloworld@linuxhost/config.mk ; echo 'vfs_device_PREBUILT_LIBRARY := ' >> out/helloworld@linuxhost/config.mk ;
echo 'helloworld_TYPE := ' >> out/helloworld@linuxhost/config.mk ; echo 'board_linuxhost_TYPE := ' >> out/helloworld@linuxhost/config.mk ; echo 'linuximpl_TYPE := ' >> out/helloworld@linuxhost/config.mk ; echo 'vcall_TYPE := kernel' >> out/helloworld@linuxhost/config.mk ; echo 'kernel_init_TYPE := kernel' >> out/helloworld@linuxhost/config.mk ; echo 'auto_component_TYPE := kernel' >> out/helloworld@linuxhost/config.mk ; echo 'yloop_TYPE := kernel' >> out/helloworld@linuxhost/config.mk ; echo 'cli_TYPE := kernel' >> out/helloworld@linuxhost/config.mk ; echo 'libtfs.a_TYPE := ' >> out/helloworld@linuxhost/config.mk ; echo 'log_TYPE := share' >> out/helloworld@linuxhost/config.mk ; echo 'mbedtls_TYPE := ' >> out/helloworld@linuxhost/config.mk ; echo 'rhino_TYPE := kernel' >> out/helloworld@linuxhost/config.mk ; echo 'vfs_TYPE := kernel' >> out/helloworld@linuxhost/config.mk ; echo 'hal_TYPE := kernel' >> out/helloworld@linuxhost/config.mk ; echo 'alicrypto_TYPE := ' >> out/helloworld@linuxhost/config.mk ; echo 'vfs_device_TYPE := ' >> out/helloworld@linuxhost/config.mk ;
echo 'AOS_SDK_UNIT_TEST_SOURCES := ' >> out/helloworld@linuxhost/config.mk ;
echo 'ALL_RESOURCES := ' >> out/helloworld@linuxhost/config.mk ;
echo 'INTERNAL_MEMORY_RESOURCES := ' >> out/helloworld@linuxhost/config.mk ;
echo 'EXTRA_TARGET_MAKEFILES := ' >> out/helloworld@linuxhost/config.mk ;
echo 'APPS_START_SECTOR := ' >> out/helloworld@linuxhost/config.mk ;
echo 'BOOTLOADER_FIRMWARE := ' >> out/helloworld@linuxhost/config.mk ;
echo 'ATE_FIRMWARE := ' >> out/helloworld@linuxhost/config.mk ;
echo 'APPLICATION_FIRMWARE := ' >> out/helloworld@linuxhost/config.mk ;
echo 'PARAMETER_1_IMAGE := ' >> out/helloworld@linuxhost/config.mk ;
echo 'PARAMETER_2_IMAGE := ' >> out/helloworld@linuxhost/config.mk ;
echo 'FILESYSTEM_IMAGE := ' >> out/helloworld@linuxhost/config.mk ;
echo 'WIFI_FIRMWARE := ' >> out/helloworld@linuxhost/config.mk ;
echo 'BT_PATCH_FIRMWARE := ' >> out/helloworld@linuxhost/config.mk ;
echo 'AOS_ROM_SYMBOL_LIST_FILE := ' >> out/helloworld@linuxhost/config.mk ;
echo 'AOS_SDK_CHIP_SPECIFIC_SCRIPT := ' >> out/helloworld@linuxhost/config.mk ;
echo 'AOS_SDK_CONVERTER_OUTPUT_FILE := ' >> out/helloworld@linuxhost/config.mk ;
echo 'AOS_SDK_FINAL_OUTPUT_FILE := ' >> out/helloworld@linuxhost/config.mk ;
echo 'AOS_RAM_STUB_LIST_FILE := ' >> out/helloworld@linuxhost/config.mk ;
make[1]: Leaving directory '/opt/AliOS-Things'
echo Build AOS Now
Build AOS Now
"/opt/AliOS-Things/build/cmd/linux64/mkdir" -p out/helloworld@linuxhost/binary
"/opt/AliOS-Things/build/cmd/linux64/mkdir" -p out/helloworld@linuxhost/modules
"/opt/AliOS-Things/build/cmd/linux64/mkdir" -p out/helloworld@linuxhost/libraries
"/opt/AliOS-Things/build/cmd/linux64/mkdir" -p out/helloworld@linuxhost/resources
"/usr/bin/python" .//build/scripts/gen_auto_code.py out/helloworld@linuxhost/config.mk out/helloworld@linuxhost/auto_component
"/opt/AliOS-Things/build/cmd/linux64/make" -r -j4 -f .//build/aos_target_build.mk helloworld@linuxhost
make[1]: Entering directory '/opt/AliOS-Things'
"/opt/AliOS-Things/build/cmd/linux64/mkdir" -p out/helloworld@linuxhost/Modules/example/helloworld/
echo "/* Automatically generated file - this comment ensures resources.h file creation */" > out/helloworld@linuxhost/resources/resources.h
echo ' -c -MD -DSYSINFO_KERNEL_VERSION=\"AOS-R-1.1.2\" -Wall -Wno-missing-field-initializers -Wno-strict-aliasing -Wno-address -Wno-unused-result -DSYSINFO_PRODUCT_MODEL=\"ALI_AOS_LINUXHOST\" -DSYSINFO_DEVICE_NAME=\"LINUXHOST\" -m32 -std=gnu99 -ggdb -Os -DAOS_SDK_VERSION_MAJOR=3 -DAOS_SDK_VERSION_MINOR=2 -DAOS_SDK_VERSION_REVISION=3 -Iout/helloworld@linuxhost/resources/ -DPLATFORM=\"linuxhost\" -I./security/alicrypto/inc -I./security/alicrypto/test -I./kernel/vfs/include -I./kernel/rhino/core/include -I./security/mbedtls/include -I./security/tfs/include -I./tools/cli/include -I./kernel/vcall/./mico/include -I././platform/mcu/linux/. -I././platform/mcu/linux/../../arch/linux/ -I././platform/mcu/linux/include -I././platform/mcu/linux/include/aos -I././platform/mcu/linux/csp/lwip/include -I./board/linuxhost/. -I./include -I./example/helloworld -DBUILD_BIN -DCONFIG_ALICRYPTO -DAOS_HAL -DAOS_VFS -DHAVE_NOT_ADVANCED_FORMATE -DCONFIG_AOS_CLI -DAOS_LOOP -DVCALL_RHINO -DCONFIG_AOS_RHINO_MMREGION -DCONFIG_YSH_CMD_DUMPSYS -DCSP_LINUXHOST -DCONFIG_LOGMACRO_DETAILS -DCONFIG_AOS_FATFS_SUPPORT -DCONFIG_AOS_FATFS_SUPPORT_MMC -DCONFIG_AOS_FOTA_BREAKPOINT -DAOS_NO_WIFI' > out/helloworld@linuxhost/libraries/helloworld.c_opts;
echo 'out/helloworld@linuxhost/Modules/example/helloworld/helloworld.o ' > out/helloworld@linuxhost/libraries/helloworld.ar_opts ;
"/opt/AliOS-Things/build/cmd/linux64/mkdir" -p out/helloworld@linuxhost/Modules/./platform/mcu/linux/../../arch/linux//
echo ' -c -MD -DSYSINFO_KERNEL_VERSION=\"AOS-R-1.1.2\" -Wall -Wno-missing-field-initializers -Wno-strict-aliasing -Wno-address -Wno-unused-result -DSYSINFO_PRODUCT_MODEL=\"ALI_AOS_LINUXHOST\" -DSYSINFO_DEVICE_NAME=\"LINUXHOST\" -m32 -std=gnu99 -ggdb -Os -DAOS_SDK_VERSION_MAJOR=3 -DAOS_SDK_VERSION_MINOR=2 -DAOS_SDK_VERSION_REVISION=3 -Iout/helloworld@linuxhost/resources/ -DPLATFORM=\"linuxhost\" -Wall -Werror -Wno-unused-variable -Wno-unused-parameter -Wno-implicit-function-declaration -Wno-type-limits -Wno-sign-compare -Wno-pointer-sign -Wno-uninitialized -Wno-return-type -Wno-unused-function -Wno-unused-but-set-variable -Wno-unused-value -Wno-strict-aliasing -Wall -Werror -Wno-unused-variable -Wno-unused-parameter -Wno-implicit-function-declaration -Wno-type-limits -Wno-sign-compare -Wno-pointer-sign -Wno-uninitialized -Wno-return-type -Wno-unused-function -Wno-unused-but-set-variable -Wno-unused-value -Wno-strict-aliasing -I././platform/mcu/linux/. -I././platform/mcu/linux/. -I./security/alicrypto/inc -I./security/alicrypto/test -I./kernel/vfs/include -I./kernel/rhino/core/include -I./security/mbedtls/include -I./security/tfs/include -I./tools/cli/include -I./kernel/vcall/./mico/include -I././platform/mcu/linux/. -I././platform/mcu/linux/../../arch/linux/ -I././platform/mcu/linux/include -I././platform/mcu/linux/include/aos -I././platform/mcu/linux/csp/lwip/include -I./board/linuxhost/. -I./include -I./example/helloworld -DBUILD_BIN -DCONFIG_ALICRYPTO -DAOS_HAL -DAOS_VFS -DHAVE_NOT_ADVANCED_FORMATE -DCONFIG_AOS_CLI -DAOS_LOOP -DVCALL_RHINO -DCONFIG_AOS_RHINO_MMREGION -DCONFIG_YSH_CMD_DUMPSYS -DCSP_LINUXHOST -DCONFIG_LOGMACRO_DETAILS -DCONFIG_AOS_FATFS_SUPPORT -DCONFIG_AOS_FATFS_SUPPORT_MMC -DCONFIG_AOS_FOTA_BREAKPOINT -DAOS_NO_WIFI' > out/helloworld@linuxhost/libraries/linuximpl.c_opts;
"/opt/AliOS-Things/build/cmd/linux64/mkdir" -p out/helloworld@linuxhost/Modules/./platform/mcu/linux/soc/
echo > out/helloworld@linuxhost/Modules/example/helloworld/.d
"/opt/AliOS-Things/build/cmd/linux64/mkdir" -p out/helloworld@linuxhost/Modules/./platform/mcu/linux/main/
echo 'out/helloworld@linuxhost/Modules/./platform/mcu/linux/../../arch/linux//cpu_impl.o out/helloworld@linuxhost/Modules/./platform/mcu/linux/soc/soc_impl.o out/helloworld@linuxhost/Modules/./platform/mcu/linux/soc/hook_impl.o out/helloworld@linuxhost/Modules/./platform/mcu/linux/soc/trace_impl.o out/helloworld@linuxhost/Modules/./platform/mcu/linux/soc/uart.o out/helloworld@linuxhost/Modules/./platform/mcu/linux/main/arg_options.o out/helloworld@linuxhost/Modules/./platform/mcu/linux/main/main.o out/helloworld@linuxhost/Modules/./platform/mcu/linux/main/hw.o out/helloworld@linuxhost/Modules/./platform/mcu/linux/main/wifi_port.o out/helloworld@linuxhost/Modules/./platform/mcu/linux/main/ota_port.o ' > out/helloworld@linuxhost/libraries/linuximpl.ar_opts ;
echo > out/helloworld@linuxhost/Modules/./platform/mcu/linux/../../arch/linux//.d
"/opt/AliOS-Things/build/cmd/linux64/mkdir" -p out/helloworld@linuxhost/Modules/kernel/vcall/mico/
echo > out/helloworld@linuxhost/Modules/./platform/mcu/linux/main/.d
echo ' -c -MD -DSYSINFO_KERNEL_VERSION=\"AOS-R-1.1.2\" -Wall -Wno-missing-field-initializers -Wno-strict-aliasing -Wno-address -Wno-unused-result -DSYSINFO_PRODUCT_MODEL=\"ALI_AOS_LINUXHOST\" -DSYSINFO_DEVICE_NAME=\"LINUXHOST\" -m32 -std=gnu99 -ggdb -Os -DAOS_SDK_VERSION_MAJOR=3 -DAOS_SDK_VERSION_MINOR=2 -DAOS_SDK_VERSION_REVISION=3 -Iout/helloworld@linuxhost/resources/ -DPLATFORM=\"linuxhost\" -Wall -Werror -I./security/alicrypto/inc -I./security/alicrypto/test -I./kernel/vfs/include -I./kernel/rhino/core/include -I./security/mbedtls/include -I./security/tfs/include -I./tools/cli/include -I./kernel/vcall/./mico/include -I././platform/mcu/linux/. -I././platform/mcu/linux/../../arch/linux/ -I././platform/mcu/linux/include -I././platform/mcu/linux/include/aos -I././platform/mcu/linux/csp/lwip/include -I./board/linuxhost/. -I./include -I./example/helloworld -DBUILD_BIN -DCONFIG_ALICRYPTO -DAOS_HAL -DAOS_VFS -DHAVE_NOT_ADVANCED_FORMATE -DCONFIG_AOS_CLI -DAOS_LOOP -DVCALL_RHINO -DCONFIG_AOS_RHINO_MMREGION -DCONFIG_YSH_CMD_DUMPSYS -DCSP_LINUXHOST -DCONFIG_LOGMACRO_DETAILS -DCONFIG_AOS_FATFS_SUPPORT -DCONFIG_AOS_FATFS_SUPPORT_MMC -DCONFIG_AOS_FOTA_BREAKPOINT -DAOS_NO_WIFI' > out/helloworld@linuxhost/libraries/vcall.c_opts;
echo > out/helloworld@linuxhost/Modules/./platform/mcu/linux/soc/.d
"/opt/AliOS-Things/build/cmd/linux64/mkdir" -p out/helloworld@linuxhost/Modules/kernel/vcall/aos/
echo 'out/helloworld@linuxhost/Modules/kernel/vcall/mico/mico_rhino.o out/helloworld@linuxhost/Modules/kernel/vcall/aos/aos_rhino.o ' > out/helloworld@linuxhost/libraries/vcall.ar_opts ;
echo > out/helloworld@linuxhost/Modules/kernel/vcall/mico/.d
"/opt/AliOS-Things/build/cmd/linux64/mkdir" -p out/helloworld@linuxhost/Modules/kernel/init/
echo ' -c -MD -DSYSINFO_KERNEL_VERSION=\"AOS-R-1.1.2\" -Wall -Wno-missing-field-initializers -Wno-strict-aliasing -Wno-address -Wno-unused-result -DSYSINFO_PRODUCT_MODEL=\"ALI_AOS_LINUXHOST\" -DSYSINFO_DEVICE_NAME=\"LINUXHOST\" -m32 -std=gnu99 -ggdb -Os -DAOS_SDK_VERSION_MAJOR=3 -DAOS_SDK_VERSION_MINOR=2 -DAOS_SDK_VERSION_REVISION=3 -Iout/helloworld@linuxhost/resources/ -DPLATFORM=\"linuxhost\" -I./security/alicrypto/inc -I./security/alicrypto/test -I./kernel/vfs/include -I./kernel/rhino/core/include -I./security/mbedtls/include -I./security/tfs/include -I./tools/cli/include -I./kernel/vcall/./mico/include -I././platform/mcu/linux/. -I././platform/mcu/linux/../../arch/linux/ -I././platform/mcu/linux/include -I././platform/mcu/linux/include/aos -I././platform/mcu/linux/csp/lwip/include -I./board/linuxhost/. -I./include -I./example/helloworld -DBUILD_BIN -DCONFIG_ALICRYPTO -DAOS_HAL -DAOS_VFS -DHAVE_NOT_ADVANCED_FORMATE -DCONFIG_AOS_CLI -DAOS_LOOP -DVCALL_RHINO -DCONFIG_AOS_RHINO_MMREGION -DCONFIG_YSH_CMD_DUMPSYS -DCSP_LINUXHOST -DCONFIG_LOGMACRO_DETAILS -DCONFIG_AOS_FATFS_SUPPORT -DCONFIG_AOS_FATFS_SUPPORT_MMC -DCONFIG_AOS_FOTA_BREAKPOINT -DAOS_NO_WIFI' > out/helloworld@linuxhost/libraries/kernel_init.c_opts;
echo 'out/helloworld@linuxhost/Modules/kernel/init/aos_init.o ' > out/helloworld@linuxhost/libraries/kernel_init.ar_opts ;
"/opt/AliOS-Things/build/cmd/linux64/mkdir" -p out/helloworld@linuxhost/Modules/out/helloworld@linuxhost/auto_component/
echo > out/helloworld@linuxhost/Modules/kernel/vcall/aos/.d
echo ' -c -MD -DSYSINFO_KERNEL_VERSION=\"AOS-R-1.1.2\" -Wall -Wno-missing-field-initializers -Wno-strict-aliasing -Wno-address -Wno-unused-result -DSYSINFO_PRODUCT_MODEL=\"ALI_AOS_LINUXHOST\" -DSYSINFO_DEVICE_NAME=\"LINUXHOST\" -m32 -std=gnu99 -ggdb -Os -DAOS_SDK_VERSION_MAJOR=3 -DAOS_SDK_VERSION_MINOR=2 -DAOS_SDK_VERSION_REVISION=3 -Iout/helloworld@linuxhost/resources/ -DPLATFORM=\"linuxhost\" -I./security/alicrypto/inc -I./security/alicrypto/test -I./kernel/vfs/include -I./kernel/rhino/core/include -I./security/mbedtls/include -I./security/tfs/include -I./tools/cli/include -I./kernel/vcall/./mico/include -I././platform/mcu/linux/. -I././platform/mcu/linux/../../arch/linux/ -I././platform/mcu/linux/include -I././platform/mcu/linux/include/aos -I././platform/mcu/linux/csp/lwip/include -I./board/linuxhost/. -I./include -I./example/helloworld -DBUILD_BIN -DCONFIG_ALICRYPTO -DAOS_HAL -DAOS_VFS -DHAVE_NOT_ADVANCED_FORMATE -DCONFIG_AOS_CLI -DAOS_LOOP -DVCALL_RHINO -DCONFIG_AOS_RHINO_MMREGION -DCONFIG_YSH_CMD_DUMPSYS -DCSP_LINUXHOST -DCONFIG_LOGMACRO_DETAILS -DCONFIG_AOS_FATFS_SUPPORT -DCONFIG_AOS_FATFS_SUPPORT_MMC -DCONFIG_AOS_FOTA_BREAKPOINT -DAOS_NO_WIFI' > out/helloworld@linuxhost/libraries/auto_component.c_opts;
echo 'out/helloworld@linuxhost/Modules/out/helloworld@linuxhost/auto_component/component_init.o out/helloworld@linuxhost/Modules/out/helloworld@linuxhost/auto_component/testcase_register.o ' > out/helloworld@linuxhost/libraries/auto_component.ar_opts ;
echo > out/helloworld@linuxhost/Modules/kernel/init/.d
"/opt/AliOS-Things/build/cmd/linux64/mkdir" -p out/helloworld@linuxhost/Modules/kernel/yloop/
echo > out/helloworld@linuxhost/Modules/out/helloworld@linuxhost/auto_component/.d
echo ' -c -MD -DSYSINFO_KERNEL_VERSION=\"AOS-R-1.1.2\" -Wall -Wno-missing-field-initializers -Wno-strict-aliasing -Wno-address -Wno-unused-result -DSYSINFO_PRODUCT_MODEL=\"ALI_AOS_LINUXHOST\" -DSYSINFO_DEVICE_NAME=\"LINUXHOST\" -m32 -std=gnu99 -ggdb -Os -DAOS_SDK_VERSION_MAJOR=3 -DAOS_SDK_VERSION_MINOR=2 -DAOS_SDK_VERSION_REVISION=3 -Iout/helloworld@linuxhost/resources/ -DPLATFORM=\"linuxhost\" -Wall -Werror -I./security/alicrypto/inc -I./security/alicrypto/test -I./kernel/vfs/include -I./kernel/rhino/core/include -I./security/mbedtls/include -I./security/tfs/include -I./tools/cli/include -I./kernel/vcall/./mico/include -I././platform/mcu/linux/. -I././platform/mcu/linux/../../arch/linux/ -I././platform/mcu/linux/include -I././platform/mcu/linux/include/aos -I././platform/mcu/linux/csp/lwip/include -I./board/linuxhost/. -I./include -I./example/helloworld -DBUILD_BIN -DCONFIG_ALICRYPTO -DAOS_HAL -DAOS_VFS -DHAVE_NOT_ADVANCED_FORMATE -DCONFIG_AOS_CLI -DAOS_LOOP -DVCALL_RHINO -DCONFIG_AOS_RHINO_MMREGION -DCONFIG_YSH_CMD_DUMPSYS -DCSP_LINUXHOST -DCONFIG_LOGMACRO_DETAILS -DCONFIG_AOS_FATFS_SUPPORT -DCONFIG_AOS_FATFS_SUPPORT_MMC -DCONFIG_AOS_FOTA_BREAKPOINT -DAOS_NO_WIFI' > out/helloworld@linuxhost/libraries/yloop.c_opts;
echo 'out/helloworld@linuxhost/Modules/kernel/yloop/yloop.o out/helloworld@linuxhost/Modules/kernel/yloop/local_event.o ' > out/helloworld@linuxhost/libraries/yloop.ar_opts ;
"/opt/AliOS-Things/build/cmd/linux64/mkdir" -p out/helloworld@linuxhost/Modules/tools/cli/
echo ' -c -MD -DSYSINFO_KERNEL_VERSION=\"AOS-R-1.1.2\" -Wall -Wno-missing-field-initializers -Wno-strict-aliasing -Wno-address -Wno-unused-result -DSYSINFO_PRODUCT_MODEL=\"ALI_AOS_LINUXHOST\" -DSYSINFO_DEVICE_NAME=\"LINUXHOST\" -m32 -std=gnu99 -ggdb -Os -DAOS_SDK_VERSION_MAJOR=3 -DAOS_SDK_VERSION_MINOR=2 -DAOS_SDK_VERSION_REVISION=3 -Iout/helloworld@linuxhost/resources/ -DPLATFORM=\"linuxhost\" -Wall -Werror -I./security/alicrypto/inc -I./security/alicrypto/test -I./kernel/vfs/include -I./kernel/rhino/core/include -I./security/mbedtls/include -I./security/tfs/include -I./tools/cli/include -I./kernel/vcall/./mico/include -I././platform/mcu/linux/. -I././platform/mcu/linux/../../arch/linux/ -I././platform/mcu/linux/include -I././platform/mcu/linux/include/aos -I././platform/mcu/linux/csp/lwip/include -I./board/linuxhost/. -I./include -I./example/helloworld -DBUILD_BIN -DCONFIG_ALICRYPTO -DAOS_HAL -DAOS_VFS -DHAVE_NOT_ADVANCED_FORMATE -DCONFIG_AOS_CLI -DAOS_LOOP -DVCALL_RHINO -DCONFIG_AOS_RHINO_MMREGION -DCONFIG_YSH_CMD_DUMPSYS -DCSP_LINUXHOST -DCONFIG_LOGMACRO_DETAILS -DCONFIG_AOS_FATFS_SUPPORT -DCONFIG_AOS_FATFS_SUPPORT_MMC -DCONFIG_AOS_FOTA_BREAKPOINT -DAOS_NO_WIFI' > out/helloworld@linuxhost/libraries/cli.c_opts;
echo 'out/helloworld@linuxhost/Modules/tools/cli/cli.o out/helloworld@linuxhost/Modules/tools/cli/dumpsys.o ' > out/helloworld@linuxhost/libraries/cli.ar_opts ;
echo > out/helloworld@linuxhost/Modules/kernel/yloop/.d
"/opt/AliOS-Things/build/cmd/linux64/mkdir" -p out/helloworld@linuxhost/Modules/utility/log/
echo ' -c -MD -DSYSINFO_KERNEL_VERSION=\"AOS-R-1.1.2\" -Wall -Wno-missing-field-initializers -Wno-strict-aliasing -Wno-address -Wno-unused-result -DSYSINFO_PRODUCT_MODEL=\"ALI_AOS_LINUXHOST\" -DSYSINFO_DEVICE_NAME=\"LINUXHOST\" -m32 -std=gnu99 -ggdb -Os -DAOS_SDK_VERSION_MAJOR=3 -DAOS_SDK_VERSION_MINOR=2 -DAOS_SDK_VERSION_REVISION=3 -Iout/helloworld@linuxhost/resources/ -DPLATFORM=\"linuxhost\" -I./security/alicrypto/inc -I./security/alicrypto/test -I./kernel/vfs/include -I./kernel/rhino/core/include -I./security/mbedtls/include -I./security/tfs/include -I./tools/cli/include -I./kernel/vcall/./mico/include -I././platform/mcu/linux/. -I././platform/mcu/linux/../../arch/linux/ -I././platform/mcu/linux/include -I././platform/mcu/linux/include/aos -I././platform/mcu/linux/csp/lwip/include -I./board/linuxhost/. -I./include -I./example/helloworld -DBUILD_BIN -DCONFIG_ALICRYPTO -DAOS_HAL -DAOS_VFS -DHAVE_NOT_ADVANCED_FORMATE -DCONFIG_AOS_CLI -DAOS_LOOP -DVCALL_RHINO -DCONFIG_AOS_RHINO_MMREGION -DCONFIG_YSH_CMD_DUMPSYS -DCSP_LINUXHOST -DCONFIG_LOGMACRO_DETAILS -DCONFIG_AOS_FATFS_SUPPORT -DCONFIG_AOS_FATFS_SUPPORT_MMC -DCONFIG_AOS_FOTA_BREAKPOINT -DAOS_NO_WIFI' > out/helloworld@linuxhost/libraries/log.c_opts;
echo 'out/helloworld@linuxhost/Modules/utility/log/log.o ' > out/helloworld@linuxhost/libraries/log.ar_opts ;
echo > out/helloworld@linuxhost/Modules/tools/cli/.d
"/opt/AliOS-Things/build/cmd/linux64/mkdir" -p out/helloworld@linuxhost/Modules/security/mbedtls/
echo ' -c -MD -DSYSINFO_KERNEL_VERSION=\"AOS-R-1.1.2\" -Wall -Wno-missing-field-initializers -Wno-strict-aliasing -Wno-address -Wno-unused-result -DSYSINFO_PRODUCT_MODEL=\"ALI_AOS_LINUXHOST\" -DSYSINFO_DEVICE_NAME=\"LINUXHOST\" -m32 -std=gnu99 -ggdb -Os -DAOS_SDK_VERSION_MAJOR=3 -DAOS_SDK_VERSION_MINOR=2 -DAOS_SDK_VERSION_REVISION=3 -Iout/helloworld@linuxhost/resources/ -DPLATFORM=\"linuxhost\" -Wall -Werror -Os -I./security/alicrypto/inc -I./security/alicrypto/test -I./kernel/vfs/include -I./kernel/rhino/core/include -I./security/mbedtls/include -I./security/tfs/include -I./tools/cli/include -I./kernel/vcall/./mico/include -I././platform/mcu/linux/. -I././platform/mcu/linux/../../arch/linux/ -I././platform/mcu/linux/include -I././platform/mcu/linux/include/aos -I././platform/mcu/linux/csp/lwip/include -I./board/linuxhost/. -I./include -I./example/helloworld -DBUILD_BIN -DCONFIG_ALICRYPTO -DAOS_HAL -DAOS_VFS -DHAVE_NOT_ADVANCED_FORMATE -DCONFIG_AOS_CLI -DAOS_LOOP -DVCALL_RHINO -DCONFIG_AOS_RHINO_MMREGION -DCONFIG_YSH_CMD_DUMPSYS -DCSP_LINUXHOST -DCONFIG_LOGMACRO_DETAILS -DCONFIG_AOS_FATFS_SUPPORT -DCONFIG_AOS_FATFS_SUPPORT_MMC -DCONFIG_AOS_FOTA_BREAKPOINT -DAOS_NO_WIFI' > out/helloworld@linuxhost/libraries/mbedtls.c_opts;
echo 'out/helloworld@linuxhost/Modules/security/mbedtls/mbedtls_net.o out/helloworld@linuxhost/Modules/security/mbedtls/mbedtls_ssl.o ' > out/helloworld@linuxhost/libraries/mbedtls.ar_opts ;
"/opt/AliOS-Things/build/cmd/linux64/mkdir" -p out/helloworld@linuxhost/Modules/kernel/rhino/core/
echo ' -c -MD -DSYSINFO_KERNEL_VERSION=\"AOS-R-1.1.2\" -Wall -Wno-missing-field-initializers -Wno-strict-aliasing -Wno-address -Wno-unused-result -DSYSINFO_PRODUCT_MODEL=\"ALI_AOS_LINUXHOST\" -DSYSINFO_DEVICE_NAME=\"LINUXHOST\" -m32 -std=gnu99 -ggdb -Os -DAOS_SDK_VERSION_MAJOR=3 -DAOS_SDK_VERSION_MINOR=2 -DAOS_SDK_VERSION_REVISION=3 -Iout/helloworld@linuxhost/resources/ -DPLATFORM=\"linuxhost\" -Wall -Werror -I./security/alicrypto/inc -I./security/alicrypto/test -I./kernel/vfs/include -I./kernel/rhino/core/include -I./security/mbedtls/include -I./security/tfs/include -I./tools/cli/include -I./kernel/vcall/./mico/include -I././platform/mcu/linux/. -I././platform/mcu/linux/../../arch/linux/ -I././platform/mcu/linux/include -I././platform/mcu/linux/include/aos -I././platform/mcu/linux/csp/lwip/include -I./board/linuxhost/. -I./include -I./example/helloworld -DBUILD_BIN -DCONFIG_ALICRYPTO -DAOS_HAL -DAOS_VFS -DHAVE_NOT_ADVANCED_FORMATE -DCONFIG_AOS_CLI -DAOS_LOOP -DVCALL_RHINO -DCONFIG_AOS_RHINO_MMREGION -DCONFIG_YSH_CMD_DUMPSYS -DCSP_LINUXHOST -DCONFIG_LOGMACRO_DETAILS -DCONFIG_AOS_FATFS_SUPPORT -DCONFIG_AOS_FATFS_SUPPORT_MMC -DCONFIG_AOS_FOTA_BREAKPOINT -DAOS_NO_WIFI' > out/helloworld@linuxhost/libraries/rhino.c_opts;
echo > out/helloworld@linuxhost/Modules/security/mbedtls/.d
echo 'out/helloworld@linuxhost/Modules/kernel/rhino/core/k_err.o out/helloworld@linuxhost/Modules/kernel/rhino/core/k_mm.o out/helloworld@linuxhost/Modules/kernel/rhino/core/k_mm_debug.o out/helloworld@linuxhost/Modules/kernel/rhino/core/k_obj_set.o out/helloworld@linuxhost/Modules/kernel/rhino/core/k_ringbuf.o out/helloworld@linuxhost/Modules/kernel/rhino/core/k_stats.o out/helloworld@linuxhost/Modules/kernel/rhino/core/k_task_sem.o out/helloworld@linuxhost/Modules/kernel/rhino/core/k_timer.o out/helloworld@linuxhost/Modules/kernel/rhino/core/k_buf_queue.o out/helloworld@linuxhost/Modules/kernel/rhino/core/k_event.o out/helloworld@linuxhost/Modules/kernel/rhino/core/k_mm_blk.o out/helloworld@linuxhost/Modules/kernel/rhino/core/k_mutex.o out/helloworld@linuxhost/Modules/kernel/rhino/core/k_pend.o out/helloworld@linuxhost/Modules/kernel/rhino/core/k_sched.o out/helloworld@linuxhost/Modules/kernel/rhino/core/k_sys.o out/helloworld@linuxhost/Modules/kernel/rhino/core/k_tick.o out/helloworld@linuxhost/Modules/kernel/rhino/core/k_workqueue.o out/helloworld@linuxhost/Modules/kernel/rhino/core/k_dyn_mem_proc.o out/helloworld@linuxhost/Modules/kernel/rhino/core/k_idle.o out/helloworld@linuxhost/Modules/kernel/rhino/core/k_obj.o out/helloworld@linuxhost/Modules/kernel/rhino/core/k_queue.o out/helloworld@linuxhost/Modules/kernel/rhino/core/k_sem.o out/helloworld@linuxhost/Modules/kernel/rhino/core/k_task.o out/helloworld@linuxhost/Modules/kernel/rhino/core/k_time.o out/helloworld@linuxhost/Modules/kernel/rhino/core/k_fifo.o out/helloworld@linuxhost/Modules/kernel/rhino/core/k_trace.o ' > out/helloworld@linuxhost/libraries/rhino.ar_opts ;
echo > out/helloworld@linuxhost/Modules/utility/log/.d
"/opt/AliOS-Things/build/cmd/linux64/mkdir" -p out/helloworld@linuxhost/Modules/kernel/vfs/
echo > out/helloworld@linuxhost/Modules/kernel/rhino/core/.d
echo ' -c -MD -DSYSINFO_KERNEL_VERSION=\"AOS-R-1.1.2\" -Wall -Wno-missing-field-initializers -Wno-strict-aliasing -Wno-address -Wno-unused-result -DSYSINFO_PRODUCT_MODEL=\"ALI_AOS_LINUXHOST\" -DSYSINFO_DEVICE_NAME=\"LINUXHOST\" -m32 -std=gnu99 -ggdb -Os -DAOS_SDK_VERSION_MAJOR=3 -DAOS_SDK_VERSION_MINOR=2 -DAOS_SDK_VERSION_REVISION=3 -Iout/helloworld@linuxhost/resources/ -DPLATFORM=\"linuxhost\" -Wall -Werror -DIO_NEED_TRAP -I./security/alicrypto/inc -I./security/alicrypto/test -I./kernel/vfs/include -I./kernel/rhino/core/include -I./security/mbedtls/include -I./security/tfs/include -I./tools/cli/include -I./kernel/vcall/./mico/include -I././platform/mcu/linux/. -I././platform/mcu/linux/../../arch/linux/ -I././platform/mcu/linux/include -I././platform/mcu/linux/include/aos -I././platform/mcu/linux/csp/lwip/include -I./board/linuxhost/. -I./include -I./example/helloworld -DBUILD_BIN -DCONFIG_ALICRYPTO -DAOS_HAL -DAOS_VFS -DHAVE_NOT_ADVANCED_FORMATE -DCONFIG_AOS_CLI -DAOS_LOOP -DVCALL_RHINO -DCONFIG_AOS_RHINO_MMREGION -DCONFIG_YSH_CMD_DUMPSYS -DCSP_LINUXHOST -DCONFIG_LOGMACRO_DETAILS -DCONFIG_AOS_FATFS_SUPPORT -DCONFIG_AOS_FATFS_SUPPORT_MMC -DCONFIG_AOS_FOTA_BREAKPOINT -DAOS_NO_WIFI' > out/helloworld@linuxhost/libraries/vfs.c_opts;
echo 'out/helloworld@linuxhost/Modules/kernel/vfs/vfs.o out/helloworld@linuxhost/Modules/kernel/vfs/device.o out/helloworld@linuxhost/Modules/kernel/vfs/vfs_inode.o out/helloworld@linuxhost/Modules/kernel/vfs/vfs_register.o ' > out/helloworld@linuxhost/libraries/vfs.ar_opts ;
"/opt/AliOS-Things/build/cmd/linux64/mkdir" -p out/helloworld@linuxhost/Modules/kernel/hal/
echo ' -c -MD -DSYSINFO_KERNEL_VERSION=\"AOS-R-1.1.2\" -Wall -Wno-missing-field-initializers -Wno-strict-aliasing -Wno-address -Wno-unused-result -DSYSINFO_PRODUCT_MODEL=\"ALI_AOS_LINUXHOST\" -DSYSINFO_DEVICE_NAME=\"LINUXHOST\" -m32 -std=gnu99 -ggdb -Os -DAOS_SDK_VERSION_MAJOR=3 -DAOS_SDK_VERSION_MINOR=2 -DAOS_SDK_VERSION_REVISION=3 -Iout/helloworld@linuxhost/resources/ -DPLATFORM=\"linuxhost\" -Wall -Werror -I./security/alicrypto/inc -I./security/alicrypto/test -I./kernel/vfs/include -I./kernel/rhino/core/include -I./security/mbedtls/include -I./security/tfs/include -I./tools/cli/include -I./kernel/vcall/./mico/include -I././platform/mcu/linux/. -I././platform/mcu/linux/../../arch/linux/ -I././platform/mcu/linux/include -I././platform/mcu/linux/include/aos -I././platform/mcu/linux/csp/lwip/include -I./board/linuxhost/. -I./include -I./example/helloworld -DBUILD_BIN -DCONFIG_ALICRYPTO -DAOS_HAL -DAOS_VFS -DHAVE_NOT_ADVANCED_FORMATE -DCONFIG_AOS_CLI -DAOS_LOOP -DVCALL_RHINO -DCONFIG_AOS_RHINO_MMREGION -DCONFIG_YSH_CMD_DUMPSYS -DCSP_LINUXHOST -DCONFIG_LOGMACRO_DETAILS -DCONFIG_AOS_FATFS_SUPPORT -DCONFIG_AOS_FATFS_SUPPORT_MMC -DCONFIG_AOS_FOTA_BREAKPOINT -DAOS_NO_WIFI' > out/helloworld@linuxhost/libraries/hal.c_opts;
echo > out/helloworld@linuxhost/Modules/kernel/vfs/.d
echo 'out/helloworld@linuxhost/Modules/kernel/hal/wifi.o out/helloworld@linuxhost/Modules/kernel/hal/ota.o ' > out/helloworld@linuxhost/libraries/hal.ar_opts ;
"/opt/AliOS-Things/build/cmd/linux64/mkdir" -p out/helloworld@linuxhost/Modules/security/alicrypto/test/
echo > out/helloworld@linuxhost/Modules/kernel/hal/.d
echo ' -c -MD -DSYSINFO_KERNEL_VERSION=\"AOS-R-1.1.2\" -Wall -Wno-missing-field-initializers -Wno-strict-aliasing -Wno-address -Wno-unused-result -DSYSINFO_PRODUCT_MODEL=\"ALI_AOS_LINUXHOST\" -DSYSINFO_DEVICE_NAME=\"LINUXHOST\" -m32 -std=gnu99 -ggdb -Os -DAOS_SDK_VERSION_MAJOR=3 -DAOS_SDK_VERSION_MINOR=2 -DAOS_SDK_VERSION_REVISION=3 -Iout/helloworld@linuxhost/resources/ -DPLATFORM=\"linuxhost\" -I./security/alicrypto/inc -I./security/alicrypto/test -I./kernel/vfs/include -I./kernel/rhino/core/include -I./security/mbedtls/include -I./security/tfs/include -I./tools/cli/include -I./kernel/vcall/./mico/include -I././platform/mcu/linux/. -I././platform/mcu/linux/../../arch/linux/ -I././platform/mcu/linux/include -I././platform/mcu/linux/include/aos -I././platform/mcu/linux/csp/lwip/include -I./board/linuxhost/. -I./include -I./example/helloworld -DBUILD_BIN -DCONFIG_ALICRYPTO -DAOS_HAL -DAOS_VFS -DHAVE_NOT_ADVANCED_FORMATE -DCONFIG_AOS_CLI -DAOS_LOOP -DVCALL_RHINO -DCONFIG_AOS_RHINO_MMREGION -DCONFIG_YSH_CMD_DUMPSYS -DCSP_LINUXHOST -DCONFIG_LOGMACRO_DETAILS -DCONFIG_AOS_FATFS_SUPPORT -DCONFIG_AOS_FATFS_SUPPORT_MMC -DCONFIG_AOS_FOTA_BREAKPOINT -DAOS_NO_WIFI' > out/helloworld@linuxhost/libraries/alicrypto.c_opts;
echo 'out/helloworld@linuxhost/Modules/security/alicrypto/test/ali_crypto_test.o out/helloworld@linuxhost/Modules/security/alicrypto/test/ali_crypto_test_comm.o out/helloworld@linuxhost/Modules/security/alicrypto/test/ali_crypto_test_aes.o out/helloworld@linuxhost/Modules/security/alicrypto/test/ali_crypto_test_hash.o out/helloworld@linuxhost/Modules/security/alicrypto/test/ali_crypto_test_rand.o out/helloworld@linuxhost/Modules/security/alicrypto/test/ali_crypto_test_rsa.o out/helloworld@linuxhost/Modules/security/alicrypto/test/ali_crypto_test_hmac.o ' > out/helloworld@linuxhost/libraries/alicrypto.ar_opts ;
"/opt/AliOS-Things/build/cmd/linux64/mkdir" -p out/helloworld@linuxhost/Modules/./kernel/vfs/device/
echo ' -c -MD -DSYSINFO_KERNEL_VERSION=\"AOS-R-1.1.2\" -Wall -Wno-missing-field-initializers -Wno-strict-aliasing -Wno-address -Wno-unused-result -DSYSINFO_PRODUCT_MODEL=\"ALI_AOS_LINUXHOST\" -DSYSINFO_DEVICE_NAME=\"LINUXHOST\" -m32 -std=gnu99 -ggdb -Os -DAOS_SDK_VERSION_MAJOR=3 -DAOS_SDK_VERSION_MINOR=2 -DAOS_SDK_VERSION_REVISION=3 -Iout/helloworld@linuxhost/resources/ -DPLATFORM=\"linuxhost\" -I././kernel/vfs/device/../include/device/ -I././kernel/vfs/device/../include/ -I././kernel/vfs/device/../../hal/soc/ -I./security/alicrypto/inc -I./security/alicrypto/test -I./kernel/vfs/include -I./kernel/rhino/core/include -I./security/mbedtls/include -I./security/tfs/include -I./tools/cli/include -I./kernel/vcall/./mico/include -I././platform/mcu/linux/. -I././platform/mcu/linux/../../arch/linux/ -I././platform/mcu/linux/include -I././platform/mcu/linux/include/aos -I././platform/mcu/linux/csp/lwip/include -I./board/linuxhost/. -I./include -I./example/helloworld -DBUILD_BIN -DCONFIG_ALICRYPTO -DAOS_HAL -DAOS_VFS -DHAVE_NOT_ADVANCED_FORMATE -DCONFIG_AOS_CLI -DAOS_LOOP -DVCALL_RHINO -DCONFIG_AOS_RHINO_MMREGION -DCONFIG_YSH_CMD_DUMPSYS -DCSP_LINUXHOST -DCONFIG_LOGMACRO_DETAILS -DCONFIG_AOS_FATFS_SUPPORT -DCONFIG_AOS_FATFS_SUPPORT_MMC -DCONFIG_AOS_FOTA_BREAKPOINT -DAOS_NO_WIFI' > out/helloworld@linuxhost/libraries/vfs_device.c_opts;
echo 'out/helloworld@linuxhost/Modules/./kernel/vfs/device/vfs_adc.o out/helloworld@linuxhost/Modules/./kernel/vfs/device/vfs_uart.o out/helloworld@linuxhost/Modules/./kernel/vfs/device/vfs_gpio.o out/helloworld@linuxhost/Modules/./kernel/vfs/device/vfs_spi.o out/helloworld@linuxhost/Modules/./kernel/vfs/device/vfs_pwm.o out/helloworld@linuxhost/Modules/./kernel/vfs/device/vfs_rtc.o out/helloworld@linuxhost/Modules/./kernel/vfs/device/vfs_wdg.o out/helloworld@linuxhost/Modules/./kernel/vfs/device/vfs_i2c.o ' > out/helloworld@linuxhost/libraries/vfs_device.ar_opts ;
echo ' -Wl,-Map,out/helloworld@linuxhost/binary/helloworld@linuxhost.map -Wl,--start-group out/helloworld@linuxhost/libraries/helloworld.a out/helloworld@linuxhost/libraries/linuximpl.a out/helloworld@linuxhost/libraries/vcall.a out/helloworld@linuxhost/libraries/kernel_init.a out/helloworld@linuxhost/libraries/auto_component.a out/helloworld@linuxhost/libraries/yloop.a out/helloworld@linuxhost/libraries/cli.a out/helloworld@linuxhost/libraries/log.a out/helloworld@linuxhost/libraries/mbedtls.a out/helloworld@linuxhost/libraries/rhino.a out/helloworld@linuxhost/libraries/vfs.a out/helloworld@linuxhost/libraries/hal.a out/helloworld@linuxhost/libraries/alicrypto.a out/helloworld@linuxhost/libraries/vfs_device.a ./security/tfs/lib/linux/libtfs.a ./security/tfs/lib/linux/libtfspal.a ./security/mbedtls/lib/linux/libmbedtls.a ./security/alicrypto/lib/linux/libmbedcrypto.a ./security/alicrypto/lib/linux/libalicrypto.a -Wl,--end-group -Wl,--gc-sections -Wl,--cref -lpthread -lm -lrt -m32 ' > out/helloworld@linuxhost/binary/link.opts ;
echo Compiling helloworld
echo Compiling linuximpl
Compiling helloworld
Compiling linuximpl
gcc @out/helloworld@linuxhost/libraries/helloworld.c_opts -D__FILENAME__='"helloworld.c"' -o out/helloworld@linuxhost/Modules/example/helloworld/helloworld.o example/helloworld/helloworld.c
gcc @out/helloworld@linuxhost/libraries/linuximpl.c_opts -D__FILENAME__='"cpu_impl.c"' -o out/helloworld@linuxhost/Modules/./platform/mcu/linux/../../arch/linux//cpu_impl.o platform/mcu/linux/../../arch/linux//cpu_impl.c
echo > out/helloworld@linuxhost/Modules/security/alicrypto/test/.d
echo > out/helloworld@linuxhost/Modules/./kernel/vfs/device/.d
gcc @out/helloworld@linuxhost/libraries/linuximpl.c_opts -D__FILENAME__='"soc_impl.c"' -o out/helloworld@linuxhost/Modules/./platform/mcu/linux/soc/soc_impl.o platform/mcu/linux/soc/soc_impl.c
gcc @out/helloworld@linuxhost/libraries/linuximpl.c_opts -D__FILENAME__='"hook_impl.c"' -o out/helloworld@linuxhost/Modules/./platform/mcu/linux/soc/hook_impl.o platform/mcu/linux/soc/hook_impl.c
gcc @out/helloworld@linuxhost/libraries/linuximpl.c_opts -D__FILENAME__='"trace_impl.c"' -o out/helloworld@linuxhost/Modules/./platform/mcu/linux/soc/trace_impl.o platform/mcu/linux/soc/trace_impl.c
gcc @out/helloworld@linuxhost/libraries/linuximpl.c_opts -D__FILENAME__='"uart.c"' -o out/helloworld@linuxhost/Modules/./platform/mcu/linux/soc/uart.o platform/mcu/linux/soc/uart.c
gcc @out/helloworld@linuxhost/libraries/linuximpl.c_opts -D__FILENAME__='"arg_options.c"' -o out/helloworld@linuxhost/Modules/./platform/mcu/linux/main/arg_options.o platform/mcu/linux/main/arg_options.c
gcc @out/helloworld@linuxhost/libraries/linuximpl.c_opts -D__FILENAME__='"main.c"' -o out/helloworld@linuxhost/Modules/./platform/mcu/linux/main/main.o platform/mcu/linux/main/main.c
gcc @out/helloworld@linuxhost/libraries/linuximpl.c_opts -D__FILENAME__='"hw.c"' -o out/helloworld@linuxhost/Modules/./platform/mcu/linux/main/hw.o platform/mcu/linux/main/hw.c
gcc @out/helloworld@linuxhost/libraries/linuximpl.c_opts -D__FILENAME__='"wifi_port.c"' -o out/helloworld@linuxhost/Modules/./platform/mcu/linux/main/wifi_port.o platform/mcu/linux/main/wifi_port.c
gcc @out/helloworld@linuxhost/libraries/linuximpl.c_opts -D__FILENAME__='"ota_port.c"' -o out/helloworld@linuxhost/Modules/./platform/mcu/linux/main/ota_port.o platform/mcu/linux/main/ota_port.c
echo Compiling vcall
Compiling vcall
gcc @out/helloworld@linuxhost/libraries/vcall.c_opts -D__FILENAME__='"mico_rhino.c"' -o out/helloworld@linuxhost/Modules/kernel/vcall/mico/mico_rhino.o kernel/vcall/mico/mico_rhino.c
gcc @out/helloworld@linuxhost/libraries/vcall.c_opts -D__FILENAME__='"aos_rhino.c"' -o out/helloworld@linuxhost/Modules/kernel/vcall/aos/aos_rhino.o kernel/vcall/aos/aos_rhino.c
echo Compiling kernel_init
Compiling kernel_init
gcc @out/helloworld@linuxhost/libraries/kernel_init.c_opts -D__FILENAME__='"aos_init.c"' -o out/helloworld@linuxhost/Modules/kernel/init/aos_init.o kernel/init/aos_init.c
echo Compiling auto_component
Compiling auto_component
gcc @out/helloworld@linuxhost/libraries/auto_component.c_opts -D__FILENAME__='"component_init.c"' -o out/helloworld@linuxhost/Modules/out/helloworld@linuxhost/auto_component/component_init.o out/helloworld@linuxhost/auto_component/component_init.c
gcc @out/helloworld@linuxhost/libraries/auto_component.c_opts -D__FILENAME__='"testcase_register.c"' -o out/helloworld@linuxhost/Modules/out/helloworld@linuxhost/auto_component/testcase_register.o out/helloworld@linuxhost/auto_component/testcase_register.c
echo Compiling yloop
Compiling yloop
gcc @out/helloworld@linuxhost/libraries/yloop.c_opts -D__FILENAME__='"yloop.c"' -o out/helloworld@linuxhost/Modules/kernel/yloop/yloop.o kernel/yloop/yloop.c
gcc @out/helloworld@linuxhost/libraries/yloop.c_opts -D__FILENAME__='"local_event.c"' -o out/helloworld@linuxhost/Modules/kernel/yloop/local_event.o kernel/yloop/local_event.c
echo Compiling cli
Compiling cli
gcc @out/helloworld@linuxhost/libraries/cli.c_opts -D__FILENAME__='"cli.c"' -o out/helloworld@linuxhost/Modules/tools/cli/cli.o tools/cli/cli.c
gcc @out/helloworld@linuxhost/libraries/cli.c_opts -D__FILENAME__='"dumpsys.c"' -o out/helloworld@linuxhost/Modules/tools/cli/dumpsys.o tools/cli/dumpsys.c
echo Compiling log
Compiling log
gcc @out/helloworld@linuxhost/libraries/log.c_opts -D__FILENAME__='"log.c"' -o out/helloworld@linuxhost/Modules/utility/log/log.o utility/log/log.c
echo Compiling mbedtls
Compiling mbedtls
gcc @out/helloworld@linuxhost/libraries/mbedtls.c_opts -D__FILENAME__='"mbedtls_net.c"' -o out/helloworld@linuxhost/Modules/security/mbedtls/mbedtls_net.o security/mbedtls/mbedtls_net.c
gcc @out/helloworld@linuxhost/libraries/mbedtls.c_opts -D__FILENAME__='"mbedtls_ssl.c"' -o out/helloworld@linuxhost/Modules/security/mbedtls/mbedtls_ssl.o security/mbedtls/mbedtls_ssl.c
echo Compiling rhino
Compiling rhino
gcc @out/helloworld@linuxhost/libraries/rhino.c_opts -D__FILENAME__='"k_err.c"' -o out/helloworld@linuxhost/Modules/kernel/rhino/core/k_err.o kernel/rhino/core/k_err.c
gcc @out/helloworld@linuxhost/libraries/rhino.c_opts -D__FILENAME__='"k_mm.c"' -o out/helloworld@linuxhost/Modules/kernel/rhino/core/k_mm.o kernel/rhino/core/k_mm.c
gcc @out/helloworld@linuxhost/libraries/rhino.c_opts -D__FILENAME__='"k_mm_debug.c"' -o out/helloworld@linuxhost/Modules/kernel/rhino/core/k_mm_debug.o kernel/rhino/core/k_mm_debug.c
gcc @out/helloworld@linuxhost/libraries/rhino.c_opts -D__FILENAME__='"k_obj_set.c"' -o out/helloworld@linuxhost/Modules/kernel/rhino/core/k_obj_set.o kernel/rhino/core/k_obj_set.c
gcc @out/helloworld@linuxhost/libraries/rhino.c_opts -D__FILENAME__='"k_ringbuf.c"' -o out/helloworld@linuxhost/Modules/kernel/rhino/core/k_ringbuf.o kernel/rhino/core/k_ringbuf.c
gcc @out/helloworld@linuxhost/libraries/rhino.c_opts -D__FILENAME__='"k_stats.c"' -o out/helloworld@linuxhost/Modules/kernel/rhino/core/k_stats.o kernel/rhino/core/k_stats.c
gcc @out/helloworld@linuxhost/libraries/rhino.c_opts -D__FILENAME__='"k_task_sem.c"' -o out/helloworld@linuxhost/Modules/kernel/rhino/core/k_task_sem.o kernel/rhino/core/k_task_sem.c
gcc @out/helloworld@linuxhost/libraries/rhino.c_opts -D__FILENAME__='"k_timer.c"' -o out/helloworld@linuxhost/Modules/kernel/rhino/core/k_timer.o kernel/rhino/core/k_timer.c
gcc @out/helloworld@linuxhost/libraries/rhino.c_opts -D__FILENAME__='"k_buf_queue.c"' -o out/helloworld@linuxhost/Modules/kernel/rhino/core/k_buf_queue.o kernel/rhino/core/k_buf_queue.c
gcc @out/helloworld@linuxhost/libraries/rhino.c_opts -D__FILENAME__='"k_event.c"' -o out/helloworld@linuxhost/Modules/kernel/rhino/core/k_event.o kernel/rhino/core/k_event.c
gcc @out/helloworld@linuxhost/libraries/rhino.c_opts -D__FILENAME__='"k_mm_blk.c"' -o out/helloworld@linuxhost/Modules/kernel/rhino/core/k_mm_blk.o kernel/rhino/core/k_mm_blk.c
gcc @out/helloworld@linuxhost/libraries/rhino.c_opts -D__FILENAME__='"k_mutex.c"' -o out/helloworld@linuxhost/Modules/kernel/rhino/core/k_mutex.o kernel/rhino/core/k_mutex.c
gcc @out/helloworld@linuxhost/libraries/rhino.c_opts -D__FILENAME__='"k_pend.c"' -o out/helloworld@linuxhost/Modules/kernel/rhino/core/k_pend.o kernel/rhino/core/k_pend.c
gcc @out/helloworld@linuxhost/libraries/rhino.c_opts -D__FILENAME__='"k_sched.c"' -o out/helloworld@linuxhost/Modules/kernel/rhino/core/k_sched.o kernel/rhino/core/k_sched.c
gcc @out/helloworld@linuxhost/libraries/rhino.c_opts -D__FILENAME__='"k_sys.c"' -o out/helloworld@linuxhost/Modules/kernel/rhino/core/k_sys.o kernel/rhino/core/k_sys.c
gcc @out/helloworld@linuxhost/libraries/rhino.c_opts -D__FILENAME__='"k_tick.c"' -o out/helloworld@linuxhost/Modules/kernel/rhino/core/k_tick.o kernel/rhino/core/k_tick.c
gcc @out/helloworld@linuxhost/libraries/rhino.c_opts -D__FILENAME__='"k_workqueue.c"' -o out/helloworld@linuxhost/Modules/kernel/rhino/core/k_workqueue.o kernel/rhino/core/k_workqueue.c
gcc @out/helloworld@linuxhost/libraries/rhino.c_opts -D__FILENAME__='"k_dyn_mem_proc.c"' -o out/helloworld@linuxhost/Modules/kernel/rhino/core/k_dyn_mem_proc.o kernel/rhino/core/k_dyn_mem_proc.c
gcc @out/helloworld@linuxhost/libraries/rhino.c_opts -D__FILENAME__='"k_idle.c"' -o out/helloworld@linuxhost/Modules/kernel/rhino/core/k_idle.o kernel/rhino/core/k_idle.c
gcc @out/helloworld@linuxhost/libraries/rhino.c_opts -D__FILENAME__='"k_obj.c"' -o out/helloworld@linuxhost/Modules/kernel/rhino/core/k_obj.o kernel/rhino/core/k_obj.c
gcc @out/helloworld@linuxhost/libraries/rhino.c_opts -D__FILENAME__='"k_queue.c"' -o out/helloworld@linuxhost/Modules/kernel/rhino/core/k_queue.o kernel/rhino/core/k_queue.c
gcc @out/helloworld@linuxhost/libraries/rhino.c_opts -D__FILENAME__='"k_sem.c"' -o out/helloworld@linuxhost/Modules/kernel/rhino/core/k_sem.o kernel/rhino/core/k_sem.c
gcc @out/helloworld@linuxhost/libraries/rhino.c_opts -D__FILENAME__='"k_task.c"' -o out/helloworld@linuxhost/Modules/kernel/rhino/core/k_task.o kernel/rhino/core/k_task.c
gcc @out/helloworld@linuxhost/libraries/rhino.c_opts -D__FILENAME__='"k_time.c"' -o out/helloworld@linuxhost/Modules/kernel/rhino/core/k_time.o kernel/rhino/core/k_time.c
gcc @out/helloworld@linuxhost/libraries/rhino.c_opts -D__FILENAME__='"k_fifo.c"' -o out/helloworld@linuxhost/Modules/kernel/rhino/core/k_fifo.o kernel/rhino/core/k_fifo.c
gcc @out/helloworld@linuxhost/libraries/rhino.c_opts -D__FILENAME__='"k_trace.c"' -o out/helloworld@linuxhost/Modules/kernel/rhino/core/k_trace.o kernel/rhino/core/k_trace.c
echo Compiling vfs
Compiling vfs
gcc @out/helloworld@linuxhost/libraries/vfs.c_opts -D__FILENAME__='"vfs.c"' -o out/helloworld@linuxhost/Modules/kernel/vfs/vfs.o kernel/vfs/vfs.c
gcc @out/helloworld@linuxhost/libraries/vfs.c_opts -D__FILENAME__='"device.c"' -o out/helloworld@linuxhost/Modules/kernel/vfs/device.o kernel/vfs/device.c
gcc @out/helloworld@linuxhost/libraries/vfs.c_opts -D__FILENAME__='"vfs_inode.c"' -o out/helloworld@linuxhost/Modules/kernel/vfs/vfs_inode.o kernel/vfs/vfs_inode.c
gcc @out/helloworld@linuxhost/libraries/vfs.c_opts -D__FILENAME__='"vfs_register.c"' -o out/helloworld@linuxhost/Modules/kernel/vfs/vfs_register.o kernel/vfs/vfs_register.c
echo Compiling hal
Compiling hal
gcc @out/helloworld@linuxhost/libraries/hal.c_opts -D__FILENAME__='"wifi.c"' -o out/helloworld@linuxhost/Modules/kernel/hal/wifi.o kernel/hal/wifi.c
gcc @out/helloworld@linuxhost/libraries/hal.c_opts -D__FILENAME__='"ota.c"' -o out/helloworld@linuxhost/Modules/kernel/hal/ota.o kernel/hal/ota.c
echo Compiling alicrypto
Compiling alicrypto
gcc @out/helloworld@linuxhost/libraries/alicrypto.c_opts -D__FILENAME__='"ali_crypto_test.c"' -o out/helloworld@linuxhost/Modules/security/alicrypto/test/ali_crypto_test.o security/alicrypto/test/ali_crypto_test.c
gcc @out/helloworld@linuxhost/libraries/alicrypto.c_opts -D__FILENAME__='"ali_crypto_test_comm.c"' -o out/helloworld@linuxhost/Modules/security/alicrypto/test/ali_crypto_test_comm.o security/alicrypto/test/ali_crypto_test_comm.c
gcc @out/helloworld@linuxhost/libraries/alicrypto.c_opts -D__FILENAME__='"ali_crypto_test_aes.c"' -o out/helloworld@linuxhost/Modules/security/alicrypto/test/ali_crypto_test_aes.o security/alicrypto/test/ali_crypto_test_aes.c
gcc @out/helloworld@linuxhost/libraries/alicrypto.c_opts -D__FILENAME__='"ali_crypto_test_hash.c"' -o out/helloworld@linuxhost/Modules/security/alicrypto/test/ali_crypto_test_hash.o security/alicrypto/test/ali_crypto_test_hash.c
gcc @out/helloworld@linuxhost/libraries/alicrypto.c_opts -D__FILENAME__='"ali_crypto_test_rand.c"' -o out/helloworld@linuxhost/Modules/security/alicrypto/test/ali_crypto_test_rand.o security/alicrypto/test/ali_crypto_test_rand.c
gcc @out/helloworld@linuxhost/libraries/alicrypto.c_opts -D__FILENAME__='"ali_crypto_test_rsa.c"' -o out/helloworld@linuxhost/Modules/security/alicrypto/test/ali_crypto_test_rsa.o security/alicrypto/test/ali_crypto_test_rsa.c
gcc @out/helloworld@linuxhost/libraries/alicrypto.c_opts -D__FILENAME__='"ali_crypto_test_hmac.c"' -o out/helloworld@linuxhost/Modules/security/alicrypto/test/ali_crypto_test_hmac.o security/alicrypto/test/ali_crypto_test_hmac.c
echo Compiling vfs_device
Compiling vfs_device
gcc @out/helloworld@linuxhost/libraries/vfs_device.c_opts -D__FILENAME__='"vfs_adc.c"' -o out/helloworld@linuxhost/Modules/./kernel/vfs/device/vfs_adc.o kernel/vfs/device/vfs_adc.c
gcc @out/helloworld@linuxhost/libraries/vfs_device.c_opts -D__FILENAME__='"vfs_uart.c"' -o out/helloworld@linuxhost/Modules/./kernel/vfs/device/vfs_uart.o kernel/vfs/device/vfs_uart.c
gcc @out/helloworld@linuxhost/libraries/vfs_device.c_opts -D__FILENAME__='"vfs_gpio.c"' -o out/helloworld@linuxhost/Modules/./kernel/vfs/device/vfs_gpio.o kernel/vfs/device/vfs_gpio.c
gcc @out/helloworld@linuxhost/libraries/vfs_device.c_opts -D__FILENAME__='"vfs_spi.c"' -o out/helloworld@linuxhost/Modules/./kernel/vfs/device/vfs_spi.o kernel/vfs/device/vfs_spi.c
gcc @out/helloworld@linuxhost/libraries/vfs_device.c_opts -D__FILENAME__='"vfs_pwm.c"' -o out/helloworld@linuxhost/Modules/./kernel/vfs/device/vfs_pwm.o kernel/vfs/device/vfs_pwm.c
gcc @out/helloworld@linuxhost/libraries/vfs_device.c_opts -D__FILENAME__='"vfs_rtc.c"' -o out/helloworld@linuxhost/Modules/./kernel/vfs/device/vfs_rtc.o kernel/vfs/device/vfs_rtc.c
gcc @out/helloworld@linuxhost/libraries/vfs_device.c_opts -D__FILENAME__='"vfs_wdg.c"' -o out/helloworld@linuxhost/Modules/./kernel/vfs/device/vfs_wdg.o kernel/vfs/device/vfs_wdg.c
gcc @out/helloworld@linuxhost/libraries/vfs_device.c_opts -D__FILENAME__='"vfs_i2c.c"' -o out/helloworld@linuxhost/Modules/./kernel/vfs/device/vfs_i2c.o kernel/vfs/device/vfs_i2c.c
echo Making out/helloworld@linuxhost/libraries/helloworld.a
Making out/helloworld@linuxhost/libraries/helloworld.a
ar -rcs out/helloworld@linuxhost/libraries/helloworld.a @out/helloworld@linuxhost/libraries/helloworld.ar_opts
echo Making out/helloworld@linuxhost/libraries/linuximpl.a
Making out/helloworld@linuxhost/libraries/linuximpl.a
ar -rcs out/helloworld@linuxhost/libraries/linuximpl.a @out/helloworld@linuxhost/libraries/linuximpl.ar_opts
echo Making out/helloworld@linuxhost/libraries/vcall.a
Making out/helloworld@linuxhost/libraries/vcall.a
ar -rcs out/helloworld@linuxhost/libraries/vcall.a @out/helloworld@linuxhost/libraries/vcall.ar_opts
echo Making out/helloworld@linuxhost/libraries/kernel_init.a
Making out/helloworld@linuxhost/libraries/kernel_init.a
ar -rcs out/helloworld@linuxhost/libraries/kernel_init.a @out/helloworld@linuxhost/libraries/kernel_init.ar_opts
echo Making out/helloworld@linuxhost/libraries/auto_component.a
Making out/helloworld@linuxhost/libraries/auto_component.a
ar -rcs out/helloworld@linuxhost/libraries/auto_component.a @out/helloworld@linuxhost/libraries/auto_component.ar_opts
echo Making out/helloworld@linuxhost/libraries/yloop.a
Making out/helloworld@linuxhost/libraries/yloop.a
ar -rcs out/helloworld@linuxhost/libraries/yloop.a @out/helloworld@linuxhost/libraries/yloop.ar_opts
echo Making out/helloworld@linuxhost/libraries/cli.a
Making out/helloworld@linuxhost/libraries/cli.a
ar -rcs out/helloworld@linuxhost/libraries/cli.a @out/helloworld@linuxhost/libraries/cli.ar_opts
echo Making out/helloworld@linuxhost/libraries/log.a
Making out/helloworld@linuxhost/libraries/log.a
ar -rcs out/helloworld@linuxhost/libraries/log.a @out/helloworld@linuxhost/libraries/log.ar_opts
echo Making out/helloworld@linuxhost/libraries/mbedtls.a
echo Making out/helloworld@linuxhost/libraries/rhino.a
Making out/helloworld@linuxhost/libraries/mbedtls.a
ar -rcs out/helloworld@linuxhost/libraries/mbedtls.a @out/helloworld@linuxhost/libraries/mbedtls.ar_opts
Making out/helloworld@linuxhost/libraries/rhino.a
ar -rcs out/helloworld@linuxhost/libraries/rhino.a @out/helloworld@linuxhost/libraries/rhino.ar_opts
echo Making out/helloworld@linuxhost/libraries/vfs.a
Making out/helloworld@linuxhost/libraries/vfs.a
ar -rcs out/helloworld@linuxhost/libraries/vfs.a @out/helloworld@linuxhost/libraries/vfs.ar_opts
echo Making out/helloworld@linuxhost/libraries/hal.a
Making out/helloworld@linuxhost/libraries/hal.a
ar -rcs out/helloworld@linuxhost/libraries/hal.a @out/helloworld@linuxhost/libraries/hal.ar_opts
echo Making out/helloworld@linuxhost/libraries/alicrypto.a
Making out/helloworld@linuxhost/libraries/alicrypto.a
ar -rcs out/helloworld@linuxhost/libraries/alicrypto.a @out/helloworld@linuxhost/libraries/alicrypto.ar_opts
echo Making out/helloworld@linuxhost/libraries/vfs_device.a
Making out/helloworld@linuxhost/libraries/vfs_device.a
ar -rcs out/helloworld@linuxhost/libraries/vfs_device.a @out/helloworld@linuxhost/libraries/vfs_device.ar_opts
echo Making helloworld@linuxhost.elf
Making helloworld@linuxhost.elf
gcc @out/helloworld@linuxhost/binary/link.opts -o out/helloworld@linuxhost/binary/helloworld@linuxhost.elf
"/opt/AliOS-Things/build/cmd/linux64/echo"

"/usr/bin/python" .//build/scripts/map_parse_gcc.py out/helloworld@linuxhost/binary/helloworld@linuxhost.map > out/helloworld@linuxhost/binary/helloworld@linuxhost_map.csv
Traceback (most recent call last):
File ".//build/scripts/map_parse_gcc.py", line 15, in
mem_config_text = re.findall('Memory Configuration\n\nName Origin Length Attributes\n([\s\S]+)\nLinker script and memory map', s)[0]
IndexError: list index out of range
build/aos_target_build.mk:265: recipe for target 'out/helloworld@linuxhost/binary/helloworld@linuxhost.elf' failed
make[1]: *** [out/helloworld@linuxhost/binary/helloworld@linuxhost.elf] Error 1
make[1]: Leaving directory '/opt/AliOS-Things'
build/Makefile:197: recipe for target 'main_app' failed
make: *** [main_app] Error 2
[aos] ERROR: "/" returned error code 2.
[aos] ERROR: Command "/ o p t / A l i O S - T h i n g s / b u i l d / c m d / l i n u x 6 4 / m a k e H O S T _ O S = L i n u x 6 4 T O O L S _ R O O T = / o p t / A l i O S - T h i n g s / b u i l d - f b u i l d / M a k e f i l e h e l l o w o r l d @ l i n u x h o s t V E R B O S E = 1" in "/opt/AliOS-Things"

@notagoodman
Copy link

@junjiec 纠正下,out/helloworld@linuxhost/binary/helloworld@linuxhost.elf已经生成了。map_parse_gcc.py貌似有问题,我没有改过,按照编译的提示,其中第15行如下:
mem_config_text = re.findall('Memory Configuration\n\nName Origin Length Attributes\n([\s\S]+)\nLinker script and memory map', s)[0]

helloworld@linuxhost.map.zip

@junjiec
Copy link
Contributor

junjiec commented Dec 26, 2017

@notagoodman 最好不要用sudo,把out目录删除,不用sudo编译看看

@notagoodman
Copy link

@junjiec 试过,不行。每次编译之前都会手动删除out目录。
我建立的目录如果不用sudo就没有权限,所以加了sudo。
之前在个人目录下,没有使用sudo可以编译,但也是一样的结果。

@junjiec
Copy link
Contributor

junjiec commented Dec 26, 2017

@notagoodman 是语言设置的问题,设置为中文会有问题,编译前
export LANG=en_US
一下试试

@notagoodman
Copy link

@junjiec 厉害,就是语言设置问题。重新设置了语言后就通过了。
请教下,你从哪里看出来是语言问题的?

@junjiec
Copy link
Contributor

junjiec commented Dec 26, 2017

@oujunli 同学发现的,map文件里面有中文字符

@junjiec junjiec closed this as completed Dec 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants