mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-20 05:17:54 +00:00
b81d232a9b
Add the option to build a cross-compiler for kernel type 'mingw'. The resulting cross-compiler can be used to build applications on a Linux host that can be run on a Windows target. Compiler is build using the mingwrt and w32-api packages aviable from the MinGW project (http://sourceforge.net/projects/mingw). The windows headers (w32-api package) are extracting with the kernel_headers step The libraries and other headers from both packages are build and installed in the various steps of libc Signed-off-by: Bart vdr Meulen <bartvdrmeulen@gmail.com> [yann.morin.1998@anciens.enib.fr: fix kernel headers comment, don't "return 0"] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
46 lines
1012 B
Plaintext
46 lines
1012 B
Plaintext
# Kernel options
|
|
|
|
menu "Operating System"
|
|
|
|
# Config option used throughout the config and code to determine wether
|
|
# we have a kernel or not (there might be different bare metal stuff)...
|
|
config BARE_METAL
|
|
bool
|
|
default n
|
|
|
|
config MINGW32
|
|
bool
|
|
default n
|
|
|
|
# Each target OS (aka kernel) that support shared libraries can select
|
|
# this, so the user can decide whether or not to build a shared library
|
|
# enabled toolchain
|
|
config KERNEL_SUPPORTS_SHARED_LIBS
|
|
bool
|
|
default n
|
|
|
|
config KERNEL
|
|
string
|
|
|
|
config KERNEL_VERSION
|
|
string
|
|
|
|
source "config.gen/kernel.in"
|
|
|
|
comment "Common kernel options"
|
|
|
|
config SHARED_LIBS
|
|
bool
|
|
prompt "Build shared libraries"
|
|
depends on KERNEL_SUPPORTS_SHARED_LIBS
|
|
default y
|
|
help
|
|
Say 'y' here, unless you don't want shared libraries.
|
|
|
|
You might not want shared libraries if you're building for a target that
|
|
don't support it (maybe some nommu targets, for example, or bare metal).
|
|
|
|
source "config.gen/kernel.in.2"
|
|
|
|
endmenu
|