From aa90cb43b370ee219e1e14ad774b662a53178727 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Sat, 25 Jun 2016 00:22:11 -0400 Subject: Finish unwinding subrepository hairball: VPATH setup. --- projects/hsm/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'projects') diff --git a/projects/hsm/Makefile b/projects/hsm/Makefile index a5bd30a..b1718b3 100644 --- a/projects/hsm/Makefile +++ b/projects/hsm/Makefile @@ -26,7 +26,11 @@ BOARD_OBJS = \ $(BOARD_DIR)/stm32f4xx_hal_msp.o \ $(BOARD_DIR)/stm32f4xx_it_rtos.o -CFLAGS += -I$(LIBHAL_DIR) +ifndef CRYPTECH_ROOT + CRYPTECH_ROOT := $(abspath ../../../..) +endif + +CFLAGS += -I$(CRYPTECH_ROOT)/sw/libhal CFLAGS += -I$(LIBCLI_DIR) CFLAGS += -I$(RTOS_DIR)/rtos -I$(RTOS_DIR)/rtx/TARGET_CORTEX_M -- cgit v1.2.3