summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorEvan Lojewski <github@meklort.com>2019-03-30 20:23:35 -0600
committerEvan Lojewski <github@meklort.com>2019-03-30 20:23:35 -0600
commite0628cd61c6b8e5cc5bbb704e3ced19e4cc35df3 (patch)
tree4e1ceca9d3de08fa5030a9023b46d6dc14953934 /cmake
parentb9643647f16bc533faa0cddb72e24903f35ab9fa (diff)
downloadbcm5719-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.cmake5
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
OpenPOWER on IntegriCloud