mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-27 08:12:30 +00:00
commit
73e8b0b228
@ -21,6 +21,11 @@ if GLIBC_USE_PORTS_EXTERNAL
|
|||||||
source "config/versions/glibc-ports.in"
|
source "config/versions/glibc-ports.in"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# Glibc has some dependencies on the kernel headers:
|
||||||
|
config GLIBC_DEP_KERNEL_HEADERS_VERSION
|
||||||
|
def_bool y
|
||||||
|
select LINUX_REQUIRE_3_2_or_later if GLIBC_2_24_or_later
|
||||||
|
|
||||||
config THREADS
|
config THREADS
|
||||||
default "nptl"
|
default "nptl"
|
||||||
|
|
||||||
|
@ -10,6 +10,10 @@
|
|||||||
|
|
||||||
source "config/versions/mingw-w64.in"
|
source "config/versions/mingw-w64.in"
|
||||||
|
|
||||||
|
config MINGW_W64_REQUIRES_W64_VENDOR
|
||||||
|
bool
|
||||||
|
default y if MINGW_W64_V4_or_later
|
||||||
|
|
||||||
config THREADS
|
config THREADS
|
||||||
default "win32" if THREADS_NATIVE
|
default "win32" if THREADS_NATIVE
|
||||||
default "posix" if THREADS_POSIX
|
default "posix" if THREADS_POSIX
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
origin='GNU'
|
origin='GNU'
|
||||||
repository='git git://sourceware.org/git/glibc.git'
|
repository='git git://sourceware.org/git/glibc.git'
|
||||||
mirrors='$(CT_Mirrors GNU glibc) $(CT_Mirrors sourceware glibc/releases)'
|
mirrors='$(CT_Mirrors GNU glibc) $(CT_Mirrors sourceware glibc/releases)'
|
||||||
milestones='2.17 2.20 2.23'
|
milestones='2.17 2.20 2.23 2.24'
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
repository='git git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git'
|
repository='git git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git'
|
||||||
mirrors='$(CT_Mirrors kernel.org linux ${CT_LINUX_VERSION})'
|
mirrors='$(CT_Mirrors kernel.org linux ${CT_LINUX_VERSION})'
|
||||||
relevantpattern='2.*.*|. *.*|.'
|
relevantpattern='2.*.*|. *.*|.'
|
||||||
|
milestones='3.2'
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
repository='git https://git.code.sf.net/p/mingw-w64/mingw-w64'
|
repository='git https://git.code.sf.net/p/mingw-w64/mingw-w64'
|
||||||
mirrors='http://downloads.sourceforge.net/sourceforge/mingw-w64 https://downloads.sourceforge.net/project/mingw-w64/mingw-w64/mingw-w64-release/'
|
mirrors='http://downloads.sourceforge.net/sourceforge/mingw-w64 https://downloads.sourceforge.net/project/mingw-w64/mingw-w64/mingw-w64-release/'
|
||||||
|
milestones='v4'
|
||||||
|
@ -63,10 +63,10 @@ do_libc_start_files() {
|
|||||||
|
|
||||||
do_check_mingw_vendor_tuple()
|
do_check_mingw_vendor_tuple()
|
||||||
{
|
{
|
||||||
if [ "${CT_MINGW_W64_VERSION%%.*}" -ge 4 ]; then
|
if [ "${CT_MINGW_W64_REQUIRES_W64_VENDOR}" = "y" ]; then
|
||||||
CT_DoStep INFO "Checking configured vendor tuple"
|
CT_DoStep INFO "Checking configured vendor tuple"
|
||||||
if [ ${CT_TARGET_VENDOR} == w64 ]; then
|
if [ ${CT_TARGET_VENDOR} = "w64" ]; then
|
||||||
CT_DoLog EXTRA "The tuple is set to '${CT_TARGET_VENDOR}', as recommended by mingw-64 developers."
|
CT_DoLog DEBUG "The tuple is set to '${CT_TARGET_VENDOR}', as recommended by mingw-64 developers."
|
||||||
else
|
else
|
||||||
CT_DoLog WARN "The tuple vendor is '${CT_TARGET_VENDOR}', not equal to 'w64' and might break the toolchain!"
|
CT_DoLog WARN "The tuple vendor is '${CT_TARGET_VENDOR}', not equal to 'w64' and might break the toolchain!"
|
||||||
fi
|
fi
|
||||||
|
@ -1961,7 +1961,7 @@ CT_DoExtractPatch()
|
|||||||
local overlay
|
local overlay
|
||||||
|
|
||||||
if [ ! -d "${CT_BUILD_DIR}/overlay" ]; then
|
if [ ! -d "${CT_BUILD_DIR}/overlay" ]; then
|
||||||
CT_DoLog ALL mkdir -p "${CT_BUILD_DIR}/overlay"
|
CT_DoExecLog ALL mkdir -p "${CT_BUILD_DIR}/overlay"
|
||||||
overlay="${CT_OVERLAY_LOCATION}/${CT_ARCH}_${CT_OVERLAY_NAME:-overlay}"
|
overlay="${CT_OVERLAY_LOCATION}/${CT_ARCH}_${CT_OVERLAY_NAME:-overlay}"
|
||||||
ext=`CT_GetFileExtension "${overlay}"`
|
ext=`CT_GetFileExtension "${overlay}"`
|
||||||
if [ ! -r "${overlay}${ext}" ]; then
|
if [ ! -r "${overlay}${ext}" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user