cmake: clear llvm bintool gapfill property
The llvm-objcopy doesn't support a gap-fill argument, therefore clear the property to remove the error: > llvm-objcopy: error: unknown argument '--gap-fill' Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
This commit is contained in:
parent
2e8868c16e
commit
71fd4d9c98
1 changed files with 2 additions and 5 deletions
|
@ -44,11 +44,8 @@ set_property(TARGET bintools PROPERTY elfconvert_flag_section_remove "--remove-s
|
|||
set_property(TARGET bintools PROPERTY elfconvert_flag_section_only "--only-section=")
|
||||
set_property(TARGET bintools PROPERTY elfconvert_flag_section_rename "--rename-section;")
|
||||
|
||||
# Note, placing a ';' at the end results in the following param to be a list,
|
||||
# and hence space separated.
|
||||
# Thus the command line argument becomes:
|
||||
# `--gap-file <value>` instead of `--gap-fill<value>` (The latter would result in an error)
|
||||
set_property(TARGET bintools PROPERTY elfconvert_flag_gapfill "--gap-fill;")
|
||||
# llvm-objcopy doesn't support gap fill argument.
|
||||
set_property(TARGET bintools PROPERTY elfconvert_flag_gapfill "")
|
||||
set_property(TARGET bintools PROPERTY elfconvert_flag_srec_len "--srec-len=")
|
||||
|
||||
set_property(TARGET bintools PROPERTY elfconvert_flag_infile "")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue