soc: move mpu_hal test to hal component

This commit is contained in:
Renz Bagaporo
2020-09-17 19:48:39 +08:00
committed by bot
parent 2bcf99527c
commit 01d9aa8070
3 changed files with 8 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
idf_component_register(SRC_DIRS "."
PRIV_INCLUDE_DIRS "${include_dirs}"
PRIV_REQUIRES cmock test_utils)

View File

@@ -0,0 +1,5 @@
COMPONENT_SRCDIRS := .
COMPONENT_ADD_LDFLAGS = -Wl,--whole-archive -l$(COMPONENT_NAME) -Wl,--no-whole-archive