Skip to content

Commit 9e3d93a

Browse files
committed
Remove link.ld from cfg scripts.
This responsibility now falls on the compiler driver.
1 parent 7601cd9 commit 9e3d93a

File tree

3 files changed

+0
-7
lines changed

3 files changed

+0
-7
lines changed

cmake/platform.cmake

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,6 @@ function(platform name)
6262

6363
# Add Clang configuration file.
6464
set(clang_config ${CMAKE_CURRENT_BINARY_DIR}/mos-${PLATFORM}.cfg)
65-
if(COMPLETE)
66-
set(LINKER_SCRIPT "# Use platform linker script.\n-T<CFGDIR>/../mos-platform/${PLATFORM}/lib/link.ld")
67-
endif()
6865
if(PARENT)
6966
configure_file(${CMAKE_SOURCE_DIR}/mos-platform/derived.cfg ${clang_config})
7067
else()

mos-platform/derived.cfg

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
-isystem <CFGDIR>/../mos-platform/${PLATFORM}/include
55
-L<CFGDIR>/../mos-platform/${PLATFORM}/lib
66

7-
${LINKER_SCRIPT}
8-
97
# Include parent configuration afterwards to give it lesser precedence.
108
@mos-${PARENT}.cfg
119

mos-platform/root.cfg

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,3 @@
1919
# Place directories in include and linker search paths.
2020
-isystem <CFGDIR>/../mos-platform/${PLATFORM}/include
2121
-L<CFGDIR>/../mos-platform/${PLATFORM}/lib
22-
23-
${LINKER_SCRIPT}

0 commit comments

Comments
 (0)