diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2017-08-21 05:51:07 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2017-08-27 19:46:26 +0200 |
commit | 8645420963417ffc64d2e88f64935249e0db225c (patch) | |
tree | 1d35667cf063d8c370634da66047d01455e9d741 /target/config | |
parent | 68769b1a66f9df3387811c9de7aa146c2e17ff92 (diff) |
add basic support for frosted operating system
https://github.com/insane-adding-machines/frosted
Rework our architecture selection and os dependent logic a little
bit to be cleaner. As only arm is supported, we only modify
arm systems to comply with new changeset.
Diffstat (limited to 'target/config')
-rw-r--r-- | target/config/Config.in.binfmt | 5 | ||||
-rw-r--r-- | target/config/Config.in.libc | 11 | ||||
-rw-r--r-- | target/config/Config.in.os | 5 |
3 files changed, 18 insertions, 3 deletions
diff --git a/target/config/Config.in.binfmt b/target/config/Config.in.binfmt index 7567b07bc..9257fe69d 100644 --- a/target/config/Config.in.binfmt +++ b/target/config/Config.in.binfmt @@ -26,6 +26,11 @@ config ADK_TARGET_BINFMT_DSBT endchoice +config ADK_TARGET_BINFMT_FLAT + bool + depends on ADK_TARGET_OS_FROSTED + default y + # Set up flat binary type choice prompt "FLAT Binary type" diff --git a/target/config/Config.in.libc b/target/config/Config.in.libc index 07c643606..1989e1c00 100644 --- a/target/config/Config.in.libc +++ b/target/config/Config.in.libc @@ -125,7 +125,8 @@ config ADK_TARGET_LIB_NEWLIB ADK_TARGET_ARCH_V850 || \ ADK_TARGET_ARCH_X86 || \ ADK_TARGET_ARCH_X86_64 || \ - ADK_TARGET_ARCH_XTENSA) && ADK_TARGET_OS_BAREMETAL + ADK_TARGET_ARCH_XTENSA) && \ + (ADK_TARGET_OS_BAREMETAL || ADK_TARGET_OS_FROSTED) help https://sourceware.org/newlib/ @@ -164,15 +165,19 @@ config ADK_TARGET_LIB_MUSL_GIT config ADK_TARGET_LIB_NEWLIB_2_5_0 bool "2.5.0" - depends on ADK_TARGET_LIB_NEWLIB && !ADK_TARGET_ARCH_RISCV + depends on ADK_TARGET_LIB_NEWLIB && !ADK_TARGET_ARCH_RISCV && !ADK_TARGET_OS_FROSTED config ADK_TARGET_LIB_NEWLIB_RISCV bool "2.4.0-riscv" depends on ADK_TARGET_LIB_NEWLIB && ADK_TARGET_ARCH_RISCV +config ADK_TARGET_LIB_NEWLIB_FROSTED + bool "frosted-git" + depends on ADK_TARGET_LIB_NEWLIB && ADK_TARGET_OS_FROSTED + config ADK_TARGET_LIB_NEWLIB_GIT bool "git" - depends on ADK_TARGET_LIB_NEWLIB && !ADK_TARGET_ARCH_RISCV + depends on ADK_TARGET_LIB_NEWLIB && !ADK_TARGET_ARCH_RISCV && !ADK_TARGET_OS_FROSTED endchoice diff --git a/target/config/Config.in.os b/target/config/Config.in.os index 1d21d09e8..2eb420e14 100644 --- a/target/config/Config.in.os +++ b/target/config/Config.in.os @@ -9,6 +9,11 @@ config ADK_TARGET_OS_LINUX help Create a Linux system or toolchain. +config ADK_TARGET_OS_FROSTED + bool "Frosted" + help + Create a frosted appliance or toolchain. + config ADK_TARGET_OS_BAREMETAL bool "Bare metal" help |