1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 16:11:54 +02:00
Commit Graph

18 Commits

Author SHA1 Message Date
nico
01ed40ec23 use qstrip macro to strip quoted CONFIG_* strings
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11832 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-14 23:24:58 +00:00
jk
7e4be8edea [toolchain] provide a cleaner way to specify a biarch toolchain build
Currently, to build a biarch toolchain, we need to explicitly give
options to the binutils and gcc configure commands:

CONFIG_EXTRA_BINUTILS_CONFIG_OPTIONS="--enable-targets=powerpc64-linux-uclibc"
CONFIG_EXTRA_GCC_CONFIG_OPTIONS="--enable-biarch --enable-targets=powerpc64-linux-uclibc"

This change replaces the command line options with an 'extra arch'
configure option:

CONFIG_EXTRA_TARGET_ARCH=y
CONFIG_EXTRA_TARGET_ARCH_NAME="powerpc64"

And a way to invoke this extra arch on the compiler command-line:

CONFIG_EXTRA_TARGET_ARCH_OPTS="-m64"

In this case, this results in an extra compiler:
 'powerpc64-linux-uclibc-gcc', which invokes
 'powerpc-linux-uclibc-gcc -m64'

This is a more standard way of building biarch toolchains, and allows
the packages to not have to care about how to invoke the 64-bit
compiler.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10802 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-12 23:14:42 +00:00
kaloz
86592f3514 update binutils autoconf scripts, too
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10005 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-28 18:13:08 +00:00
kaloz
11c2779e23 fixup softfloat handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10003 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-28 18:06:47 +00:00
nbd
d274551d10 Add binutils extra configure options
Currently, we can specify extra configure options for gcc, but not
binutils.

This change adds an EXTRA_BINUTILS_CONFIG_OPTIONS config variable,
so we can add configure options for binutils.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9407 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-23 06:23:20 +00:00
nbd
12c49b6a6a build system cleanup/restructuring as described in http://lists.openwrt.org/pipermail/openwrt-devel/2007-August/001159.html
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8362 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-07 00:04:25 +00:00
nbd
1ffb51d7e1 remove the custom Build/Prepare override in binutils, use PATCH_DIR, refresh patches using quilt
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7752 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-28 07:20:42 +00:00
nbd
44af1866aa move tools from toolchain/ to tools/
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4866 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-09-27 14:06:46 +00:00
kaloz
5102d583ed add binutils 2.17 and remove the beta versions, update some gcc 4.1.1 patches
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4099 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-28 17:52:04 +00:00
nbd
a35fb6c438 add missing copyright
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4094 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-27 00:44:04 +00:00
nbd
94266d6389 massive cleanup of toolchain/
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4038 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-21 06:19:43 +00:00
nbd
782ea32207 allow parallel build of binutils
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3879 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-05-31 23:45:06 +00:00
nbd
06265758be cleanup; replace .PHONY with FORCE; disable gdb by default
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3877 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-05-31 23:29:05 +00:00
mbm
02eae88c35 fix BR2_ and CONFIG_ issues
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3769 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-05-12 19:08:03 +00:00
nbd
6f973d99ae remove some old binutils versions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2211 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-10-21 17:30:24 +00:00
nbd
07afff1eaa add new binutils versions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1684 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-08-15 18:26:17 +00:00
nbd
955e03f23a more cleanup in toolchain/
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1501 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-07-20 14:58:27 +00:00
mbm
f77b88d124 nbd's makefile/menuconfig rewrite
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@307 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-03-06 03:34:52 +00:00