Drop tflite and flatbuffer dependencies
There is not real need for the linux_driver_stack to know about tflite
and flatbuffers. A better approach is to just pass the buffer to the
firmware to be processes, i.e., either parsed or executed.
This solves issues when linux_driver_stack and firmware are not in
sync with the same library versions.
Change-Id: I9b2a12e69f37f61b1ac594433a15883fb1c67b9c
diff --git a/driver_library/CMakeLists.txt b/driver_library/CMakeLists.txt
index 41eb115..375192f 100644
--- a/driver_library/CMakeLists.txt
+++ b/driver_library/CMakeLists.txt
@@ -24,14 +24,13 @@
# Build the driver library
add_library(ethosu STATIC "src/ethosu.cpp")
-# Add public include directory and select which files to install
+# Add public include directory and select which files to install
target_include_directories(ethosu PUBLIC "include")
set_target_properties(ethosu PROPERTIES PUBLIC_HEADER "include/ethosu.hpp")
set_target_properties(ethosu PROPERTIES VERSION ${PROJECT_VERSION})
-target_link_libraries(ethosu PRIVATE flatbuffers)
# Install library and public headers
install(TARGETS ethosu
LIBRARY DESTINATION "lib"
ARCHIVE DESTINATION "lib"
- PUBLIC_HEADER DESTINATION "include")
\ No newline at end of file
+ PUBLIC_HEADER DESTINATION "include")