summaryrefslogtreecommitdiff
path: root/config
Commit message (Collapse)AuthorAgeFilesLines
* Require 2.29 if building glibc for RISC-V64Alexey Neyman2019-04-101-0/+1
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Merge pull request #1178 from stilor/masterAlexey Neyman2019-04-054-2/+10
|\ | | | | Last fixes for 1.24.0
| * Enable zlib companion lib if building LTOAlexey Neyman2019-04-041-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>
| * Only select GDB version if GDB is enabledAlexey Neyman2019-04-041-1/+1
| | | | | | | | | | | | | | ... which fixes a bogus warning when configuration without GDB is loaded. Signed-off-by: Alexey Neyman <stilor@att.net>
| * Require WCHAR in uClibc for all GDB versionsAlexey Neyman2019-04-041-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>
| * Mark binutils/gdb requirements for RISC-VAlexey Neyman2019-04-041-0/+2
| | | | | | | | Signed-off-by: Alexey Neyman <stilor@att.net>
| * Add an ability to mark a configuration as invalidAlexey Neyman2019-04-041-0/+3
| | | | | | | | | | | | ... so that the build will fail early and predictably. Signed-off-by: Alexey Neyman <stilor@att.net>
| * Only build libinproctrace for *-linux-gnu targetsAlexey Neyman2019-03-201-1/+3
| | | | | | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* | uClibc: fix selection of debug levelKonstantin Vasin2019-04-051-0/+1
|/
* Allow older GDB to build against newer glibcAlexey Neyman2019-03-111-2/+5
| | | | | | | Also, fix the subdir used when only gdbserver is built (without native GDB). Signed-off-by: Alexey Neyman <stilor@att.net>
* Move GDB build into a common backend functionAlexey Neyman2019-03-093-76/+48
| | | | | | | ... needed to create a common runtime test for an incompatible change in glibc API. Signed-off-by: Alexey Neyman <stilor@att.net>
* CentOS6 cannot use newer GDB releasesAlexey Neyman2019-03-052-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>
* Meet our new companion tool, bisonAlexey Neyman2019-03-043-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>
* Fix build of glibc 2.29 on systems with obsolete host programsAlexey Neyman2019-03-023-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>
* Make lzip an optional dependencyAlexey Neyman2019-02-281-0/+3
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Don't enable "shared flat"Alexey Neyman2019-02-211-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>
* Implement an option to store downloads in subdirsAlexey Neyman2019-02-132-1/+12
| | | | | | ... following the buildroot model. Signed-off-by: Alexey Neyman <stilor@att.net>
* Config v2: select relevant parts of each package versionAlexey Neyman2019-01-303-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>
* Add upgrade logic to version-check.shAlexey Neyman2019-01-271-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>
* Basic framework for checking config file versionAlexey Neyman2019-01-261-3/+36
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Add new Android API levelsAndrzej Perczak2018-12-211-0/+15
|
* Allow short "moxiebox" aliasAlexey Neyman2018-12-101-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>
* Add config flags for omitting 'arch' and 'vendor'Alexey Neyman2018-12-103-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>
* Moxiebox requires target to be LEAlexey Neyman2018-12-071-0/+1
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Disallow selection of "both endianness"Alexey Neyman2018-12-071-0/+2
| | | | | | ... if the architecture only supports single endianness selection. Signed-off-by: Alexey Neyman <stilor@att.net>
* Disable -fstack-protector* from being used by glibcAlexey Neyman2018-12-071-1/+7
| | | | | | ... until it was fixed (to some extent) in 2.25. Signed-off-by: Alexey Neyman <stilor@att.net>
* Require ld to be default when building mingw-w64Alexey Neyman2018-12-042-1/+2
| | | | | | Fixes #674. Signed-off-by: Alexey Neyman <stilor@att.net>
* Add configuration options for enabling SSPAlexey Neyman2018-12-042-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>
* Add a config option for default RELRO settingAlexey Neyman2018-12-031-0/+10
| | | | | | Fixes #656. Signed-off-by: Alexey Neyman <stilor@att.net>
* Warn if architecture is empty on x86/32bitAlexey Neyman2018-12-031-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>
* Restrict flat format to architectures that support itAlexey Neyman2018-12-019-3/+16
| | | | | | Fixes #878 Signed-off-by: Alexey Neyman <stilor@att.net>
* Consider it success if DoForceRmdir removes only the contentAlexey Neyman2018-12-011-6/+0
| | | | | | Fixes #929. Signed-off-by: Alexey Neyman <stilor@att.net>
* Add moxiebox as a choice for libcAlexey Neyman2018-12-013-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>
* Add moxie architectureAlexey Neyman2018-11-283-1/+14
| | | | | | and a moxie-unknown-elf target (which is what #1088 apparently wanted). Signed-off-by: Alexey Neyman <stilor@att.net>
* Add DTC as a companion toolAlexey Neyman2018-11-282-0/+7
| | | | | | (needed for cross-gdb targeting the moxie-* targets) Signed-off-by: Alexey Neyman <stilor@att.net>
* Make license collection optional, on by defaultAlexey Neyman2018-11-071-0/+9
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Disallow linux versions before 4.8 for ARCAlexey Brodkin2018-10-011-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>
* Disallow linux versions before 3.7 for aarch64Alexey Neyman2018-09-291-0/+1
| | | | | | Fixes #1028 Signed-off-by: Alexey Neyman <stilor@att.net>
* Make CT_PREFIX_DIR/CT_WORK_DIR/CT_BUILD_TOP_DIR absoluteAlexey Neyman2018-09-271-1/+1
| | | | | | | | ... if they aren't already. Fixes #1010. Signed-off-by: Alexey Neyman <stilor@att.net>
* Fix build with ISL 0.20Alexey Neyman2018-09-251-1/+3
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* config: arch: riscv: add initial 64-bit supportPaul Walmsley2018-09-101-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>
* Make patch order overridable by individual packagesAlexey Neyman2018-06-061-12/+6
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Merge pull request #967 from stilor/fix-building-older-glibcAlexey Neyman2018-05-151-0/+12
|\ | | | | Fix building older glibc
| * Too many fixes need backporting for GCC8...Alexey Neyman2018-05-141-6/+12
| | | | | | | | | | | | ... so instead, disable -Werror for older versions of glibc. Signed-off-by: Alexey Neyman <stilor@att.net>
| * First batch of fixesAlexey Neyman2018-05-121-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>
* | Add ARC architecture supportAlexey Brodkin2018-05-151-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>
* Restore a missing GDB optionAlexey Neyman2018-05-062-1/+7
| | | | | | (whether GDB has --disable-build-with-cxx) and use it. Signed-off-by: Alexey Neyman <stilor@att.net>
* Add checking for *sum and unzipAlexey Neyman2018-04-292-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>
* Remove the need for configure substitutions in scriptsAlexey Neyman2018-04-071-1/+2
| | | | | | ... so that scripts/ directory can be installed verbatim. Signed-off-by: Alexey Neyman <stilor@att.net>
* WIP: autotoolizationAlexey Neyman2018-04-072-6/+6
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>