summaryrefslogtreecommitdiff
path: root/hw/bsp/imxrt
diff options
context:
space:
mode:
authorhathach <[email protected]>2023-05-26 14:56:22 +0700
committerhathach <[email protected]>2023-05-26 14:56:22 +0700
commitc0ecf8b50fe68a56b28bed98ecbfc6b236a848ef (patch)
tree542026cc1fa51a2a8312f501afcf79d5ebe1b007 /hw/bsp/imxrt
parent23c8670e7910ae0987b789c0a640f7cc9ad951f9 (diff)
move set TOP to family_support.cmake
Diffstat (limited to 'hw/bsp/imxrt')
-rw-r--r--hw/bsp/imxrt/family.cmake3
1 files changed, 0 insertions, 3 deletions
diff --git a/hw/bsp/imxrt/family.cmake b/hw/bsp/imxrt/family.cmake
index f9818cde6..a681b0419 100644
--- a/hw/bsp/imxrt/family.cmake
+++ b/hw/bsp/imxrt/family.cmake
@@ -4,9 +4,6 @@ if (NOT BOARD)
message(FATAL_ERROR "BOARD not specified")
endif ()
-# TOP is path to root directory
-set(TOP "${CMAKE_CURRENT_LIST_DIR}/../../..")
-
# toolchain set up
set(CMAKE_SYSTEM_PROCESSOR cortex-m7 CACHE INTERNAL "System Processor")
set(CMAKE_TOOLCHAIN_FILE ${TOP}/tools/cmake/toolchain/arm_${TOOLCHAIN}.cmake)