Skip to content

Commit

Permalink
Fix Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
bjpirt committed Dec 21, 2023
1 parent 2f862f6 commit b0f7909
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ build-rp2: FIRMWARE_FORMAT = uf2
build-rp2: build

.PHONY: build
build: build-conf
build:
rm -f ./build/out/${MAIN}.${PLATFORM}.${BMS_BOARD}.${FIRMWARE_FORMAT}
docker build -f build/${PLATFORM}.Dockerfile --build-arg BOARD=${BOARD} --build-arg BMS_BOARD=${BMS_BOARD} --build-arg MAIN=${MAIN} -t pybms-build-${PLATFORM} .
docker cp "$$(docker create --name tc pybms-build-${PLATFORM}):/code/ports/${PLATFORM}/build-${BOARD}/${MAIN}.${FIRMWARE_FORMAT}" ./build/out/${MAIN}.${PLATFORM}.${BMS_BOARD}.${FIRMWARE_FORMAT} && docker rm tc
Expand Down

0 comments on commit b0f7909

Please sign in to comment.