Skip to content

Commit

Permalink
Print the path to the resulting bin/hex file
Browse files Browse the repository at this point in the history
Signed-off-by: Evy Bongers <[email protected]>
  • Loading branch information
EvyBongers authored and obra committed May 7, 2024
1 parent 71e2735 commit fdd1d8e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions etc/makefiles/sketch.mk
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ ifeq ($(LIBONLY),)
$(QUIET) ln -sf "${OUTPUT_FILE_PREFIX}.hex" "${OUTPUT_PATH}/${SKETCH_BASE_NAME}-latest.hex"
$(QUIET) ln -sf "${OUTPUT_FILE_PREFIX}.elf" "${OUTPUT_PATH}/${SKETCH_BASE_NAME}-latest.elf"
$(QUIET) if [ -e "${OUTPUT_PATH}/${OUTPUT_FILE_PREFIX}.bin" ]; then ln -sf "${OUTPUT_FILE_PREFIX}.bin" "${OUTPUT_PATH}/${SKETCH_BASE_NAME}-latest.bin"; else :; fi
$(QUIET) if [ -e "${BIN_FILE_PATH}" ]; then echo "Firmware build at ${BIN_FILE_PATH}"; else echo "Firmware build at ${HEX_FILE_PATH}"; fi
else
$(QUIET) cp "${BUILD_PATH}/${SKETCH_FILE_NAME}.a" "${LIB_FILE_PATH}"
$(QUIET) ln -sf "${OUTPUT_FILE_PREFIX}.a" "${OUTPUT_PATH}/${SKETCH_BASE_NAME}-latest.a"
Expand Down

0 comments on commit fdd1d8e

Please sign in to comment.