Davide Grohmann | 144b2d2 | 2022-05-31 15:24:02 +0200 | [diff] [blame] | 1 | # |
| 2 | # Copyright (c) 2020-2022 Arm Limited. |
| 3 | # |
| 4 | # SPDX-License-Identifier: Apache-2.0 |
| 5 | # |
| 6 | # Licensed under the Apache License, Version 2.0 (the License); you may |
| 7 | # not use this file except in compliance with the License. |
| 8 | # You may obtain a copy of the License at |
| 9 | # |
| 10 | # www.apache.org/licenses/LICENSE-2.0 |
| 11 | # |
| 12 | # Unless required by applicable law or agreed to in writing, software |
| 13 | # distributed under the License is distributed on an AS IS BASIS, WITHOUT |
| 14 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | # See the License for the specific language governing permissions and |
| 16 | # limitations under the License. |
| 17 | # |
| 18 | |
| 19 | add_library(message_handler_lib STATIC) |
| 20 | |
| 21 | target_include_directories(message_handler_lib PUBLIC include |
Davide Grohmann | 06f954b | 2022-06-16 13:40:15 +0200 | [diff] [blame] | 22 | PRIVATE ${LINUX_DRIVER_STACK_PATH}/kernel) |
Davide Grohmann | 144b2d2 | 2022-05-31 15:24:02 +0200 | [diff] [blame] | 23 | |
Davide Grohmann | 06f954b | 2022-06-16 13:40:15 +0200 | [diff] [blame] | 24 | target_link_libraries(message_handler_lib |
| 25 | PUBLIC |
Kristofer Jonsson | 8f813b3 | 2022-11-23 13:05:47 +0100 | [diff] [blame] | 26 | ethosu_mailbox |
| 27 | $<$<TARGET_EXISTS:ethosu_core_driver>:ethosu_core_driver> |
| 28 | inference_process |
Davide Grohmann | 144b2d2 | 2022-05-31 15:24:02 +0200 | [diff] [blame] | 29 | PRIVATE |
Kristofer Jonsson | 8f813b3 | 2022-11-23 13:05:47 +0100 | [diff] [blame] | 30 | cmsis_device |
| 31 | freertos_kernel |
| 32 | tflu) |
Davide Grohmann | 144b2d2 | 2022-05-31 15:24:02 +0200 | [diff] [blame] | 33 | |
| 34 | target_sources(message_handler_lib PRIVATE |
| 35 | message_handler.cpp |
| 36 | message_queue.cpp |
| 37 | core_driver_mutex.cpp |
| 38 | freertos_allocator.cpp) |