mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
fix(cmake): don't emit section directive when embedding files on host
This commit is contained in:
parent
6f9038809a
commit
b56bb7d8e4
@ -71,7 +71,9 @@ endif()
|
||||
append_line(" */")
|
||||
|
||||
append_line(".data")
|
||||
append_line("#if !defined (__APPLE__) && !defined (__linux__)")
|
||||
append_line(".section .rodata.embedded")
|
||||
append_line("#endif")
|
||||
make_and_append_identifier("${varname}")
|
||||
make_and_append_identifier("_binary_${varname}_start" "for objcopy compatibility")
|
||||
append("${data}")
|
||||
|
Loading…
Reference in New Issue
Block a user