Platform: relocate common folder
This patch relocates common folder to
platform/ext, as the code in this folder
uses target resources.
Change-Id: Iaa2a3682c150ec36a8d4818ea2f42e62de7d8ed9
Signed-off-by: Marc Moreno <marc.morenoberengue@arm.com>
diff --git a/platform/ext/Mps2AN521.cmake b/platform/ext/Mps2AN521.cmake
index dea5de8..80190f4 100644
--- a/platform/ext/Mps2AN521.cmake
+++ b/platform/ext/Mps2AN521.cmake
@@ -33,8 +33,8 @@
if (NOT DEFINED BUILD_UART_STDOUT)
message(FATAL_ERROR "Configuration variable BUILD_UART_STDOUT (true|false) is undefined!")
elseif(BUILD_UART_STDOUT)
- LIST(APPEND ALL_SRC_C "${PLATFORM_DIR}/target/common/uart_stdout.c")
- embedded_include_directories(PATH "${PLATFORM_DIR}/target/common" ABSOLUTE)
+ LIST(APPEND ALL_SRC_C "${PLATFORM_DIR}/common/uart_stdout.c")
+ embedded_include_directories(PATH "${PLATFORM_DIR}/common" ABSOLUTE)
set(BUILD_NATIVE_DRIVERS true)
set(BUILD_CMSIS_DRIVERS true)
endif()
@@ -93,6 +93,6 @@
if (NOT DEFINED BUILD_FLASH)
message(FATAL_ERROR "Configuration variable BUILD_FLASH (true|false) is undefined!")
elseif(BUILD_FLASH)
- list(APPEND ALL_SRC_C "${PLATFORM_DIR}/target/common/flash_memory_mapped.c")
- embedded_include_directories(PATH "${PLATFORM_DIR}/target/common" ABSOLUTE)
+ list(APPEND ALL_SRC_C "${PLATFORM_DIR}/common/flash_memory_mapped.c")
+ embedded_include_directories(PATH "${PLATFORM_DIR}/common" ABSOLUTE)
endif()