feature(script): update compiling script for new make and cmake

This commit is contained in:
dongheng
2019-08-02 10:28:03 +08:00
parent 6b077372ef
commit 114d2b5b86
57 changed files with 1879 additions and 791 deletions

View File

@ -1,10 +1,9 @@
set(COMPONENT_ADD_INCLUDEDIRS include include/freertos include/freertos/private port/esp8266/include port/esp8266/include/freertos)
set(COMPONENT_SRCDIRS "freertos" "port/esp8266")
set(COMPONENT_REQUIRES "esp8266")
register_component()
target_link_libraries(freertos "-Wl,--undefined=uxTopUsedPriority")
target_link_libraries(${COMPONENT_LIB} "-Wl,--undefined=uxTopUsedPriority")
set_source_files_properties(
tasks.c