From 9730ae14292e97383d800f714bb65267aee93269 Mon Sep 17 00:00:00 2001 From: Piotr Esden-Tempski Date: Fri, 3 Jun 2022 18:56:42 -0700 Subject: [PATCH] build: Corrected the all_platform build target. The target was building but not including the BMDA binary, as the build system does not expect a binary that does not end with `.bin`. Additionally this corrects the BMDA Makefile.inc that was missing the `all` and `host_clean` targets. --- src/Makefile | 10 ++++++++-- src/platforms/hosted/Makefile.inc | 5 +++++ 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/src/Makefile b/src/Makefile index a9f0848..2bab43f 100644 --- a/src/Makefile +++ b/src/Makefile @@ -145,13 +145,18 @@ all_platforms: $(Q)set -e ;\ mkdir -p artifacts/$(shell git describe --always --dirty --tags) ;\ echo "" >> artifacts/index.html ;\ - cp artifacts/*.bin artifacts/$(shell git describe --always --dirty --tags) + cp artifacts/blackmagic* artifacts/$(shell git describe --always --dirty --tags) command.c: include/version.h diff --git a/src/platforms/hosted/Makefile.inc b/src/platforms/hosted/Makefile.inc index 6ba2d78..907b23a 100644 --- a/src/platforms/hosted/Makefile.inc +++ b/src/platforms/hosted/Makefile.inc @@ -83,3 +83,8 @@ else SRC += bmp_serial.c endif PC_HOSTED = 1 + +all: blackmagic + +host_clean: + -$(Q)$(RM) blackmagic