aboutsummaryrefslogtreecommitdiff
path: root/config
Commit message (Collapse)AuthorAgeFilesLines
* gcc: Added 6.1.0 to version listYogesh Sharma2016-09-071-1/+23
| | | | | | added gcc-6.1.0 to version list in kconfig Signed-off-by: Yogesh Sharma <YogeshASharma@gmail.com>
* xgcc: Update gcc 5 to 5.4.0kozyilmaz2016-08-241-3/+3
| | | | | | | | | patches synced with buildroot trunk and: 110-xtensa-implement-trap-pattern.patch (copied to 5.4.0 patches) 130-build_gcc-5_with_gcc-6.patch (upstreamed in 5.4.0, dropped) 370-gcc-plugin-Win-Dont-need-undefined-extern-var-refs-nor-fpic.patch (copied to 5.4.0 patches) 380-gcc-plugin-POSIX-include-sys-select-h.patch (copied to 5.4.0 patches) 910-nios2-bad-multilib-default.patch (copied to 5.4.0 patches)
* Merge pull request #402 from lundmar/fix_elf2flt_repoBryan Hundven2016-08-231-1/+1
|\ | | | | Update elf2flt git repository location
| * Update elf2flt default csetMartin Lund2016-06-141-1/+1
| |
* | mips: allow o32 ABI as default for multilibAlexey Neyman2016-08-231-1/+1
| | | | | | | | | | | | ... since n32 and n64 are going to get built as well. Signed-off-by: Alexey Neyman <stilor@att.net>
* | uclibc: merge startfiles/final into single backend.Alexey Neyman2016-08-231-2/+2
| | | | | | | | | | | | | | | | | | | | | | In preparation for multilib support, use the same "backend" model that is already employed by glibc and musl. Also, the verbosity setting descriptions were swapped. V=2 is actually less verbose than V=1: V=1 prints full commands, while V=2 prints 'CC <file> <defines>'. Signed-off-by: Alexey Neyman <stilor@att.net>
* | Spelling fixes.Alexey Neyman2016-08-233-4/+4
| | | | | | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* | glibc.sh: cleanupsAlexey Neyman2016-08-231-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Dump CT_LIBC_EXTRA_CC_ARGS: instead, treat CT_LIBC_EXTRA_CFLAGS as arguments to CC (or they are not applied to .S, for example). Combine them with multi_flags and CT_TARGET_CFLAGS in proper order. - Analyze thus combined flags to determine --with-fp/--without-fp. Don't need to check CT_ARCH_FLOAT - it is reflected in CT_TARGET_CFLAGS anyway. Check more soft/hard float options defined on different architectures. - Drop checking for endianness flags: they are not reflected in configure arguments in any way, and they're already present in CFLAGS (either via multi_flags or via CT_TARGET_CFLAGS). Besides, CT_ARCH_ENDIAN_OPT was actually called CT_ARCH_ENDIAN_CFLAG, so this was a no-op anyway. Signed-off-by: Alexey Neyman <stilor@att.net>
* | multilib: Determine which options may pass through.Alexey Neyman2016-08-231-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On some arches (e.g. MIPS) the options like -mabi do not work if specified more than once (see the comment in 100-gcc.sh). Therefore, we need to determine which of the options produced by <arch>.sh can be passed to multilib builds and which must be removed (i.e., which options vary among the multilibs). This presents a chicken-and-egg problem. GCC developers, in their infinite wisdom, do not allow arbitrary multilib specification to be supplied to GCC's configure. Instead, the target (and sometimes some extra options) determine the set of multilibs - which may include different CPUs, different ABIs, different endianness, different FPUs, different floating-point ABIs, ... That is, we don't know which parts vary until we build GCC and ask it. So, the solution implemented here is: - For multilib builds, start with empty CT_ARCH_TARGET_CFLAGS/LDFLAGS. - For multilib builds, require core pass 1. Pass 1 does not build any target binaries, so at that point, our target options have not been used yet. - Provide an API to modify the environment variables for the steps that follow the current one. - As a part of multilib-related housekeeping, determine the variable part of multilibs and filter out these options; pass the rest into CT_TARGET_CFLAGS/LDFLAGS. This still does not handle extra dependencies between GCC options (like -ma implying -mcpu=X -mtune=Y, etc.) but I feel that would complicate matters too much. Let's leave this until there's a compelling case for it. Also, query GCC's sysroot suffix for targets that use it (SuperH, for example) - the default multilib may not work if the command line specifies the default option explicitly (%sysroot_suffix_spec is not aware of multilib defaults). Signed-off-by: Alexey Neyman <stilor@att.net>
* | gcc: Add --with-multilib-list optionRay Donnelly2016-06-091-0/+10
| | | | | | | | | | | | | | | | | | | | Written by Bryan Hundven. Modified by Alexey Neyman to actually add the option to gcc.in. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com> Signed-off-by: Ray Donnelly <mingw.android@gmail.com> Signed-off-by: Alexey Neyman <stilor@att.net>
* | sh: require multilibAlexey Neyman2016-06-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Now that libc backend installs the libraries into the directory reported by gcc as 'multi-os-directory', sh4 libraries are installed into a '!m4' subdirectory. This directory then confuses GNU ld, which assumes the exclamation mark to be a word separator and attempts to link to '/usr/lib' (a directory). However, if multilib is enabled, the default libraries are installed into the [expected] '/usr/lib/./'. This looks like an artifact of SuperH's unique way of specifying the multilibs to be built in GCC (which may list exclusions, starting with '!'). Signed-off-by: Alexey Neyman <stilor@att.net>
* | musl: config is broken for !EXPERIMENTALAlexey Neyman2016-06-091-0/+1
|/ | | | | | | | | | | | | | | | | | | If EXPERIMENTAL is not set, the only choice for version is the set of released versions - currently, 1.1.14. But this only option is disabled because it is also marked EXPERIMENTAL; this leaves no available choices in the configuration. Marking MUSL as experimental: it seems to have header issues which prevent, for example, gdbserver from building. musl copied chunks of ptrace.h code from the kernel into its own headers, which now clash with Linux kernel headers. Manifests at least on SH4 target. Also, musl breaks in powerpc builds: GCC balks at it with "unsupported DEFAULT_LIBC" message. Also, 64-bit powerpc and mips are not supported. So, until someone figures out the dependencies for musl in config/, mark it experimental. Signed-off-by: Alexey Neyman <stilor@att.net>
* Unbreak sparc-unknown-linux-gnu.Alexey Neyman2016-04-011-1/+6
| | | | | | | GLIBC 2.23 dropped support for pre-v9 SPARC in pthreads. Pass host triplet with s/sparc/sparcv9/ replacement for 2.23. Signed-off-by: Alexey Neyman <stilor@att.net>
* newlib: add option to enable nano formatted ioBryan Hundven2016-03-081-0/+10
| | | | Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* newlib: add option to enable nano mallocBryan Hundven2016-03-081-0/+11
| | | | Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* newlib: Update newlib versionsBryan Hundven2016-03-081-3/+17
| | | | | | | | | | | | | Newlib release seem to be snapshots now. Newlib 2.3.0 was released in git here: https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=commit;h=ad7b3cde9c157f2c34a6a1296e0bda1ad0975bda and the snapshot for 2.3.0 was here: https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=commit;h=06cd7127e3cf16ab3c0aa665956deb263e524753 The 2.2 series was also updated. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* musl-libc: Update to 1.1.14Bryan Hundven2016-02-291-7/+2
| | | | | | We also remove the old 1.0 series. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* Merge pull request #356 from bhundven/check_static_linkBryan Hundven2016-02-285-0/+5
|\ | | | | configure: Check to see if gcc can static link
| * config: Add static link check to static optionsBryan Hundven2016-02-265-0/+5
| | | | | | | | | | | | If we can't static link with gcc, then don't allow static linking. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* | kernel: Updated kernel revisionsYogesh Sharma2016-02-261-8/+8
|/ | | | | | Kernel revisions updated to match kernel.org. Signed-off-by: Yogesh Sharma <YogeshASharma@gmail.com>
* Merge pull request #353 from bhundven/glibc_cleanupBryan Hundven2016-02-261-86/+2
|\ | | | | Glibc cleanup
| * glibc: Clean out old glibc versionsBryan Hundven2016-02-231-86/+2
| | | | | | | | | | | | | | | | | | | | We now only support glibc >=2.18 This now enables us to clean up glibc support! Also, add a comment about glibc 2.20 as the point which glibc no longer supports not building with pthread. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* | gdb: Add support for v7.11, port patches from v7.10.1 that applyJoachim Nilsson2016-02-241-0/+6
|/ | | | Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* kernel: Updated kernel revisionsYogesh Sharma2016-02-231-20/+20
| | | | | | | | Kernel revisions updated to match kernel.org. Update includes removal of 4.2.x kernel (since it was EOL), addition of 4.4.x kernel, and marking of 4.3.x as EOL. Signed-off-by: Yogesh Sharma <YogeshASharma@gmail.com>
* glibc: Add glibc-2.23Bryan Hundven2016-02-231-0/+6
| | | | Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* Merge pull request #322 from modbw/libelfBryan Hundven2016-02-081-5/+0
|\ | | | | Remove GCC dependency to libelf
| * Remove GCC dependency to libelfMatthias Weisser2016-01-181-5/+0
| | | | | | | | | | | | As crosstools-ng only support GCC >= 4.8 we do not need libelf for gcc. GCC dropped this dependency with 4.6. Signed-off-by: Matthias Weisser <m.weisser.m@gmail.com>
* | uClibc-ng: Update to 1.0.12Bryan Hundven2016-02-051-5/+5
| | | | | | | | Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* | gdb: Add version 7.10.1Bryan Hundven2016-02-051-0/+6
| | | | | | | | | | | | It's been out for a while, just haven't gotten around to it. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* | binutils: Add binutils-2.26Bryan Hundven2016-02-041-1/+11
| | | | | | | | Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* | config/gcc: Update to Linaro GCC 5.2-2015.11-2Cristoforo Cataldo2016-01-301-2/+2
|/ | | | Signed-off-by: Cristoforo Cataldo <cristoforo.cataldo@gmail.com>
* elf2flt: Use openadk version of elf2fltBryan Hundven2016-01-131-1/+1
| | | | | | | | | | elf2flt is now hosted on github here: https://github.com/uclinux-dev/elf2flt But, until arm support is upstream, we'll switch to Waldemar Brodkorb version of elf2flt. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* uClibc-ng: Update to 1.0.11Bryan Hundven2016-01-121-5/+5
| | | | Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* gcc: remove CC_GCC_EXTRA_ENV_ARRAYBryan Hundven2016-01-061-10/+0
| | | | | | | | | | I was noticing that $extra_user_env was inconsistently used in 100-gcc.sh. I don't feel comfortable having just any make flag or environment variable passed to make from a config file. If a specific option needs to be passed to make for gcc, then a specific kconfig option should be added for that make flag/option/env. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* Merge pull request #296 from FreddieChopin/add-gmp-6.1.0Bryan Hundven2016-01-061-0/+6
|\ | | | | gmp: add version 6.1.0
| * gmp: add version 6.1.0Freddie Chopin2015-12-071-0/+6
| | | | | | | | Signed-off-by: Freddie Chopin <freddie.chopin@gmail.com>
* | Merge pull request #309 from bhundven/remove_old_binutils_versionsBryan Hundven2016-01-051-74/+6
|\ \ | | | | | | Remove old binutils versions
| * | binutils: Remove older versions of binutilsBryan Hundven2016-01-031-74/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | Since older GCC versions have been removed, older versions of binutils are not needed. This commit removes these older versions. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* | | linux: Update kernel versionsBryan Hundven2016-01-021-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following versions were updated: * 4.3 -> 4.3.3 (stable) * 4.2.6 -> 4.2.8 (EOL) * 4.1.13 -> 4.1.15 * 3.18.24 -> 3.18.25 * 3.14.57 -> 3.14.58 * 3.12.50 -> 3.12.51 * 3.10.93 -> 3.10.94 * 3.2.72 -> 3.2.75 * 2.6.32.68 -> 2.6.32.69 4.3 mainline is now 4.3.3 stable The 4.2 series is now EOL. You should move to 4.3.3! Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* | | gcc: Add new linaro version: 5.2-2015.11Bryan Hundven2016-01-021-0/+7
|/ / | | | | | | Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* | gcc: Update gcc 5 to 5.3.0Bryan Hundven2016-01-021-3/+3
| | | | | | | | | | Reported-by: Freddie Chopin <freddie.chopin@gmail.com> Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* | Whitespace: We don't use tabs in shell or kconfig filesBryan Hundven2015-12-083-25/+27
| | | | | | | | | | | | | | We indent by multiples of 4. This change cleans up whitespace in offending files. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* | config: Update kconfig for new CT_GetCustomBryan Hundven2015-12-0810-166/+375
| | | | | | | | | | | | | | This commit sort of unifies the kconfigs to handle custom files and directories. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* | Linux: Remove obsolete Linux custom headersBryan Hundven2015-12-082-49/+0
| | | | | | | | | | | | | | | | | | | | | | This option allowed you to use a custom headers directory/tarball to use in your sysroot. Not to be confused with using a custom source, that option is the preferred method. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* | config: Remove CUSTOM_LOCATION_ROOT_DIRBryan Hundven2015-12-081-9/+0
| | | | | | | | | | | | | | | | | | | | | | On top of making <component>_CUSTOM much more complicated to rewrite, you couldn't depend on a requirement for all of the components to treat custom sources the same with it around. If you need a custom source for a component, define it in the component. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* | xtensa: Remove support for CT_CUSTOM_LOCATION_ROOT_DIRBryan Hundven2015-12-081-2/+1
| | | | | | | | | | | | | | | | | | Since CUSTOM_LOCATION_ROOT_DIR was removed from config/global/paths.in in commit c499ccb, xtensa should depend only on it's ARCH_XTENSA_CUSTOM_OVERLAY_LOCATION. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* | gcc: Gnu OpenMP support depends on threadingBryan Hundven2015-11-291-0/+3
| | | | | | | | | | | | | | | | Instead of checking if thread support is enabled during the build, move the check to kconfig-time. Since if threading support is not availble, libgomp should not be available either. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* | PPL: Remove support for PPL and CLooG/PPLBryan Hundven2015-11-295-80/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that versions of gcc that required PPL are no longer supported ( >= gcc-4.5.x AND <= gcc-4.7.x ) ...we no longer require PPL or CLooG/PPL. This commit: * Removes PPL * Removes CLooG/PPL * Updates the documentation * Updates build script for CLooG and GCC * Removes PPL and CLooG/PPL from scripts/addToolVersion.sh and scripts/showSamples.sh * Adds ISL to scripts/addToolVersion.sh and scripts/showSamples.sh I know that sounds like a lot for one commit, but it was all kind of inter-tangled. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* | gcc: Remove gcc <= 4.7.xBryan Hundven2015-11-294-155/+7
|/ | | | | | | | | | | | | | | | | | | | | | | | | | As per #222, in crosstool-NG >= 1.23.0, we will only support: [upstream supported gcc versions] - 1 As of this writing, these versions are: * 5.2.0 * 4.9.3 * 4.8.5 (the -1, since development on 4.8.x is now closed) I plan to keep 4.8.5 around because of some architectures having issues with over-optimization or just faulty optimization in the 4.9.x and possibly newer versions. I also cleaned up a requirement for glibc to depend on >= gcc-4.6.x for >= glibc-2.20, but since the lowest gcc we support after this change is >= 4.8.5, this condition can go away. Patches for older gcc versions are removed in the next commit. This closes #222 Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* uClibc: Add kconfig option to enable IPv6 supportBryan Hundven2015-11-221-0/+6
| | | | | | This commit adds a kconfig option to enable IPv6 support. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>