summaryrefslogtreecommitdiff
path: root/config
AgeCommit message (Collapse)AuthorFilesLines
2019-04-10Require 2.29 if building glibc for RISC-V64Alexey Neyman1-0/+1
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-04-05Merge pull request #1178 from stilor/masterAlexey Neyman4-2/+10
Last fixes for 1.24.0
2019-04-05uClibc: fix selection of debug levelKonstantin Vasin1-0/+1
2019-04-05Enable zlib companion lib if building LTOAlexey Neyman1-0/+1
While we may use build machine's library when building a simple cross, we won't have it for the host machine in a canadian build. Until there are separate selectables for the build/host components, just build our own local zlib. Signed-off-by: Alexey Neyman <stilor@att.net>
2019-04-05Only select GDB version if GDB is enabledAlexey Neyman1-1/+1
... which fixes a bogus warning when configuration without GDB is loaded. Signed-off-by: Alexey Neyman <stilor@att.net>
2019-04-05Require WCHAR in uClibc for all GDB versionsAlexey Neyman1-1/+1
if building natively. 7.12.1 and 7.11.1 are also breaking in absence of <wctype.h> Signed-off-by: Alexey Neyman <stilor@att.net>
2019-04-05Mark binutils/gdb requirements for RISC-VAlexey Neyman1-0/+2
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-04-05Add an ability to mark a configuration as invalidAlexey Neyman1-0/+3
... so that the build will fail early and predictably. Signed-off-by: Alexey Neyman <stilor@att.net>
2019-03-21Only build libinproctrace for *-linux-gnu targetsAlexey Neyman1-1/+3
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-03-11Allow older GDB to build against newer glibcAlexey Neyman1-2/+5
Also, fix the subdir used when only gdbserver is built (without native GDB). Signed-off-by: Alexey Neyman <stilor@att.net>
2019-03-10Move GDB build into a common backend functionAlexey Neyman3-76/+48
... needed to create a common runtime test for an incompatible change in glibc API. Signed-off-by: Alexey Neyman <stilor@att.net>
2019-03-05CentOS6 cannot use newer GDB releasesAlexey Neyman2-0/+11
... unless one retrofits it with a decent compiler instead of stock GCC 4.4. While here, sync up the ax_*.m4 with autoconf-archive. Signed-off-by: Alexey Neyman <stilor@att.net>
2019-03-04Meet our new companion tool, bisonAlexey Neyman3-0/+18
Which is here courtesy of CentOS6, which only has bison 2.4 - while new glibc requires 2.7. Signed-off-by: Alexey Neyman <stilor@att.net>
2019-03-02Fix build of glibc 2.29 on systems with obsolete host programsAlexey Neyman3-5/+28
- Force building make as a companion tool if host make is older than 4.0 (CentOS 7 currently has 3.82) - Disable 2.29 as a choice if host python is older than 3.4 (CentOS 7 has 2.6 unless python from EPEL is installed) - Python2 emits its version information to STDERR. Ugh. While there, also use the detected host Python for GDB configuration. Signed-off-by: Alexey Neyman <stilor@att.net>
2019-03-01Make lzip an optional dependencyAlexey Neyman1-0/+3
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-22Don't enable "shared flat"Alexey Neyman1-0/+2
... unless experimental. This unbreaks m68k-uclinux-uclibc sample which after the recent change in uClibc.sh attempted to build a shared flat library and failed. We were not building shared flat libraries before. Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-13Implement an option to store downloads in subdirsAlexey Neyman2-1/+12
... following the buildroot model. Signed-off-by: Alexey Neyman <stilor@att.net>
2019-01-30Config v2: select relevant parts of each package versionAlexey Neyman3-12/+2
Also, remove a couple of config options that dealt with package versions that have been since retired. Signed-off-by: Alexey Neyman <stilor@att.net>
2019-01-28Add upgrade logic to version-check.shAlexey Neyman1-3/+12
Slightly rework config version detector to catch the case where neither CONFIG_VERSION/CONFIG_VERSION_CURRENT is defined in the config file. Add olddefconfig and use it after the upgrade. Signed-off-by: Alexey Neyman <stilor@att.net>
2019-01-26Basic framework for checking config file versionAlexey Neyman1-3/+36
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-12-21Add new Android API levelsAndrzej Perczak1-0/+15
2018-12-10Allow short "moxiebox" aliasAlexey Neyman1-0/+10
... while making use of the new tunables. Also, unmark the moxie-elf as broken: the ld scripts installed by newlib can be found by the compiler and can link the binaries. Why the default script is broken is not ct-ng's problem... Signed-off-by: Alexey Neyman <stilor@att.net>
2018-12-10Add config flags for omitting 'arch' and 'vendor'Alexey Neyman3-1/+20
... parts of the config tuple. While here, remove parts that are setting portions of the target tuple to a value that's already the default. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-12-07Moxiebox requires target to be LEAlexey Neyman1-0/+1
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-12-07Disallow selection of "both endianness"Alexey Neyman1-0/+2
... if the architecture only supports single endianness selection. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-12-07Disable -fstack-protector* from being used by glibcAlexey Neyman1-1/+7
... until it was fixed (to some extent) in 2.25. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-12-05Require ld to be default when building mingw-w64Alexey Neyman2-1/+2
Fixes #674. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-12-05Add configuration options for enabling SSPAlexey Neyman2-0/+56
... in uClibc and glibc. Fixes #681. While here, relocate additional "sources" for uClibc/binutils into packages/ directory. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-12-04Add a config option for default RELRO settingAlexey Neyman1-0/+10
Fixes #656. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-12-04Warn if architecture is empty on x86/32bitAlexey Neyman1-1/+3
as that defaults to i386, which will fail with glibc (and likely other libcs). Fixes #617. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-12-01Restrict flat format to architectures that support itAlexey Neyman9-3/+16
Fixes #878 Signed-off-by: Alexey Neyman <stilor@att.net>
2018-12-01Consider it success if DoForceRmdir removes only the contentAlexey Neyman1-6/+0
Fixes #929. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-12-01Add moxiebox as a choice for libcAlexey Neyman3-5/+21
This required some rework of the libc selection, as moxiebox is a layer on top of another libc - newlib. Also, moxiebox'es host VM (`sandbox`) needs a libcrypto on the host. We will not have it if we're cross-compiling a canadian cross. Fortunately, all moxiebox needs from libcrypto is SHA256, and it already includes a standalone implementation of SHA256 in its runtime. Provide a little wrapper that allows moxiebox use that implementation for the host binary, too. Also, automate collecting/printing the list of all packages in a given category (e.g. LIBC or COMP_TOOLS), generate a list of all Kconfig symbols for a given category. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-11-28Add moxie architectureAlexey Neyman3-1/+14
and a moxie-unknown-elf target (which is what #1088 apparently wanted). Signed-off-by: Alexey Neyman <stilor@att.net>
2018-11-28Add DTC as a companion toolAlexey Neyman2-0/+7
(needed for cross-gdb targeting the moxie-* targets) Signed-off-by: Alexey Neyman <stilor@att.net>
2018-11-07Make license collection optional, on by defaultAlexey Neyman1-0/+9
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-10-01Disallow linux versions before 4.8 for ARCAlexey Brodkin1-0/+1
Inspired by a similar fix for AArch64 in 481cbaac9b23. The point is in Linux v4.8 we introduced new ABIv4 which is now used in both Linux kernel and up-to-date GNU tools for ARC (based on GCC 6.x+). See [1] for more details. [1] https://github.com/foss-for-synopsys-dwc-arc-processors/linux/wiki/ARC-Linux-Syscall-ABI-Compatibility Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
2018-09-29Disallow linux versions before 3.7 for aarch64Alexey Neyman1-0/+1
Fixes #1028 Signed-off-by: Alexey Neyman <stilor@att.net>
2018-09-27Make CT_PREFIX_DIR/CT_WORK_DIR/CT_BUILD_TOP_DIR absoluteAlexey Neyman1-1/+1
... if they aren't already. Fixes #1010. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-09-26Fix build with ISL 0.20Alexey Neyman1-1/+3
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-09-10config: arch: riscv: add initial 64-bit supportPaul Walmsley1-0/+3
Add initial rv64 support. Originally based on suggestions from Franz Flasch <franz.flasch@gmx.at>. Cc: Franz Flasch <franz.flasch@gmx.at> Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com> Signed-off-by: Paul Walmsley <paul@pwsan.com>
2018-06-06Make patch order overridable by individual packagesAlexey Neyman1-12/+6
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-05-15Merge pull request #967 from stilor/fix-building-older-glibcAlexey Neyman1-0/+12
Fix building older glibc
2018-05-15Add ARC architecture supportAlexey Brodkin1-0/+15
Synopsys' DesignWare ARC Processors are a family of 32-bit CPUs that SoC designers can optimize for a wide range of uses, from deeply embedded to high-performance host applications in a variety of market segments. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
2018-05-15Too many fixes need backporting for GCC8...Alexey Neyman1-6/+12
... so instead, disable -Werror for older versions of glibc. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-05-12First batch of fixesAlexey Neyman1-0/+6
- Incompatible function type for ifunc alias - Multiple statements macro expansion in strftime - if_nametoindex size checking Signed-off-by: Alexey Neyman <stilor@att.net>
2018-05-06Restore a missing GDB optionAlexey Neyman2-1/+7
(whether GDB has --disable-build-with-cxx) and use it. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-29Add checking for *sum and unzipAlexey Neyman2-0/+17
Also improve logging (add an ability to log commands/files/environment variables to config.log) Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07Remove the need for configure substitutions in scriptsAlexey Neyman1-1/+2
... so that scripts/ directory can be installed verbatim. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07WIP: autotoolizationAlexey Neyman2-6/+6
Signed-off-by: Alexey Neyman <stilor@att.net>