Generate a descriptive error message in case cc26xxware/cc13xxware does not exist

This commit is contained in:
Atis Elsts 2018-09-03 11:49:08 +01:00
parent b49477441c
commit eb253c0f3b
1 changed files with 6 additions and 0 deletions

View File

@ -1,6 +1,12 @@
CPU_ABS_PATH = arch/cpu/cc26xx-cc13xx
TI_XXWARE = $(CONTIKI_CPU)/$(TI_XXWARE_PATH)
ifeq (,$(wildcard $(TI_XXWARE)))
$(warning $(TI_XXWARE) does not exist.)
$(warning Did you run 'git submodule update --init' ?)
$(error "")
endif
### cc26xxware sources under driverlib will be added to the MODULES list
TI_XXWARE_SRC = $(CPU_ABS_PATH)/$(TI_XXWARE_PATH)/driverlib