diff options
author | Rob Austein <sra@hactrn.net> | 2016-06-25 00:22:11 -0400 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2016-06-25 00:22:11 -0400 |
commit | aa90cb43b370ee219e1e14ad774b662a53178727 (patch) | |
tree | 7f2452ccf228ff39e14d612613ec8fbd22fe11e2 /projects | |
parent | 41d765504350626b9c886c0e92f768184b457a54 (diff) |
Finish unwinding subrepository hairball: VPATH setup.
Diffstat (limited to 'projects')
-rw-r--r-- | projects/hsm/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
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 |