summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-01-21samples: update the rpi sampleYann E. MORIN"2-3/+7
And use the newly introduced CT_ARCH_SUFFIX at the same time. :-) Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-01-20arch: allow adding a suffix to the arch-part of a tupleYann E. MORIN"13-18/+30
For some architectures, it is legit to have an alternate value in the 'architecture' part of the tuple. For example: armv5te-* armv7a8-* Besides, some packages expect the tuple to reflect the arch variant (eg. openMPI) to detect the variant's capabilities (eg. atomic primitives). This patch adds an option for the user to specify a suffix to be added to the arch-part of the tuple. Signed-off-by: Willy Tarreau <w@1wt.eu> Message-ID: <20130120225822.GS6838@1wt.eu> Patch-Id: 213994 [yann.morin.1998@free.fr: make it a suffix, not an override] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-01-21samples: check if update is neededYann E. MORIN"2-2/+20
Add a ct-ng action to check if samples needs being updated. This will be usefull when the config options change. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-01-21kconfig: rename the defconfig and olddefconfig targetsYann E. MORIN"2-4/+4
What 'defconfig' really does is save the current .config to a defconfig, so it is better named 'savedefconfig' (as other projects do). What 'olddefconfig' really does is create a .config from a defconfig, so rename it to 'defconfig' (as other projects do, too). Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-01-18kernel/linux: update revisionsBenoît Thébaudeau"1-9/+19
kernel/linux: update revisions Update Linux with the latest available revisions. Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> Message-Id: <df032717ca91dc9cc876.1358518690@advdt005-ubuntu> Patchwork-Id: 213616
2013-01-18cc/gcc: update Linaro GCC revisions to 2013.01Benoît Thébaudeau"1-6/+6
Update Linaro GCC with the latest available revisions. Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> Message-Id: <539b6c34453a74c17759.1358517007@advdt005-ubuntu> Patchwork-Id: 213611
2013-01-10scripts: woops, root's UID is 0, not 1000!Yann E. MORIN"1-1/+1
Left-over from a test... :-( Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-01-10scripts: check for running as rootYann E. MORIN"2-0/+39
Running as root is really, really dangerous. Add a runtime-check that refuses to build if running as root. Can be overriden with a double switch in the menuconfig. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-01-10libc: get rid of libc_finishYann E. MORIN"9-31/+1
At long last, we no longer have any libc that requries a libc_finish. Yeah! Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-01-10libc/newlib: install AVR32 headers during the start-files-and-headers phaseYann E. MORIN"1-9/+11
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-01-10samples: rename this sampleYann E. MORIN"2-1/+1
This debug string slipped in surreptitiously... Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-01-09arch/arm: OABI is no more, switch to only EABIYann E. MORIN"1-6/+15
Well, leave the prompt as an OBSOLETE thing, scheduled to be removed soon. As an indication OABI lives its last days, gcc-4.8 will no longer recognise non-EABI targets. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-01-09arch/arm: add option to use *eabihf tuplesYann E. MORIN"2-0/+35
Toolchains that use the hard-float ABI now are to be denoted by a tuple ending in *eabihf, while the prevbious *eabi is now an indication that the toolchain uses the softfloat ABI. This is purely a cosmetic thing, for distros to differentiate their hardfloat-ABI ports from their softfloat-ABI ports. (note: softfloat ABI does not mean that it is using softfloats; it can be using hardfloat instructions, but using the softfloat ABI). Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-01-09samples: add a sample for the Raspberry PiYann E. MORIN"2-0/+27
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-01-09scripts: update config.{guess,sub}Yann E. MORIN"2-39/+37
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-01-06kernel/linux: add latest versionsYann E. MORIN"1-12/+17
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-12-27binutils/binutils: add latest versionYann E. MORIN"1-0/+6
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-12-27scripts/addToolsVersion: handle elf2fltYann E. MORIN"1-0/+1
The one was missing from the list. It is very improbable that we ever need it, as elf2flt does no release, and we always get it from CVS head. But for the sake of consistency, we just add it. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-12-27scripts/addToolsVersion: properly handle .in vs. .in.2Yann E. MORIN"1-22/+19
While most components have their version in the .in file, some have it in the .in.2 (eg. elf2flt). Currently, to handle this case, we indiscriminately munge both files, but this is wrong: in the elf2flt case, if we add a binutils version, we do not want it to be added to elf2flt, and conversely. So, for each tool, we need to explicitly know what file to munge. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-12-26libc/newlib: add latest versionYann E. MORIN"1-0/+6
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-12-26all: unmark experimental featuresYann E. MORIN"11-21/+12
It's been some time now we've had those features, so unmark them being experimental. It does not mean everything is perfect, but may gather some more testing of those features. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-12-26all: unmark experimental versionYann E. MORIN"22-48/+57
It's been a while we've had those versions, time to unmark them being experimental. It does not mean everything is perfect, but may gather some more testing on those versions. Update samples accordingly. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-12-26libc/eglibc: add latest versionYann E. MORIN"1-0/+6
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-12-26script/addToolsVersion: fix eglibc version separatorYann E. MORIN"1-2/+2
eglibc uses '_', not '.' to separate major/minor. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-12-26libc/glibc: add post-2.14 versionsYann E. MORIN"1-0/+15
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-12-26libc/glibc: both glibc and eglibc have pkgversion and bugurlYann E. MORIN"2-8/+2
Well, all eglibc version we support do, and latest glibc versions we support do. Not all glibc versions do, but older versions simply ignore the unrecognised ./configure flags. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-12-26libc/eglibc: remove now superfluous config knobsYann E. MORIN"2-47/+4
All eglibc versions we now have support pkgversion and bugurl. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-12-26libc/glibc: always enable obsolete RPCYann E. MORIN"1-4/+2
Since unrecognised ./configure flags are simply ignored, we can always pass --enable-obsolete-rpc. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-12-26all: remove versions marked obsoleteYann E. MORIN"12-187/+2
For major components, keep the latest version of each major releases. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-01-06scripts/showTuple: fix stdoutYann E. MORIN"1-2/+2
Since we've had the debug shell feature, fd #7 is now used to redirect stderr, while it was previously unused. Use fd #9 to redirect stdout. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-12-23arch: re-order the entries in the float choiceYann E. MORIN"1-10/+10
Re-order the three entries in the float choice, in a more sensible order, ie: - all hard-float options come first, then soft-float - options that use the FPU are marked so: hard and softfp - options that do not use the FPU are marked so: software Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-12-17debug/gdb: update Linaro GDB revisions to 2012.12-1Benoît Thébaudeau"1-3/+3
Update Linaro GDB with the latest available revisions. Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> Message-Id: <b6c4a82286f9a3de3948.1355761104@advdt005-ubuntu> Patchwork-Id: 206907
2012-12-17cc/gcc: update Linaro GCC revisions to 2012.12Benoît Thébaudeau"1-6/+6
Update Linaro GCC with the latest available revisions. Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> Message-Id: <acf52a6302c475ff850e.1355760853@advdt005-ubuntu> Patchwork-Id: 206905
2012-12-11debug/gdb: update Linaro GDB revisions to 2012.12Benoît Thébaudeau"1-3/+3
Update Linaro GDB with the latest available revisions. Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> Message-Id: <f37c710b8eb881abde4f.1355226132@advdt005-ubuntu> Patchwork-Id: 205182
2012-12-11kernel/linux: update revisionsBenoît Thébaudeau"1-40/+15
Update Linux with the latest available revisions. Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> Message-Id: <515f9ed69f58a0af21e9.1355226920@advdt005-ubuntu> Patchwork-Id: 205183
2012-12-09complibs/ppl: fix build with newer gccYann E. MORIN"2-2/+20
ppl-0.10.x does not build with gcc-4.6+, as it uses constructs that were warnings with gcc-4.5 and before, but are now errors with gcc-4.6 and above. Fix that by passing -fpermissive in CFLAGS for ppl 0.10. Reported-by: Jeremy Rosen <jeremy.rosen@openwide.fr> Reported-by: Peter Korsgaard <jacmet@uclibc.org> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-12-05scripts/xldd: use user's sed and grepYann E. MORIN"1-2/+2
xldd uses sed and grep as detected by ./configure. This works well if is used on the machine that build the toolchain. But if the user moves the toolchain to another machine where sed and grep are not in the same directory (eg. /bin/sed vs. /usr/bin/sed), then xldd will stop functionning. Fix that by using ${SED} and ${GREP} if they are set in the environment. Reported-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-11-25cc/gcc: do not print 'core' or 'final'Yann E. MORIN"1-6/+6
In gcc-'s core and final passes, do not print 'core' or 'final' in log messages. We already print it in step messages. Also, as we use the core backend to build the bare-metal final gcc, it can be disturbing to read 'core' while we're in fact in 'final'. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-11-26cc/gcc: add patch for 4.7.2Richard Braun1-0/+27
This patch fixes compilation of gcc when C++ is enabled and MMX is available, but not SSE/SSE2/AVX. Signed-off-by: Richard Braun <rbraun@sceen.net> Message-Id: <20121126105642.GA12098@mail.sceen.net> Patchwork-Id: 201648
2012-11-22cc: add a flag for skipping core passesYann Diorcet7-0/+16
It is used for skipping unnecessary compilation steps when the libc doesn't need to be compiled (eg. when we do not use a C library). Signed-off-by: Yann Diorcet <diorcet.yann@gmail.com> Message-Id: <150eadb0117e697d79aa.1353625025@blackmint> Patchwork-Id: 201222
2012-11-22scripts/functions: fix debug-shellYann E. MORIN"1-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>
2012-11-21scripts: refine static linking check to better guide the userDaniel Price1-15/+36
The current mechanism to check if static linking is possible, and the mesage displayed on failure, can be puzzling to the unsuspecting user. Also, the current implementation is not using the existing infrastructure, and is thus difficult to enhance with new tests. So, switch to using the standard CT_DoExecLog infra, and use four tests to check for the host compiler: - check we can run it - check it can build a trivial program - check it can statically link that program - check if it statically link with libstdc++ That should cover most of the problems. Hopefully. (At the same time, fix a typo in a comment) Signed-off-by: Daniel Price <daniel.price@gmail.com> [yann.morin.1998@free.fr: split original patch for self-contained changes] [yann.morin.1998@free.fr: use steps to better see gcc's output] [yann.morin.1998@free.fr: commit log] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Message-Id: <163f86b5216fc08c672a.1353459722@nipigon.dssd.com> Patchwork-Id: 200536
2012-11-21scripts: fail on ':' in pathsDaniel Price1-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
2012-11-19scripts: fix mis-alignment due to new variablesYann E. MORIN"1-15/+15
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-11-19binutils: introduce the infrastructure to support binutils alternativesYann Diorcet7-158/+105
Rework binutils in order to provide soon binutils alternative. Signed-off-by: Yann Diorcet <diorcet.yann@gmail.com> [yann.morin.1998@free.fr: split up original patch for self-contained changes] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Message-Id: <d3d1d51f399e6d2c1163.1353320546@macbook-smorlat.local> Patchwork-Id: 199971
2012-11-19binutils/elf2flt: remove use of CVS snapshotsYann E. MORIN"1-16/+0
The CVS snapshot options are never used, so get rid of them. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-11-19binutils/binutils: simplify gold dependenciesYann Diorcet1-7/+3
In preparation of adding a new kernel-type, Yann D. came up with a change in semantic on binutils/gold availability. So far, it was architectures' responsibility to declare that they did support binutils/gold or not. It makes much more sense that binutils/gold declares its own availability depending on the current architecture; after all, architectures have no way to know wether gold supports them, while gold does know it. Signed-off-by:Yann Diorcet <diorcet.yann@gmail.com> [yann.morin.1998@free.fr: split up original patch for self-contained changes] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Message-Id: <d3d1d51f399e6d2c1163.1353320546@macbook-smorlat.local> Patchwork-Id: 199971
2012-11-19binutils: cleanup ELF/FLAT/FDPIC dependenciesYann Diorcet1-8/+3
In preparation of adding a new kernel-type, Yann D. came up with a cleanup pass on the ELF/FLAT/FDPIC dependencies. Signed-off-by: Yann Diorcet <diorcet.yann@gmail.com> [yann.morin.1998@free.fr: split up original patch for self-contained changes] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Message-Id: <d3d1d51f399e6d2c1163.1353320546@macbook-smorlat.local> Patchwork-Id: 199971
2012-11-16scripts: add BUILD/HOST extra cflags/ldflagsYann Diorcet11-15/+114
On some hosts, and for certain toolchains (eg. toolchain targetting the upcoming Darwin), it may be necessary to pass arbitrary CFLAGS and/or LDFLAGS when building the components. And necessary infrastructure: - EXTRA_{CFLAGS,LDFLAGS}_FOR_{BUILD,HOST} as config options - pass those extra flags to components Fix-up a slight typo in elf2flt at the same time (misnamed cflags). Signed-off-by: Yann Diorcet <diorcet.yann@gmail.com> Message-Id: <d24043276c9243a35421.1353077450@macbook-smorlat.local> Patchwork-Id: 199645
2012-11-19scripts: unquoted variable reference in glibc-eglibc.sh-commonDaniel Price1-1/+1
Signed-off-by: Daniel Price <daniel.price@gmail.com> Message-Id: <12f092a95a94bcf76912.1353367250@redfish.dssd.com> Patchwork-Id: 200215