carl9170 firmware build: remove byproducts carl9170's dsc bin files
authorChristian Lamparter <chunkeey@gmail.com>
Sat, 13 Feb 2021 11:42:09 +0000 (12:42 +0100)
committerChristian Lamparter <chunkeey@gmail.com>
Sat, 13 Feb 2021 11:45:23 +0000 (12:45 +0100)
These files are produced as part of the firmware built. These
should be removed by "make clean".

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
carlfw/CMakeLists.txt

index c32b43fdd13d569cf4a66f765b38de3305838c97..1f04afa9f0e462f589de1a63bc2929032e3bb93d 100644 (file)
@@ -46,6 +46,7 @@ add_custom_command(
        COMMAND ${OBJCOPY}
        ARGS --strip-unneeded -O binary -R .sram -R .eeprom -R .fwdsc carl9170.elf carl9170.bin
        TARGET firmware
+       BYPRODUCTS carl9170.bin
        OUTPUTS carl9170.bin)
 
 add_custom_command(
@@ -53,6 +54,7 @@ add_custom_command(
        COMMAND ${OBJCOPY}
        ARGS --strip-unneeded -O binary -j .fwdsc carl9170.elf carl9170.dsc
        TARGET firmware
+       BYPRODUCTS carl9170.dsc
        OUTPUTS carl9170.dsc)
 
 add_custom_command(