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