Commit graph

19 commits

Author SHA1 Message Date
Christian Beier
372787d29b gcc: Use strip instead of sstrip as sstrip somehow stops the on-target compilation from working properly.
Signed-off-by: Christian Beier <dontmind@freeshell.org>
2014-08-12 12:57:37 +02:00
Christian Beier
304e86ff28 gcc: Get rid of those sed substitutions and use proper ./configure args instead.
Signed-off-by: Christian Beier <dontmind@freeshell.org>
2014-08-12 11:04:38 +02:00
Christian Beier
f24052dd61 gcc: Specify target languages the right way.
There are no CONFIG_INSTALL_* vars in the SDK anymore.

Signed-off-by: Christian Beier <dontmind@freeshell.org>
2014-08-10 19:37:28 +02:00
Christian Beier
c704c2f503 gcc: Build gcc version 4.8.3, refresh patches from openwrt.git.
Signed-off-by: Christian Beier <dontmind@freeshell.org>
2014-08-10 18:00:40 +02:00
Christian Beier
b9683bf7df gcc: Ship all *nonshared*.a static libs.
Particularly, this fixes linking with pthreads.

Signed-off-by: Christian Beier <dontmind@freeshell.org>
2014-08-10 14:00:35 +02:00
Christian Beier
75dd400ae6 gcc: Remove notes that mpfr-dev and the like are needed on the build machine.
That's not true, at least for GCC 4.6.3.

Signed-off-by: Christian Beier <dontmind@freeshell.org>
2014-08-10 14:00:28 +02:00
Christian Beier
bae28d4faa gcc: Remove patches that don't apply to 4.6.3.
Signed-off-by: Christian Beier <dontmind@freeshell.org>
2014-08-10 14:00:22 +02:00
Christian Beier
9b24b13654 gcc: Heavy Makefile modification, now builds and runs on target.
* Use the same GCC version as the Attitude Adjustment toolchain.
* Use REAL_GNU_TARGET_NAME that contains the _uclibc suffix.
  Otherwise the linker on the target is not found.
* Revamped install section to install only needed binaries and omit
  static .a libs.

Signed-off-by: Christian Beier <dontmind@freeshell.org>
2014-08-10 14:00:06 +02:00
Christian Beier
13e9670993 gcc: Enable parallel GCC builds.
Signed-off-by: Christian Beier <dontmind@freeshell.org>
2014-08-10 14:00:01 +02:00
Christian Beier
ee43a57b74 gcc: Depend on binutils package.
Signed-off-by: Christian Beier <dontmind@freeshell.org>
2014-08-10 13:59:55 +02:00
Christian Beier
e63c244828 gcc: Do not ship .info and .man files.
Signed-off-by: Christian Beier <dontmind@freeshell.org>
2014-08-10 13:59:50 +02:00
Christian Beier
0401ca4ca1 gcc: Add myself as maintainer.
Signed-off-by: Christian Beier <dontmind@freeshell.org>
2014-08-10 13:59:43 +02:00
Christian Beier
5ad8b4ff1e gcc: The variable is simply called CONFIGURE_ARGS and already contains the host,build, target triplet plus right prefixes.
Signed-off-by: Christian Beier <dontmind@freeshell.org>
2014-08-10 13:59:37 +02:00
Christian Beier
e1be3f55d8 gcc: Add GCC 4.6 patches from official openwrt.git toolchain directory.
Signed-off-by: Christian Beier <dontmind@freeshell.org>
2014-08-10 13:59:31 +02:00
Christian Beier
a95a32ce4c gcc: Add patch that fixes GCC building for MIPS.
Signed-off-by: Christian Beier <dontmind@freeshell.org>
2014-08-10 13:59:26 +02:00
Christian Beier
9ff77b0000 gcc: Add patch that fixes a build error when building a 32bit toolchain on 64bit build machine.
Signed-off-by: Christian Beier <dontmind@freeshell.org>
2014-08-10 13:59:20 +02:00
Christian Beier
41f562c066 gcc: Add README to gcc package explaining build-deps on host machine.
Signed-off-by: Christian Beier <dontmind@freeshell.org>
2014-08-10 13:59:14 +02:00
Christian Beier
758da3487e gcc: Update GCC Makefile to let it build gcc 4.6 for target.
Signed-off-by: Christian Beier <dontmind@freeshell.org>
2014-08-10 13:59:08 +02:00
Christian Beier
799110936e gcc: Add gcc package from git.openwrt.org/packages.git.
Signed-off-by: Christian Beier <dontmind@freeshell.org>
2014-08-10 13:59:00 +02:00