build system: support for multiple targets

This commit is contained in:
Ivan Grokhotkov
2018-10-19 11:51:51 +08:00
parent e2ca285fae
commit ccfa134533
18 changed files with 281 additions and 97 deletions

View File

@@ -1,3 +1,5 @@
require_idf_targets(esp32)
if(BOOTLOADER_BUILD)
# For bootloader, all we need from esp32 is headers
set(COMPONENT_ADD_INCLUDEDIRS include)