mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
build system: Fix null-terminating of text files for embedding on OS X
Ref github #112
This commit is contained in:
parent
d467eabadb
commit
5ac7810480
@ -198,7 +198,7 @@ embed_bin/$$(notdir $(1)): $(call resolvepath,$(1),$(COMPONENT_PATH)) | embed_bi
|
||||
|
||||
embed_txt/$$(notdir $(1)): $(call resolvepath,$(1),$(COMPONENT_PATH)) | embed_txt
|
||||
cp $$< $$@
|
||||
echo -ne '\0' >> $$@ # null-terminate text files
|
||||
printf '\0' >> $$@ # null-terminate text files
|
||||
|
||||
# messing about with the embed_X subdirectory then using 'cd' for objcopy is because the
|
||||
# full path passed to OBJCOPY makes it into the name of the symbols in the .o file
|
||||
|
Loading…
x
Reference in New Issue
Block a user