Add an x86 uclibc toolchain

Change-Id: Id38fe8e7f14eaf4447f03e125cb9fe10176a237e
Signed-off-by: Alban Bedel <alban.bedel@avionic-design.de>
Reviewed-on: http://review.adnet.avionic-design.de/864
Reviewed-by: Julian Scheel <julian@jusst.de>
build: Add the install tree to the compiler search path

Set the environment variables CPATH and LIBRARY_PATH to have the
install tree in the compiler search path.

Change-Id: I964301d39b967bf982ed364422700585f072767a
Signed-off-by: Alban Bedel <alban.bedel@avionic-design.de>
Reviewed-on: http://review.adnet.avionic-design.de/1119
Reviewed-by: Soeren Grunewald <soeren.grunewald@avionic-design.de>
gdb: Properly set the environment when building gdb

The environment must be properly set to get the correct search path,
etc.

Change-Id: Ida51ce9618689eba50e70f4ce1a99b04b64b7531
Signed-off-by: Alban Bedel <alban.bedel@avionic-design.de>
Reviewed-on: http://review.adnet.avionic-design.de/1120
Reviewed-by: Soeren Grunewald <soeren.grunewald@avionic-design.de>
gdb: Disable building the documentation

We don't want to build the documentation, even if the system provides
makeinfo.

Change-Id: I65436257e4e98ce5c8e32247b0583e6c86f00f4f
Signed-off-by: Alban Bedel <alban.bedel@avionic-design.de>
Reviewed-on: http://review.adnet.avionic-design.de/1121
Reviewed-by: Soeren Grunewald <soeren.grunewald@avionic-design.de>
gcc: arm: Fix the softfp toolchain for SoC without FPU

When 'hardfp' toolchains where introduced the 'softfp' mode was
enabled for the non-hard toolchains. However the 'softfp' mode is just
using the FPU with a calling convention compatible with the 'soft'
mode. So it still require an FPU, on CPUs without any FPU the 'soft'
mode must be used instead.

Change-Id: I9e93ddb089c2285c4b0647478440133086fe9ca2
Signed-off-by: Alban Bedel <alban.bedel@avionic-design.de>
Reviewed-on: http://review.adnet.avionic-design.de/1118
Reviewed-by: Soeren Grunewald <soeren.grunewald@avionic-design.de>
packages/gdb: Disable the documentation generation

The last fix for system without texinfo didn't work properly. To
definitly fix the issue just patch the Makefile to not recurse in the
gdb/doc directory.

Change-Id: I6a0c8effce4c9caa2125486406e7378c071f48e8
Signed-off-by: Alban Bedel <alban.bedel@avionic-design.de>
Reviewed-on: http://review.adnet.avionic-design.de/1170
Reviewed-by: Julian Scheel <julian@jusst.de>
packages/gdb: Update to gdb 7.7

Change-Id: I21b1a21a73f24da3a02097be6be20e61e6bd653f
Signed-off-by: Alban Bedel <alban.bedel@avionic-design.de>
Reviewed-on: http://review.adnet.avionic-design.de/1171
Reviewed-by: Julian Scheel <julian@jusst.de>
build: Autodetect the number of processors

The CPU count was hardcoded to 8, use the same method as stage2 to
autodetect the proper value.

Change-Id: I77d87bb7c50b12454fd09e9985cbcd7999f20656
Signed-off-by: Alban Bedel <alban.bedel@avionic-design.de>
Reviewed-on: http://review.adnet.avionic-design.de/1219
Reviewed-by: Julian Scheel <julian@jusst.de>
packages: Add ncurses

ncurses is needed for menuconfig, add it to stage1 to get rid of
another dependency on the host.

Change-Id: I416ebdcd6b7ac0c0cae6e39792d0fb2e66843822
Signed-off-by: Alban Bedel <alban.bedel@avionic-design.de>
Reviewed-on: http://review.adnet.avionic-design.de/1220
Reviewed-by: Julian Scheel <julian@jusst.de>
packages/binutils: Update to 2.24

Change-Id: I62769ab02a7fe2fd9f0b406b7b6345f416e6d9e0
Signed-off-by: Alban Bedel <alban.bedel@avionic-design.de>
Reviewed-on: http://review.adnet.avionic-design.de/1221
Reviewed-by: Julian Scheel <julian@jusst.de>
build: Use the downloader script from stage2

The download script from stage2 feature proper locking to allow
several instances to share the same download directory. This is
important for the build server were all stage1 and stage2 instances
share the same download directory.

Change-Id: I0f728301b8cc03b8ca59fba4ba77c88ad47c3c58
Signed-off-by: Alban Bedel <alban.bedel@avionic-design.de>
Reviewed-on: http://review.adnet.avionic-design.de/1222
Reviewed-by: Julian Scheel <julian@jusst.de>
packages/gdb: Add the dependency on ncurses

Change-Id: Ieab158d0a32f45eeca8144a3ed7169c49f3a3151
Signed-off-by: Alban Bedel <alban.bedel@avionic-design.de>
Reviewed-on: http://review.adnet.avionic-design.de/1223
Reviewed-by: Julian Scheel <julian@jusst.de>
packages/uclibc: Fix builds with long base path

Bring a patch from stage2 to fix the linking when the base path is too
long.

Change-Id: Ibd9ccd25234125ede97db3e3bf3b3633f1b0db03
Signed-off-by: Alban Bedel <alban.bedel@avionic-design.de>
Reviewed-on: http://review.adnet.avionic-design.de/1230
Reviewed-by: Julian Scheel <julian@jusst.de>