carl9170 firmware miniboot: remove miniboot.fw on make clean
authorChristian Lamparter <chunkeey@gmail.com>
Sat, 13 Feb 2021 11:44:59 +0000 (12:44 +0100)
committerChristian Lamparter <chunkeey@gmail.com>
Sat, 13 Feb 2021 11:45:23 +0000 (12:45 +0100)
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
minifw/CMakeLists.txt

index adf5e08da0d2102ae5b001ec358929e3cbd8f94f..e34d29b2a0a4f99973aefa91f19230aad486f8ad 100644 (file)
@@ -17,4 +17,5 @@ set_target_properties(miniboot.elf PROPERTIES LINK_FLAGS "-Tminiboot.lds")
 add_custom_target(
        miniboot.fw ALL
        ${OBJCOPY} --strip-unneeded -O binary -R .sram -R .eeprom -R .fwdsc miniboot.elf miniboot.fw
-       DEPENDS miniboot.elf)
+       DEPENDS miniboot.elf
+       BYPRODUCTS miniboot.fw)