summaryrefslogtreecommitdiff
path: root/config
AgeCommit message (Collapse)AuthorFilesLines
2020-11-02c6x: Remove multilib requirementDan Tejada1-23/+1
Restore tuple config check Add sample configuration Signed-off-by: Dan Tejada <dan.tejada@cantada.com>
2020-10-13Clarify tree layout of local patches directoryBagas Sanjaya1-2/+4
Currently the help for LOCAL_PATCH_DIR did not specify the tree layout of custom patches directory. This commit adds such explanation. For example, the bundled patches for GCC are placed under packages/gcc/<gcc-version>, thus custom (local) GCC patches should be placed under $LOCAL_PATCH_DIR/gcc/<gcc-version>. Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
2020-09-14config/libc: Extend glibc 2.32 workaround to include sparcChris Packham1-0/+1
Sparc seems to be affected by the same issues as powerpc64. Disable glibc warnings for sparc. Signed-off-by: Chris Packham <judge.packham@gmail.com>
2020-09-07glibc: --enable-obsolete-rpc has been removed as of 2.32Chris Packham1-1/+2
Make --enable-obsolete-rpc conditional on !CT_GLIBC_2_32_or_later as it's been removed from that version on. Signed-off-by: Chris Packham <judge.packham@gmail.com>
2020-09-06Merge branch 'picolibc' of git://github.com/keith-packard/crosstool-ng into ↵Chris Packham2-0/+130
keith-packard-picolibc
2020-09-03glibc: Don't build with -Werror for powerpc64+glibc-2.32Chris Packham1-0/+1
When building powerpc64+glibc-2.32 we see the following error: [ALL ] In file included from ../sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c:26, [ALL ] from ../sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c:18: [ALL ] ../string/wordcopy.c: In function '_wordcopy_fwd_aligned': [ERROR] ../string/wordcopy.c:98:26: error: 'a1' may be used uninitialized in this function [-Werror=maybe-uninitialized] [ALL ] 98 | ((op_t *) dstp)[0] = a1; [ALL ] | ~~~~~~~~~~~~~~~~~~~^~~~ [ALL ] In file included from ../sysdeps/powerpc/powerpc64/power4/../../powerpc32/power4/memcopy.h:38, [ALL ] from ../sysdeps/powerpc/powerpc64/power4/memcopy.h:1, [ALL ] from ../string/wordcopy.c:23, [ALL ] from ../sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c:26, [ALL ] from ../sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c:18: [ALL ] ../string/wordcopy.c: In function '_wordcopy_fwd_dest_aligned': [ERROR] ../sysdeps/generic/memcopy.h:72:61: error: 'a3' may be used uninitialized in this function [-Werror=maybe-uninitialized] [ALL ] 72 | #define MERGE(w0, sh_1, w1, sh_2) (((w0) << (sh_1)) | ((w1) >> (sh_2))) [ALL ] | ^~ This seems to only trigger for powerpc64. Other architectures build cleanly. For now avoid specifying -Werror for powerpc64+glibc-2.32. Signed-off-by: Chris Packham <judge.packham@gmail.com>
2020-09-01Add picolibc support [v2]Keith Packard2-0/+130
This adds support for using picolibc instead of newlib on embedded systems. Signed-off-by: Keith Packard <keithp@keithp.com> v2: Add check for meson and ninja Sync option default values with current picolibc defaults Remove xtensa sys header file install as those aren't in picolibc
2020-05-21Experimental: Add support for the Texas Instruments C6X (TMS320C6000 series) ↵Dan Tejada1-0/+37
DSPs -- c6x: Add support for c6x product families to pass on to uClibC-ng -- c6x: Fix multilib support -- c6x: Add patch fix internal instruction error (GCC 57295) Signed-off-by: Dan Tejada <dan.tejada@cantada.com>
2020-03-04Disallow PPS SPE ABIAlexey Neyman1-0/+4
with GCC 9+ and GLIBC 2.30+, they no longer support it. Signed-off-by: Alexey Neyman <stilor@att.net>
2020-03-04Add --with-cpu= on 32-bit SPARCAlexey Neyman1-2/+6
... if building for GLIBC 2.31+. Signed-off-by: Alexey Neyman <stilor@att.net>
2020-02-26Set --with-cpu-{32,64} for multilib buildsAlexey Neyman4-0/+8
GLIBC 2.31 needs --with-cpu=ultrasparc for both 32/64-bits now, and --with-cpu only sets the CPU model for the "primary" bitness. Signed-off-by: Alexey Neyman <stilor@att.net>
2020-02-16Merge pull request #1266 from nolange/move_builddir_kconfigAlexey Neyman1-0/+4
move BUILD_DIR variable into Kconfig
2019-12-23Merge pull request #1259 from nolange/add_binutils_deterministic_archivesAlexey Neyman1-1/+10
enable option for binutils deterministic-archives
2019-12-20Add newlib retargetable locking configurationStephanos Ioannidis1-0/+7
This commit adds support for the newlib configuration option '--enable-newlib-retargetable-locking'. Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2019-10-18move BUILD_DIR variable into KconfigNorbert Lange1-0/+4
this allows users to reference this variable, for ex. in TARGET_CFLAGS to remap paths. Signed-off-by: Norbert Lange <nolange79@gmail.com>
2019-10-10enable option for binutils deterministic-archivesNorbert Lange1-1/+10
Signed-off-by: Norbert Lange <nolange79@gmail.com>
2019-10-02GDB 8.3+ needs IPv6Alexey Neyman1-1/+3
... which wasn't enabled in uClibc-ng by default Signed-off-by: Alexey Neyman <stilor@att.net>
2019-10-02Merge pull request #1226 from ola1olsson/masterAlexey Neyman1-1/+1
Fix typo in ARM/thumb interworking menuconfig
2019-10-02Merge pull request #1231 from cpackham/glibc-2.28-make-4.0Alexey Neyman1-1/+1
libc: glibc 2.28 needs make 4.0
2019-09-04Add glibc 2.30Chris Packham1-0/+2
Add the GNU C Library version 2.30. Bring forward the typedef-caddr.patch. Skip the ARC patch for now. https://sourceware.org/ml/libc-alpha/2019-08/msg00029.html Signed-off-by: Chris Packham <judge.packham@gmail.com>
2019-09-04libc: glibc 2.28 needs make 4.0Chris Packham1-1/+1
Fixes: #1210 Per the release notes for the GNU C library 2.28[1] make 4.0 or newer is required. Previously the logic was applied to glibc 2.29 or newer. [1] - https://www.sourceware.org/ml/libc-alpha/2018-08/msg00003.html Signed-off-by: Chris Packham <judge.packham@gmail.com>
2019-08-28Fix typo in ARM/thumb helpOla Olsson1-1/+1
Signed-off-by: Ola Olsson <ola1olsson@gmail.com>
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>