summaryrefslogtreecommitdiff
path: root/chip/g/build.mk
diff options
context:
space:
mode:
Diffstat (limited to 'chip/g/build.mk')
-rw-r--r--chip/g/build.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/chip/g/build.mk b/chip/g/build.mk
index 80bc997b59..4d9bd6f7b8 100644
--- a/chip/g/build.mk
+++ b/chip/g/build.mk
@@ -13,8 +13,11 @@ CPPFLAGS += -I$(abspath .)
CPPFLAGS += -I$(abspath ./builtin)
CPPFLAGS += -I$(abspath ./chip/$(CHIP))
CPPFLAGS += -I$(INCLUDE_ROOT)
+dirs-y += chip/g/dcrypto
endif
+CPPFLAGS += -I$(realpath ../../third_party/cryptoc/include)
+
# Required chip modules
chip-y = clock.o gpio.o hwtimer.o pre_init.o system.o
chip-$(CONFIG_BOARD_ID_SUPPORT) += board_id.o
@@ -90,7 +93,6 @@ chip-$(CONFIG_I2C_PERIPH)+= i2cp.o
chip-$(CONFIG_LOW_POWER_IDLE)+=idle.o
chip-$(CONFIG_FLASH_PHYSICAL) += flash.o
-dirs-y += chip/g/dcrypto
ifneq ($(CONFIG_CUSTOMIZED_RO),)
custom-ro_objs-y = chip/g/clock.o