summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Burton <richard.burton@arm.com>2022-05-16 14:32:22 +0100
committerRichard <richard.burton@arm.com>2022-05-16 13:58:02 +0000
commitb76b855448d58b85f53642532375c9b7808ab14d (patch)
tree399231b6e1bd1cf4952d74f0deff498d1705c34c
parent937052db1df7050f95e14f3ce87a36c3787a7641 (diff)
downloadml-embedded-evaluation-kit-b76b855448d58b85f53642532375c9b7808ab14d.tar.gz
Minor change to help build API libs independently.
* Remove unused CMake left behind after API refactoring. * Include TensorFlow source path directory for common_api target when building CMSIS packs. Signed-off-by: Richard Burton <richard.burton@arm.com> Change-Id: I3ed63781edddf24887f61a971bfadaa037739fa8
-rw-r--r--CMakeLists.txt1
-rw-r--r--scripts/cmake/cmsis-pack-gen/CMakeLists.txt1
2 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e501a54..c51d0af 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -120,7 +120,6 @@ add_subdirectory(${SRC_PATH}/application/api/common ${CMAKE_BINARY_DIR}/api/comm
# Include directories for application module:
set(APPLICATION_INCLUDE_DIRS
- ${SRC_PATH}/application/tensorflow-lite-micro/include
${SRC_PATH}/application/main/include)
# Source files for application module:
diff --git a/scripts/cmake/cmsis-pack-gen/CMakeLists.txt b/scripts/cmake/cmsis-pack-gen/CMakeLists.txt
index 2774ab2..19787b6 100644
--- a/scripts/cmake/cmsis-pack-gen/CMakeLists.txt
+++ b/scripts/cmake/cmsis-pack-gen/CMakeLists.txt
@@ -55,6 +55,7 @@ endforeach()
# Any custom steps that are required for the CMSIS pack generation flow
# must be declared here:
if (CMSIS_PACK_GEN_FLOW)
+ target_include_directories(common_api PUBLIC ${TENSORFLOW_SRC_PATH})
# For CMSIS packs, we need CMSIS DSP definition.
# @TODO: Currently, this line is added multiple times to the include file. Uncomment when
# packgen is fixed.