Skip to content

Commit

Permalink
makefile: fix dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
saursin committed Oct 16, 2023
1 parent 8ea9413 commit a59d042
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ help : Makefile ## Show help message

# ======== AtomSim ========
.PHONY : sim
sim: ## Build atomsim for given target [default: atombones]
sim: boot ## Build atomsim for given target [default: atombones]
@printf "$(CLR_GR)>> Building Atomsim [soctarget:$(soctarget)] $(CLR_NC)\n"
make $(MKFLAGS) -C $(sim_dir) soctarget=$(soctarget) DEBUG=1

Expand All @@ -92,13 +92,13 @@ clean-sim: ## Clean atomsim build files


.PHONY: test
test: ## Test the build using banner example
test: sim lib ## Test the build using banner example
cd sw/examples && make ex=banner sim=true clean compile run


# ======== Bootloader ========
.PHONY : boot
boot: ## Build bootloader for given target [default: atombones]
boot: lib ## Build bootloader for given target [default: atombones]
@printf "$(CLR_GR)>> Building bootloader [soctarget:$(soctarget)] $(CLR_NC)\n"
make $(MKFLAGS) -C $(bootloader_dir) soctarget=$(soctarget)

Expand All @@ -111,7 +111,7 @@ clean-boot: ## Clean bootloader build files

# ======== SCAR ========
.PHONY: scar
scar: $(bin_dir)/$(sim_executable) ## Verify target using scar
scar: sim ## Verify target using scar
@printf "$(CLR_GR)>> Running SCAR $(CLR_NC)\n"
make $(MKFLAGS) -C $(scar_dir)

Expand Down

0 comments on commit a59d042

Please sign in to comment.