diff options
author | David P <megver83@parabola.nu> | 2018-04-09 14:44:52 -0300 |
---|---|---|
committer | David P <megver83@parabola.nu> | 2018-04-09 14:44:52 -0300 |
commit | 5f9e7fba0c879546703ef4f3580b0a148a7c84f7 (patch) | |
tree | a402a3d56e25a5870ada0f4566ced31f3c438059 /libre/linux-libre-firmware/remove-wget.patch | |
parent | 2f5136e5f40d69bd0115d898fda48d0ed9159c40 (diff) | |
download | abslibre-5f9e7fba0c879546703ef4f3580b0a148a7c84f7.tar.gz abslibre-5f9e7fba0c879546703ef4f3580b0a148a7c84f7.tar.bz2 abslibre-5f9e7fba0c879546703ef4f3580b0a148a7c84f7.zip |
upgpkg: libre/linux-libre-firmware 1:1.1-2
Diffstat (limited to 'libre/linux-libre-firmware/remove-wget.patch')
-rw-r--r-- | libre/linux-libre-firmware/remove-wget.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/libre/linux-libre-firmware/remove-wget.patch b/libre/linux-libre-firmware/remove-wget.patch index 30c9e8a7d..59142b786 100644 --- a/libre/linux-libre-firmware/remove-wget.patch +++ b/libre/linux-libre-firmware/remove-wget.patch @@ -29409,6 +29409,38 @@ index e2d4639..4d0de5c 100755 TOOLCHAIN_FILE="$PWD/build/toolchain.cmake" +diff --git a/src/carl9170fw/extra/sh-elf-linux.cmake b/src/carl9170fw/extra/sh-elf-linux.cmake +index 3fdf98c..36e3b63 100644 +--- a/src/carl9170fw/extra/sh-elf-linux.cmake ++++ b/src/carl9170fw/extra/sh-elf-linux.cmake +@@ -3,19 +3,19 @@ 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_FIND_ROOT_PATH /) + + set(CMAKE_C_FLAGS "-m2 -ml -Os -ffreestanding -nostartfiles") + set(CMAKE_C_LINK_FLAGS "-Wl,-static,-EL,-x,--gc-sections") + set(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "") + +-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-gcc <OBJECTS> ${CMAKE_C_FLAGS} <CMAKE_C_LINK_FLAGS> <LINK_FLAGS> -o <TARGET>") ++set(OBJCOPY /bin/sh-elf-objcopy) ++set(CMAKE_C_COMPILER "/bin/sh-elf-gcc") ++set(CMAKE_AR /bin/sh-elf-ar) ++set(CMAKE_ASM_COMPILER /bin/sh-elf-as) ++set(CMAKE_ASM-ATT_COMPILER /bin/sh-elf-as) ++set(CMAKE_LINKER /bin/sh-elf-ld) ++set(CMAKE_C_LINK_EXECUTABLE "/bin/sh-elf-gcc <OBJECTS> ${CMAKE_C_FLAGS} <CMAKE_C_LINK_FLAGS> <LINK_FLAGS> -o <TARGET>") + + set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) + set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) diff --git a/src/carl9170fw/toolchain/Makefile a/src/carl9170fw/toolchain/Makefile deleted file mode 100644 index 3ee93a9..0000000 |