summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2019-11-01 01:13:18 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2019-11-01 01:13:18 +0100
commita2e184cb3cc70d0b648bcac610fab1a0f25e124e (patch)
treeb1ec7fd3120f0671c3aeae0a7bbf242a0b30a559
parent5252095fe0f01658fedfd2ada97fe061bc9bf39c (diff)
baremetal fix
-rw-r--r--Config.in2
-rw-r--r--toolchain/newlib/patches/3.0.0/fix-tooldir.patch (renamed from toolchain/newlib/patches/2.5.0/fix-tooldir.patch)0
-rw-r--r--toolchain/newlib/patches/frosted/fix-tooldir.patch12
3 files changed, 1 insertions, 13 deletions
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/3.0.0/fix-tooldir.patch
index 652f7494b..652f7494b 100644
--- a/toolchain/newlib/patches/2.5.0/fix-tooldir.patch
+++ b/toolchain/newlib/patches/3.0.0/fix-tooldir.patch
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