summaryrefslogtreecommitdiff
path: root/config
AgeCommit message (Collapse)AuthorFilesLines
2021-04-15newlib-nano: Add option to copy libs into targetKumar Gala1-0/+11
Add an option that will install a copy of newlib-nano lib*.a file in the target dir but renamed with a nano.a suffix (eg: libc_nano.a) as some default nano.spec files from newlib expect this setup. Additionally the newlib-nano version of newlib.h will get copied to include/newlib-nano/newlib.h. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2021-03-17Extend CC_GCC_LIBSSP with manual stateIvan Kukhta1-2/+8
Signed-off-by: Ivan Kukhta <Ivan.Kukhta@acronis.com>
2021-02-02config: Update environment variable usageChris Packham2-4/+4
Upstream changes in the way kconfig handles environment variables means we need to update our usage of them. Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-02-02config/cc/gcc.in: Fix typo CC_GCC_DEC_FLOAT -> CC_GCC_DEC_FLOATSChris Packham1-3/+3
This has gone unnoticed for a while, it looks like all configurations have probably been using the default floats behaviour. Newer kconfig tells us the default value is not in the choice so lets fix this in preparation. Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-01-24Merge pull request #1448 from dinuxbg/masterChris Packham3-1/+11
Add PRU target configuration
2021-01-19Add package with PRU linker scripts and headersDimitar Dimitrov1-0/+2
Include the gnuprumcu package in PRU cross toolchain. Toolchain is somewhat useless without device specs and linker scripts for the various SoCs. Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
2021-01-19Add PRU cross tool targetDimitar Dimitrov2-1/+9
Add sample configuration for building cross toolchain for the TI PRU. PRU cores are present in many of the BeagleBone single board computers. More information about the PRU can be found in https://bbb.io/pru Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
2021-01-14newlib-nano: Build libstdc++ against newlib-nano if requestedKeith Packard1-0/+9
This uses the gcc support for building libstdc++ using alternate lib header files. Signed-off-by: Keith Packard <keithp@keithp.com>
2021-01-14Add newlib-nano as companion libKeith Packard1-0/+224
This allows building newlib-nano in addition to newlib and picolibc, allowing users to select between C libraries within the same toolchain. Signed-off-by: Keith Packard <keithp@keithp.com>
2021-01-12picolibc: Build libstdc++ against picolibc if requestedKeith Packard1-0/+10
This uses the gcc support for building libstdc++ using alternate lib header files. Signed-off-by: Keith Packard <keithp@keithp.com>
2021-01-12gcc: Add support for building libstdc++ with alternate libcKeith Packard1-1/+1
This adds another mode to do_gcc_core_backend that builds libstdc++ against an alternate libc implementation. Signed-off-by: Keith Packard <keithp@keithp.com>
2021-01-12picolibc: Clean up configuration a bitKeith Packard1-1/+2
Use LIBC_PICOLIBC_CXA_ATEXIT to keep this name in the same 'namespace' as the other picolibc config names. Enable retargetable locking by default. This allows the few locks in picolibc to be implemented by the execution environment, rather than disabling the locking code. Signed-off-by: Keith Packard <keithp@keithp.com>
2021-01-09picolibc: Convert to companion libraryKeith Packard1-8/+5
This allows configurations to include picolibc without excluding another C library. Signed-off-by: Keith Packard <keithp@keithp.com>
2020-11-23Add Oracle products to crosstool-ngJose E. Marchesi1-0/+2
This commit adds support for the following Oracle products, in order to target Oracle Linux 7.9: Binutils 2.27-44.base.0.400 GCC 4.8.5-44.0.5 glibc 2.17-317.0.3 UEK5/u4 4.14.35-2025.400.8 Sample configuration files are provides for the following triplets: arm-ol7u9-linux-gnueabi arm-ol7u9-linux-gnueabihf Signed-off-by: Egeyar Bagcioglu <egeyar.bagcioglu@oracle.com> Signed-off-by: Jose E. Marchesi <jose.marchesi@oracle.com>
2020-11-10Merge pull request #1342 from DspHack/feature/add_support_for_ti_c6xChris Packham1-0/+15
Experimental: Add support for the Texas Instruments C6X (TMS320C6000 …
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>