summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2023-06-10 17:24:23 +0700
committerGitHub <[email protected]>2023-06-10 17:24:23 +0700
commit39a64334aaf815b1b01e246680dd1e2d21f9fd18 (patch)
tree1e3a21d838dd4c298cc6a73c697a7a937ba9c0a7
parentaaec12a3fb3e505c00b5abba47a55b1a20f6076f (diff)
parent0493983a8ff7d068bd1ef94bcea92846cbe4157e (diff)
Merge pull request #2100 from kilograham/top_broken
movement of TOP in c0ecf8b5 broke RP2040 SDK build
-rw-r--r--hw/bsp/family_support.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/bsp/family_support.cmake b/hw/bsp/family_support.cmake
index fdcd9a983..d80b54ef8 100644
--- a/hw/bsp/family_support.cmake
+++ b/hw/bsp/family_support.cmake
@@ -4,6 +4,7 @@ include(CMakePrintHelpers)
# TOP is path to root directory
set(TOP "${CMAKE_CURRENT_LIST_DIR}/../..")
+get_filename_component(TOP ${TOP} ABSOLUTE)
# Default to gcc
if (NOT DEFINED TOOLCHAIN)