aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* scripts/functions: fix debug-shell1.17Yann E. MORIN"2012-11-221-9/+13
| | | | | | | | | | Properly catch resuming the build when continuing past the failed command. The 'case ;;&' construct is a bash4ism. Get rid of it. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> (transplanted from 2af20cfd210bac338ec18d774458c84fd585ef07)
* scripts: fail on ':' in pathsDaniel Price2012-11-201-0/+3
| | | | | | | | | Signed-off-by: Daniel Price <daniel.price@gmail.com> [yann.morin.1998@free.fr: split original patch for self-contained changes] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Message-Id: <163f86b5216fc08c672a.1353459722@nipigon.dssd.com> Patchwork-Id: 200536 (transplanted from 15cd5dc25929d0ccd0e1f187fe721a1ca0d48919)
* scripts: unquoted variable reference in glibc-eglibc.sh-commonDaniel Price2012-11-191-1/+1
| | | | | | | Signed-off-by: Daniel Price <daniel.price@gmail.com> Message-Id: <12f092a95a94bcf76912.1353367250@redfish.dssd.com> Patchwork-Id: 200215 (transplanted from 51160d293e1fdbd69305310d3b34aa0054ce2399)
* 1.17: update version to 1.17.0+hgYann E. MORIN"2012-11-111-1/+1
| | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* Tagging release 1.17.0Yann E. MORIN"2012-11-111-0/+1
| | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* 1.17: create maintenance branch, update version to 1.17.0crosstool-ng-1.17.0Yann E. MORIN"2012-11-111-1/+1
| | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* samples: update samples for releaseYann E. MORIN"2012-11-098-9/+2
| | | | | | | Refresh all samples against the new set of options, to be sure they all build OK, before we can do the release. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* cc/gcc: fix patches for 4.6.{0,1}Yann E. MORIN"2012-11-092-30/+6
| | | | | | | | Remove the sparc part, as it touches code that does not exist in those versions of gcc (it was added at 4.6.2). Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> CC: Florian Fainelli <f.fainelli@gmail.com>
* Makefile.in: Use only standard options compatible with BSD installTitus von Boxberg2012-11-061-1/+2
| | | | | | | | Don't use options specific to FSF's coreutils install. Signed-off-by: Titus von Boxberg <titus@v9g.de> Message-Id: <51587db99510a9ec08f8.1352226968@tschetwerikow.boxberg.lan> Patchwork-Id: 197532
* libc/eglibc: enable rpc in eglibc-2.16+Johannes Stezenbach2012-11-021-0/+4
| | | | | | | | | | While eglibc-2.16 recommends to use TI-RPC instead of the old sunrpc, the old one can be included using a configure option. Since the user can still use TI-RPC to override the libc implementation, we enable rpc unconditionally. Signed-off-by: Johannes Stezenbach <js@sig21.net> Message-Id: <20121102140404.GA7707@sig21.net> Patchwork-Id: 196564
* scripts/xldd: fix debug output layoutYann E. MORIN"2012-11-071-1/+1
| | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* libc/uClibc: remove use of snapshots and specific dateYann E. MORIN"2012-10-312-34/+7
| | | | | | | | We now have the ability to use a custom location, so supporting snapshots or custom date is no longer needed. Let the user do the required preparation in this case. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* libc/uClibc: Add CUSTOM version and CUSTOM_LOCATION config options and GetCustomDavid Holsgrove2012-10-112-1/+31
| | | | | | | | | | | CUSTOM_LOCATION config options only presented in menuconfig if component CUSTOM version selected. Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com> [yann.morin.1998@free.fr: fix indentation, don't patch custom dir location] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Message-Id: <712995e3e719fbbe24af.1349931201@localhost.localdomain> PatchWork-Id: 190794
* kernel/linux: add latest versionsYann E. MORIN"2012-10-310-0/+0
| | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* scripts/functions: fix endless loop in debug-shell with IO redirectionJohannes Stezenbach2012-10-301-2/+3
| | | | | | | | | | | | | | CT_DEBUG_INTERACTIVE is disabled when stdin, stdout or stderr are redirected, but the check is only done at the start of the build and doesn't catch when individual build commands use redirection. When stdin is redirected it will cause the debug shell to exit immediately, causing and endless loop. Thus, save the stdin/our/err file handles and restore them before invoking the debug shell. Signed-off-by: Johannes Stezenbach <js@sig21.net> Message-Id: <20121030102225.GA8303@sig21.net> Patchwork-Id: 195409
* scripts/functions: use patch -i instead of IO redirectionJohannes Stezenbach2012-10-301-2/+1
| | | | | | | | | | | | | This makes the patch name show up on the command line logged by CT_DoExecLog so it's easier to see what is going on. The -i for patch is specified by Posix and supported by GNU patch and busybox patch. Signed-off-by: Johannes Stezenbach <js@sig21.net> [yann.morin.1998@free.fr: remove now-useless debug message] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Message-Id: <20121030103620.GB8303@sig21.net> Patchwork-Id: 195418
* libc/newlib: remove getting from CVSYann E. MORIN"2012-10-302-38/+7
| | | | | | | We now have the ability to use a custom local directory/tarball, so it no longer makes sense to have the ability to use the CVS repository. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* libc/newlib: Add CUSTOM version and CUSTOM_LOCATION config options and GetCustomDavid Holsgrove2012-10-112-1/+28
| | | | | | | | | | | CUSTOM_LOCATION config options only presented in menuconfig if component CUSTOM version selected. Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com> [yann.morin.1998@free.fr: fix indentation] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Message-Id: <d02252752d4dc5e68ae3.1349931202@localhost.localdomain> PatchWork-Id: 190795
* cc/gcc: remove svn sourceYann E. MORIN"2012-10-302-87/+5
| | | | | | | | | Since we now have the opportunity to use a custom local directory/tarball as the source for gcc, it no longer makes sense to retrieve gcc ourselves from its subversion repository. Cc: Bryan Hundven <bryanhundven@gmail.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* debug/gdb: remove ncurses cleanupYann E. MORIN"2012-10-301-9/+0
| | | | | | | | | That's legacy code that was usefull when ncurses was installed in the sysroot. Still it's not longer the case (it's installed in a special dedicated directory), we can remove that piece of code. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* debug/gdb: Add CUSTOM version and CUSTOM_LOCATION config options and GetCustomDavid Holsgrove2012-10-112-4/+34
| | | | | | | | | | | CUSTOM_LOCATION config options only presented in menuconfig if component CUSTOM version selected. Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com> [yann.morin.1998@free.fr: don't patch custom dir location] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Message-Id: <9ea1b5021fc77582867f.1349931197@localhost.localdomain> PatchWork-Id: 190791
* binutils/elf2flt: Add CUSTOM version, CUSTOM_LOCATION config options, GetCustomDavid Holsgrove2012-10-112-9/+40
| | | | | | | | | | | | | | | | CUSTOM_LOCATION config options only presented in menuconfig if component CUSTOM version selected. Change elf2flt CT_ELF2FLT_VERSION from 'head' to 'cvs' if cvs selected in config Also remove hardcoded 'cvs-' from elf2flt component name, used in CT_Extract, CT_Patch and as the CT_SRC_DIR location for the configure stage. Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com> [yann.morin.1998@free.fr: fix indentation, don't patch custom dir location] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Message-Id: <288db3721a37844defa5.1349931196@localhost.localdomain> PatchWork-Id: 190789
* binutils/binutils: Add CUSTOM version and CUSTOM_LOCATION config options and ↵David Holsgrove2012-10-112-3/+33
| | | | | | | | | | | | | GetCustom CUSTOM_LOCATION config options only presented in menuconfig if component CUSTOM version selected. Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com> [yann.morin.1998@free.fr: fix indentation, don't patch custom dir location] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Message-Id: <7a604b5df9c84a1e20c3.1349931195@localhost.localdomain> PatchWork-Id: 190788
* cc/gcc: Add CUSTOM version and CUSTOM_LOCATION config options and GetCustomDavid Holsgrove2012-10-112-1/+28
| | | | | | | | | | | CUSTOM_LOCATION config options only presented in menuconfig if component CUSTOM version selected. Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com> [yann.morin.1998@free.fr: don't patch custom directory location] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Message-Id: <f2272ac0f37cedd0bb91.1349931194@localhost.localdomain> PatchWork-Id: 190787
* fix eglibc-2.16 manual buildJohannes Stezenbach2012-10-221-4/+9
| | | | | | Signed-off-by: Johannes Stezenbach <js@sig21.net> Message-Id: <20121022133228.GA16536@sig21.net> Patchwork-Id: 193156
* kernel/linux: add altest versionsYann E. MORIN"2012-10-221-12/+22
| | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* scripts/functions: return a proper error code in CT_DoExecLogYann E. MORIN"2012-10-211-0/+5
| | | | | | | | | | | Since we added the debug-shell feature, CT_DoExecLog no longer returns the error code of the command, but always return 0. This breaks the download mechanism, which relies on CT_DoExecLog to fail _on_purpose_ to detect that the ressource was not found at the specified URL. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* scripts/functions: properly catch failure in CT_Test* helpersYann E. MORIN"2012-10-171-1/+1
| | | | | | | | So we get caught by the trap-handler and have a chance to run the debug-shell. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Johannes Stezenbach <js@sig21.net>
* scripts: add option to start an interactive debug shellYann E. MORIN"2012-10-063-3/+120
| | | | | | | | | | | | | | | | | | | | Add an option that, when a command fails: - starts an interactive shell with the failed command's environment - attempts re-execution of the failed command, continues, or aborts at user's whim. Before starting the debug-shell, the backtrace is printed. When exiting for an abort, the standard error message is printed. Based on an idea and a patch from: Johannes Stezenbach <js@sig21.net> http://sourceware.org/ml/crossgcc/2012-09/msg00144.html Signed-off-by: Johannes Stezenbach <js@sig21.net> [yann.morin.1998@free.fr: integrate in the fault handler] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Acked-by: Johannes Stezenbach <js@sig21.net> Patchwork-Id: 191571 Patchwork-Id: 191668
* scripts: move backtrace marker to CT_WORK_DIRJohannes Stezenbach2012-10-142-3/+4
| | | | | | | | | | | | | | | Avoid error when commands in scripts/crosstool-NG.sh fail before CT_BUILD_DIR is set. So we need to remove the backtrace marker of a potential previous build. Previously, it was implicitly removed because we did remove the directory it was in, which is no longer the case. Signed-off-by: Johannes Stezenbach <js@sig21.net> [yann.morin.1998@free.fr: remove backtrace marker on start of build] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Message-Id: <20121015094615.GA18673@sig21.net> Patchwork-Id: 191498
* scripts: fix default work-dir nameYann E. MORIN"2012-10-171-1/+1
| | | | | | | | | It's been a long time the default work-dir changed its name from 'target' to '.build'. Change the left-over. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* kernel/linux: fix missing 'then'Yann E. MORIN"2012-10-171-1/+1
| | | | | Reported-by: David Holsgrove <david.holsgrove@xilinx.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* kernel/linux: fix using custom locationYann E. MORIN"2012-10-161-4/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, extract and patch are skipped as thus: - using a custom directory of pre-installed headers - a correctly named directory already exists Otherwise, extract and patch are done. The current second condition is wrong, because it allows the following sequence to happen: - a non-custom kernel is used - a previous build only partially extracted the non-custom sources - that p[revious build broke during extraction (eg. incomplete tarball...) - a subsequent build will find a properly named directory, and will thus skip extract and patch, which is wrong Fix that by following the conditions in this table: Type | Extract | Patch ----------------------+---------+------- Pre-installed headers | N | N custom directory | N | N custom tarball | Y | N mainstream tarball | Y | Y Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: David Holsgrove <david.holsgrove@xilinx.com>
* scripts: update config.subDavid Holsgrove2012-10-151-5/+6
| | | | | | | | Latest from upstream config-patches repo. (No change to config.guess) Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com> Message-Id: <f15b7c69c142e935391e.1350284600@localhost.localdomain> Patchwork-Id: 191476
* libc/uClibc: add workaround patch for ICE in m68k buildsEsben Haabendal2012-09-261-0/+19
| | | | | | | | | | | | | | | | | This patch/workaround is similar to the one proposed in http://www.mail-archive.com/uclibc@uclibc.org/msg02475.html Bug reproduced with GCC 4.6.3. [ALL ] In file included from libc/inet/inet_ntoa.c:8:0: [ALL ] libc/inet/addr.c: In function 'inet_ntoa_r': [ALL ] libc/inet/addr.c:135:1: warning: visibility attribute not supported in this configuration; ignored [-Wattri butes] [ERROR] libc/inet/addr.c:135:1: internal compiler error: in output_move_qimode, at config/m68k/m68k.c:3160 Signed-off-by: "Esben Haabendal" <esben@haabendal.dk> Message-Id: <87sja4d1ke.fsf@arh128.prevas.dk> Patchwork-Id: 187181
* kernel/linux: use generic custom infrastructureDavid Holsgrove2012-10-111-20/+5
| | | | | | | | | | | Config options remain the same as before, just generalised to be used by other components also. Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com> [yann.morin.1998@free.fr: fix indentation, fix comment] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Message-Id: <50674fe47431174aab80.1349931193@localhost.localdomain> PatchWork-Id: 190786
* scripts/functions: add a generic custom location infrastructureDavid Holsgrove2012-10-042-0/+44
| | | | | | | | | | | | | | Add a generic custom location infrastructure (inspired by the one in kernel/linux) to allow the user to use custom tarballs or directories for any component. Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com> [yann.morin.1998@free.fr: move config option, improve help text, fix API doc] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Message-Id: <131c163c69f9cc81d2be.1349931191@localhost.localdomain> PatchWork-Id: 190784 Message-Id: <0bbaba9190a76ba97f72.1349931192@localhost.localdomain> PatchWork-Id: 190785
* cc/gcc: do not print multilib for canadian-crossYann E. MORIN"2012-10-131-10/+14
| | | | | | | | | Previous import from patchwork missed one hunk (in cset #d8feb93b3e49) Apply it now. Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Patchwork-Id: 189053
* scripts/gcc: Canadian Cross skip -print-multi-lib log outputDavid Holsgrove2012-10-041-10/+15
| | | | | | | | | | | | | | | | Attempting to ${CT_TARGET}-gcc -print-multi-lib will fail In do_cc_core_backend, for the final compiler in a canadian cross baremetal, warn that multi-libs cannot be determined In do_cc_backend, for either final compiler for a canadian cross, warn that multi-libs cannot be determined (Plus fixed CT_PREFIX_DIR in do_cc_backend to be ${prefix}) Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com> Message-Id: <CAM=EW8aQDoNx-CkJHjXBoDP4iTDJ8z5hh3=KhO5UTU6rp3Pj=w@mail.gmail.com> Patchwork-Id: 189053
* debug/gdb: disable nls when CT_TOOLCHAIN_ENABLE_NLS is not selectedZhenqiang Chen2012-09-291-0/+6
| | | | | | Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org> Message-Id: <CACgzC7Bn+WpbgDruNeZ4s1z0x1deF6n4YyS22Dy7p_d1fFDVCA@mail.gmail.com> PatchWork-Id: 191042
* scripts/gdb: If not building expat for gdb, disableDavid Holsgrove2012-10-031-1/+7
| | | | | | | | | | | | | | | | --with-expat=yes is unconditionally passed to the gdb configure stage, instead of respecting the ${do_expat} decision. Disable if not needed. Prevents error building canadian cross; configure: error: expat is missing or unusable Where configure stage fails to find expat on the host compiler. Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com> Signed-off-by: Bryan Hundven <bryanhundven@gmail.com> Message-Id: <4c4410a2a8aab24a29c5.1349244128@localhost.localdomain> PatchWork-Id: 188711
* libc/glibc: Remove redundant LIBC_GLIBC_TARBALL config optionDavid Holsgrove2012-10-111-28/+0
| | | | | | | | Unused since January 2010. Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com> Message-Id: <7a666ba8c0ea5e8f4b18.1349931190@localhost.localdomain> PatchWork-Id: 190783
* kernel/linux: update revisionsBenoît Thébaudeau"2012-10-111-31/+21
| | | | | | | | | | kernel/linux: update revisions Update Linux with the latest available revisions. Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> Message-Id: <efc60d787e571c37eef1.1349964870@advdt005-ubuntu> PatchWork-Id: 190917
* cc/gcc: update Linaro GCC revisions to 2012.10Benoît Thébaudeau"2012-10-111-6/+6
| | | | | | | | | | cc/gcc: update Linaro GCC revisions to 2012.10 Update Linaro GCC with the latest available revisions. Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> Message-Id: <b482331ff863a5fc3507.1349963865@advdt005-ubuntu> PatchWork-Id: 190914
* configure: remove trailing cruftYann E. MORIN"2012-10-071-29/+0
| | | | | | Remove trailing cruft left after the migration to autoconf. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* samples: add new m68k-unknown-uclinux-uclibc sampleEsben Haabendal2012-09-263-0/+274
| | | | | | | | Signed-off-by: "Esben Haabendal" <esben@haabendal.dk> [yann.morin.1998@free.fr: upgrade to using gcc-4.7.2] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Message-Id: <87r4pod1hm.fsf@arh128.prevas.dk> PatchWork-Id: 187182
* kernel/linux: change m68k/no-mmu linux arch tuple to use -uclinuxEsben Haabendal2012-09-261-6/+8
| | | | | | | | | | | | GCC requires m68k arch tuples to be *-*-uclinux-* to support Linux on no-mmu m68k (ColdFire) cpus. Blackfin arch tuple must be *-*-linux-uclibc for FD_PIC_ELF toolchains, so we cannot just switch to uclinux for no-mmu Linux toolchains. Signed-off-by: "Esben Haabendal" <esben@haabendal.dk> Message-Id: <876271s1ee.fsf@arh128.prevas.dk> PatchWork-Id: 186976
* scripts: update config.{guess,sub}Yann E. MORIN"2012-09-252-5/+8
| | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* scripts: exporting (even empty) LIBRARY_PATH and/or LPATH breaks gccYann E. MORIN"2012-09-261-4/+2
| | | | | | | | | If either LIBRARY_PATH or LPATH is set, even to the empty string, the gcc build breaks. Fix that by bailing-out rather than re-setting. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* scripts: Use ${CT_TARGET}-strip to strip gdbserverZhenqiang Chen2012-09-201-2/+2
| | | | | | | | Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org> [yann.morin.1998@free.fr: quote variables] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Message-Id: <CACgzC7BU9CPZ2cE+EYqnMe2WNz-wYby6f4tsmjJi715WmPmbWw@mail.gmail.com> PatchWork-Id: 185303