Skip to content

Commit

Permalink
Add error message if user doesn't have submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-dewar committed Dec 3, 2024
1 parent 8e0afc0 commit d8b6aee
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions firmware/mcu/hal/Makefile.hal
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,11 @@ endif
#Default stuff
EXTRAINCDIRS += $(HALPATH)
EXTRAINCDIRS += $(HALBASE)
ifneq ($(EXTRAPATH),)
ifeq ("$(wildcard $(HALPATH)/.gitignore)","")
$(error Missing fw-extra submodule. See https://github.com/newaetech/chipwhisperer-fw-extra)
endif
endif

include $(HALPATH)/$(HAL)/Makefile.$(HAL)
CDEFS += -DHAL_TYPE=HAL_$(HAL) -DPLATFORM=$(PLATFORM)
Expand Down

0 comments on commit d8b6aee

Please sign in to comment.