Browse Source

baremetal fix

Waldemar Brodkorb 5 months ago
parent
commit
a2e184cb3c

+ 1 - 1
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"

toolchain/newlib/patches/2.5.0/fix-tooldir.patch → toolchain/newlib/patches/3.0.0/fix-tooldir.patch


+ 0 - 12
toolchain/newlib/patches/frosted/fix-tooldir.patch

@@ -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