From f683980052e0f73f435a25161aea4f481d784dc3 Mon Sep 17 00:00:00 2001 From: Jared Boone Date: Thu, 30 Jun 2016 19:37:32 -0700 Subject: [PATCH] Generate and append terminator chunk to basebands image. --- firmware/baseband/CMakeLists.txt | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/firmware/baseband/CMakeLists.txt b/firmware/baseband/CMakeLists.txt index 1bd437ecb..717d7b5b7 100644 --- a/firmware/baseband/CMakeLists.txt +++ b/firmware/baseband/CMakeLists.txt @@ -345,10 +345,17 @@ add_custom_target( set(BASEBAND_IMAGES ${BASEBAND_IMAGES} hackrf.img) +### Terminator image + +add_custom_target( + terminator.img + COMMAND ${MAKE_IMAGE_CHUNK} terminator.img +) + ####################################################################### add_custom_target( baseband.img - COMMAND cat ${BASEBAND_IMAGES} >baseband.img - DEPENDS ${BASEBAND_IMAGES} + COMMAND cat ${BASEBAND_IMAGES} terminator.img >baseband.img + DEPENDS ${BASEBAND_IMAGES} terminator.img )