Skip to content

Commit

Permalink
Makefile: Accelerate build
Browse files Browse the repository at this point in the history
  • Loading branch information
paulsc96 committed Jun 14, 2023
1 parent 935d681 commit 58e75f3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cheshire.mk
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,16 @@ chs-all: chs-sw-all chs-hw-all chs-sim-all chs-xilinx-all
# Dependencies #
################

# Ensure both Bender dependencies and submodules are checked out
# Ensure both Bender dependencies and (essential) submodules are checked out
$(CHS_ROOT)/.deps:
$(BENDER) checkout
git submodule update --init --recursive
git submodule update --init --recursive sw/deps/printf
@touch $@

# Make sure dependencies are more up-to-date than any targets run
ifeq ($(shell stat $(CHS_ROOT)/.deps),)
include $(CHS_ROOT)/.deps
endif

######################
# Nonfree components #
Expand Down

0 comments on commit 58e75f3

Please sign in to comment.