summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgraham sanderson <[email protected]>2023-06-07 14:46:14 -0500
committergraham sanderson <[email protected]>2023-06-07 14:46:14 -0500
commit0493983a8ff7d068bd1ef94bcea92846cbe4157e (patch)
tree1e3a21d838dd4c298cc6a73c697a7a937ba9c0a7
parentaaec12a3fb3e505c00b5abba47a55b1a20f6076f (diff)
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)