mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
partition_table: allow enabling this component for Linux target
Currently partition_table_bin target is not added as a dependency when building Linux app, and has to be specified manually (idf.py partition-table).
This commit is contained in:
parent
d5a1f6bafb
commit
7830af1eb9
@ -1,4 +1,10 @@
|
||||
idf_component_register(PRIV_REQUIRES esptool_py)
|
||||
idf_build_get_property(target IDF_TARGET)
|
||||
set(priv_req)
|
||||
if(NOT ${target} STREQUAL "linux")
|
||||
list(APPEND priv_req esptool_py)
|
||||
endif()
|
||||
|
||||
idf_component_register(PRIV_REQUIRES ${priv_req})
|
||||
|
||||
if(BOOTLOADER_BUILD)
|
||||
return()
|
||||
|
Loading…
x
Reference in New Issue
Block a user