From a2e184cb3cc70d0b648bcac610fab1a0f25e124e Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 1 Nov 2019 01:13:18 +0100 Subject: baremetal fix --- Config.in | 2 +- toolchain/newlib/patches/2.5.0/fix-tooldir.patch | 12 ------------ toolchain/newlib/patches/3.0.0/fix-tooldir.patch | 12 ++++++++++++ toolchain/newlib/patches/frosted/fix-tooldir.patch | 12 ------------ 4 files changed, 13 insertions(+), 25 deletions(-) delete mode 100644 toolchain/newlib/patches/2.5.0/fix-tooldir.patch create mode 100644 toolchain/newlib/patches/3.0.0/fix-tooldir.patch delete mode 100644 toolchain/newlib/patches/frosted/fix-tooldir.patch diff --git a/Config.in b/Config.in index e1a4135d9..2dc00961c 100644 --- a/Config.in +++ b/Config.in @@ -31,7 +31,7 @@ source "target/config/Config.in.addons" endmenu menu "C Library configuration" - visible if ADK_TARGET_OS_LINUX && !ADK_TARGET_CHOOSE_ARCH + visible if ADK_TARGET_OS_LINUX || ADK_TARGET_OS_BAREMETAL && !ADK_TARGET_CHOOSE_ARCH source "target/config/Config.in.libc" source "target/config/Config.in.threads" source "target/config/Config.in.binfmt" diff --git a/toolchain/newlib/patches/2.5.0/fix-tooldir.patch b/toolchain/newlib/patches/2.5.0/fix-tooldir.patch deleted file mode 100644 index 652f7494b..000000000 --- a/toolchain/newlib/patches/2.5.0/fix-tooldir.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Nur newlib-2.2.0-1.orig/configure newlib-2.2.0-1/configure ---- newlib-2.2.0-1.orig/configure 2014-07-05 23:09:07.000000000 +0200 -+++ newlib-2.2.0-1/configure 2015-11-25 06:33:11.461178398 +0100 -@@ -6985,7 +6985,7 @@ - - # Some systems (e.g., one of the i386-aix systems the gas testers are - # using) don't handle "\$" correctly, so don't use it here. --tooldir='${exec_prefix}'/${target_noncanonical} -+tooldir='${exec_prefix}' - build_tooldir=${tooldir} - - # Create a .gdbinit file which runs the one in srcdir diff --git a/toolchain/newlib/patches/3.0.0/fix-tooldir.patch b/toolchain/newlib/patches/3.0.0/fix-tooldir.patch new file mode 100644 index 000000000..652f7494b --- /dev/null +++ b/toolchain/newlib/patches/3.0.0/fix-tooldir.patch @@ -0,0 +1,12 @@ +diff -Nur newlib-2.2.0-1.orig/configure newlib-2.2.0-1/configure +--- newlib-2.2.0-1.orig/configure 2014-07-05 23:09:07.000000000 +0200 ++++ newlib-2.2.0-1/configure 2015-11-25 06:33:11.461178398 +0100 +@@ -6985,7 +6985,7 @@ + + # Some systems (e.g., one of the i386-aix systems the gas testers are + # using) don't handle "\$" correctly, so don't use it here. +-tooldir='${exec_prefix}'/${target_noncanonical} ++tooldir='${exec_prefix}' + build_tooldir=${tooldir} + + # Create a .gdbinit file which runs the one in srcdir diff --git a/toolchain/newlib/patches/frosted/fix-tooldir.patch b/toolchain/newlib/patches/frosted/fix-tooldir.patch deleted file mode 100644 index 652f7494b..000000000 --- a/toolchain/newlib/patches/frosted/fix-tooldir.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Nur newlib-2.2.0-1.orig/configure newlib-2.2.0-1/configure ---- newlib-2.2.0-1.orig/configure 2014-07-05 23:09:07.000000000 +0200 -+++ newlib-2.2.0-1/configure 2015-11-25 06:33:11.461178398 +0100 -@@ -6985,7 +6985,7 @@ - - # Some systems (e.g., one of the i386-aix systems the gas testers are - # using) don't handle "\$" correctly, so don't use it here. --tooldir='${exec_prefix}'/${target_noncanonical} -+tooldir='${exec_prefix}' - build_tooldir=${tooldir} - - # Create a .gdbinit file which runs the one in srcdir -- cgit v1.2.3