diff options
| author | Evan Lojewski <github@meklort.com> | 2019-03-30 20:23:35 -0600 |
|---|---|---|
| committer | Evan Lojewski <github@meklort.com> | 2019-03-30 20:23:35 -0600 |
| commit | e0628cd61c6b8e5cc5bbb704e3ced19e4cc35df3 (patch) | |
| tree | 4e1ceca9d3de08fa5030a9023b46d6dc14953934 /cmake | |
| parent | b9643647f16bc533faa0cddb72e24903f35ab9fa (diff) | |
| download | bcm5719-ortega-e0628cd61c6b8e5cc5bbb704e3ced19e4cc35df3.tar.gz bcm5719-ortega-e0628cd61c6b8e5cc5bbb704e3ced19e4cc35df3.zip | |
Update arm cmake rules to generate ape binary.
Diffstat (limited to 'cmake')
| -rw-r--r-- | cmake/arm.cmake | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cmake/arm.cmake b/cmake/arm.cmake index 35a99a1..c63eea5 100644 --- a/cmake/arm.cmake +++ b/cmake/arm.cmake @@ -62,8 +62,9 @@ function(arm_add_executable target) add_custom_command( TARGET ${target} POST_BUILD - COMMAND llvm-objcopy -O binary ${target} ${target}.bin - BYPRODUCTS ${target}.bin) + COMMAND elf2ape -i ${target} -o ${target}.bin + BYPRODUCTS ${target}.bin + DEPENDS elf2ape) endfunction(arm_add_executable) # ARM-specific libraries |

