Skip to content

Commit fc168ef

Browse files
committed
Add generate-if-needed to build target
1 parent 587efdf commit fc168ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ generate-if-needed:
5353
@test -s $(BUILD_DIR) || $(MAKE) generate
5454

5555
.PHONY: build
56-
build: fprime-venv zephyr-setup $(UF2) ## Build FPrime-Zephyr Proves Core Reference
56+
build: fprime-venv zephyr-setup generate-if-needed ## Build FPrime-Zephyr Proves Core Reference
5757
@echo "Building FPrime code..."
5858
@$(UV) run fprime-util build
5959

@@ -80,7 +80,7 @@ clean: ## Remove all gitignored files
8080
.PHONY: gds
8181
gds: ## Run FPrime GDS
8282
@echo "Running FPrime GDS..."
83-
@$(UV) run fprime-gds -n --dictionary ./build-artifacts/zephyr/fprime-zephyr-deployment/dict/ReferenceDeploymentTopologyDictionary.json --communication-selection uart --uart-baud 115200 --output-unframed-data
83+
@$(UV) run fprime-gds -n --dictionary $(BUILD_DIR)/zephyr/fprime-zephyr-deployment/dict/ReferenceDeploymentTopologyDictionary.json --communication-selection uart --uart-baud 115200 --output-unframed-data
8484

8585
##@ Build Tools
8686
BIN_DIR ?= $(shell pwd)/bin

0 commit comments

Comments
 (0)