aboutsummaryrefslogtreecommitdiff
path: root/driver_library
diff options
context:
space:
mode:
authorMikael Olsson <mikael.olsson@arm.com>2023-04-18 12:06:54 +0200
committerMikael Olsson <mikael.olsson@arm.com>2023-04-20 15:59:54 +0200
commit18cfaf00eb86b0d71aa45a5cfebba8ab1715b154 (patch)
treeec61c4696f4e05253510c80fe696832060dee1d9 /driver_library
parent29e4ddb3990f184c85f68add04ee0c76ca34671a (diff)
downloadethos-u-linux-driver-stack-18cfaf00eb86b0d71aa45a5cfebba8ab1715b154.tar.gz
Fix license file path in Python API CMake file
The CMake file for the Python API, currently fails to copy the license file to the build directory because it incorrectly assumes that the file is in the Python API folder. The license file that should be used is in the top of the repository and the CMake file has been updated accordingly. Change-Id: Ia0131cc27abdf28d355c69a556229691901971e5
Diffstat (limited to 'driver_library')
-rw-r--r--driver_library/python/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/driver_library/python/CMakeLists.txt b/driver_library/python/CMakeLists.txt
index 5603273..6554730 100644
--- a/driver_library/python/CMakeLists.txt
+++ b/driver_library/python/CMakeLists.txt
@@ -1,5 +1,5 @@
#
-# SPDX-FileCopyrightText: Copyright 2021-2022 Arm Limited and/or its affiliates <open-source-office@arm.com>
+# SPDX-FileCopyrightText: Copyright 2021-2023 Arm Limited and/or its affiliates <open-source-office@arm.com>
#
# SPDX-License-Identifier: Apache-2.0
#
@@ -38,7 +38,7 @@ set(DRIVER_ENV ETHOS_U_DRIVER_INCLUDE="${PROJECT_SOURCE_DIR}/include"
# common step - generates swig wrappers
add_custom_command(OUTPUT ${OUT_WRAP}
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/README.md ${CMAKE_CURRENT_BINARY_DIR}
- COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/LICENSE ${CMAKE_CURRENT_BINARY_DIR}
+ COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/../../LICENSE-APACHE-2.0.txt ${CMAKE_CURRENT_BINARY_DIR}/LICENSE
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/swig_generate.py ${CMAKE_CURRENT_BINARY_DIR}
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/setup.py ${CMAKE_CURRENT_BINARY_DIR}
COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_CURRENT_SOURCE_DIR}/src ${CMAKE_CURRENT_BINARY_DIR}/src