diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-17 09:25:03 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-17 09:25:03 +0000 |
commit | 69bbe4464f21e1a8afaaa2fba7f6557aa89ee544 (patch) | |
tree | 077fec58affc58aa399002e58239c35fecd34c90 /carl9170fw/extra/sh-elf-linux.cmake | |
parent | Adding upstream version 20200122. (diff) | |
download | firmware-free-69bbe4464f21e1a8afaaa2fba7f6557aa89ee544.tar.xz firmware-free-69bbe4464f21e1a8afaaa2fba7f6557aa89ee544.zip |
Adding upstream version 20240610.upstream/20240610upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | carl9170fw/extra/sh-elf-linux.cmake | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/carl9170fw/extra/sh-elf-linux.cmake b/carl9170fw/extra/sh-elf-linux.cmake deleted file mode 100644 index 8be6d36..0000000 --- a/carl9170fw/extra/sh-elf-linux.cmake +++ /dev/null @@ -1,21 +0,0 @@ -set(CMAKE_SYSTEM_NAME "Generic") -set(CMAKE_SYSTEM_PROCESSOR "sh2") - -set_property(DIRECTORY PROPERTY TARGET_SUPPORTS_SHARED_LIBS FALSE) - -set(CMAKE_FIND_ROOT_PATH ${CMAKE_SOURCE_DIR}/toolchain/inst/) - -set(CMAKE_C_FLAGS "-m2 -ml -Os -ffreestanding -nostartfiles") -set(CMAKE_C_LINK_FLAGS "-static -EL -x --gc-sections") - -set(OBJCOPY ${CMAKE_SOURCE_DIR}/toolchain/inst/bin/sh-elf-objcopy) -set(CMAKE_C_COMPILER "${CMAKE_SOURCE_DIR}/toolchain/inst/bin/sh-elf-gcc") -set(CMAKE_AR ${CMAKE_SOURCE_DIR}/toolchain/inst/bin/sh-elf-ar) -set(CMAKE_ASM_COMPILER ${CMAKE_SOURCE_DIR}/toolchain/inst/bin/sh-elf-as) -set(CMAKE_ASM-ATT_COMPILER ${CMAKE_SOURCE_DIR}/toolchain/inst/bin/sh-elf-as) -set(CMAKE_LINKER ${CMAKE_SOURCE_DIR}/toolchain/inst/bin/sh-elf-ld) -set(CMAKE_C_LINK_EXECUTABLE "${CMAKE_SOURCE_DIR}/toolchain/inst/bin/sh-elf-ld <OBJECTS> <CMAKE_C_LINK_FLAGS> <LINK_FLAGS> -o <TARGET>") - -set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) -set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) -set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) |