1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-09 08:15:21 +02:00
Commit Graph

452 Commits

Author SHA1 Message Date
nbd
a860e07cba fix up the asm includes location for .27 when building kernel headers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12802 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-29 18:09:24 +00:00
lars
8da092e746 Fix a segfault in uclibc ldso.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12698 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-25 13:06:43 +00:00
lars
5f2ecf82f0 Avoid endless recursion in uClibc pthreads.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12652 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-22 22:51:53 +00:00
nico
e55a04e2ce add patches to fixes gcc 4.2.x bugs:
- fix gcc ICE when compiling package/ath9k (closes: #3816)
   http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37014
 - fix "undefined reference to `fmsub'" error on powerpc
   http://bugs.uclibc.org/view.php?id=1588


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12623 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-18 12:24:32 +00:00
nbd
5ef8ada0f7 disable autorebuild for the toolchain, as it can easily lead to build breakages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12492 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-02 10:57:35 +00:00
nbd
47ce0ef5fe make libc.so symlink relative instead of absolute (#3878)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12333 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-17 12:30:14 +00:00
nbd
76c7f83e59 storm is ARMv4, not ARMv4T (thx, SeG)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12046 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-31 16:51:43 +00:00
florian
2c8df11418 Disable smash stacking support by default, but allow to enable it as an experimental feature
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12010 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-30 12:54:28 +00:00
nbd
1c87c80fd4 fix uClibc legacy version
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11993 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-29 14:58:48 +00:00
florian
7067633ae8 Update uClibc config for x86_64
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11963 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-27 16:56:34 +00:00
juhosg
546b5ed544 surprise :p
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11894 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-21 17:08:14 +00:00
florian
541dcce6ec uClibc for x86 targets and kernels >= 2.6.24 need to copy the right include files, remove this when there are no 2.6.23 left
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11893 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-21 10:41:27 +00:00
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
nbd
285af89084 add some sanity checking
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11473 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-15 14:34:00 +00:00
blogic
0e38abbd3d finally fixes etrax toolchain problems, thanks nbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11383 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-06 20:12:05 +00:00
kaloz
f4fb68ce2c * refresh storm patches
* disable BX in uClibc config, add ethernet and watchdog support -- thanks to Zilvinas Valinskas

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11367 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-05 17:10:39 +00:00
kaloz
c9615c4bdc add patch to fix EABI compiles on ARMv4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11365 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-05 16:38:04 +00:00
kaloz
fc35f54386 add preliminary Marvell Orion support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11352 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-04 13:51:17 +00:00
kaloz
f58867f71d soft-float shouldn't be used on targets with FPU
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11338 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-03 09:31:00 +00:00
kaloz
54a1da8d7c gcc 4.2.4 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11310 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-31 18:45:07 +00:00
matteo
fc45119fd6 refresh gcc-4.2.3 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11232 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-21 11:51:22 +00:00
thepeople
bd693798ff fix avr32 compiling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11147 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-16 04:44:15 +00:00
nico
e98062ae33 Fix a bug causing an infinite loop in getaddrinfo (closes: #3344)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11106 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-11 10:19:12 +00:00
blogic
6244867c33 remove ugly hack for etrax
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11026 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-03 15:46:23 +00:00
blogic
b9e7464d8a fix up uclibc support for etrax
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11025 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-03 15:45:42 +00:00
blogic
2b1356ade2 fix uclibc version selection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11024 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-03 15:45:34 +00:00
kaloz
18aeebfc58 add preliminary support for Storm SL3512 based devices, not ready yet
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10956 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-27 17:03:01 +00:00
kaloz
66a1f66691 PXA has Xscale core as well, so optimize the same way as we do on IXP/IOP
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10948 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-26 10:12:08 +00:00
nbd
add5d6ec82 make sure the toolchain target dir really exists
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10913 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-22 20:30:55 +00:00
kaloz
41696be697 do target dependent optimizations
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10834 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-14 13:24:30 +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
florian
f8d56a3a3f Do not disable tls yet, uclibc-ntpl will support it soon
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10785 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-10 15:52:38 +00:00
florian
0a30615206 Disable tls support, uClibc does not support it, and it could lead to linking failures with some braindead autoconf programs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10782 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-10 14:05:38 +00:00
kaloz
e6245b822d fix typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10718 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-03 13:44:38 +00:00
thepeople
4ea642dff9 Fix format of depends clause for avr32 Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10687 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-29 19:56:46 +00:00
nbd
9bfa421614 fix uclibc build on osx
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10578 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-09 21:22:31 +00:00
nbd
699d63d8be remove the "depends BROKEN" for eabi
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10556 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-07 10:16:37 +00:00
nico
0a89a754e7 fix md5sum for v0.28.2 (closes: #3159)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10498 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-19 21:38:29 +00:00
kaloz
de63a700be fixup ARM EABI on GCC 4.1.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10480 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-17 15:37:58 +00:00
nbd
2962a817fc add missing config change for OABI
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10459 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-14 19:41:33 +00:00
nbd
aa7be8c164 revert ARM to oabi by default, add some eabi patches for fixing up the toolchain, which unfortunately break eabi userland, but are IMHO a necessary basis for further eabi fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10458 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-14 14:31:31 +00:00
kaloz
a2515db109 use GCC 4.2.3 by default for AVR32
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10414 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-07 20:21:18 +00:00
kaloz
3a8b8febd9 add GCC 4.2.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10413 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-07 20:18:40 +00:00
kaloz
c289fe9d28 sync AVR32 patches with upstream
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10411 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-07 20:05:11 +00:00
nbd
465257bc80 fix path to etrax patches (#3055)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10376 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-03 18:22:22 +00:00
kaloz
dc192be569 *sigh* :P
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10373 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-03 17:36:04 +00:00
nbd
51e6b047f0 Add binutils-2.18 patches for all arches but AVR32.
Re-diff the existing patches for binutils-2.17 for all architectures
but AVR32, and make the possible selection of binutils-2.18 dependent
on selecting any arch but that one for the time being.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10360 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-02 18:06:32 +00:00
nbd
65994c781a turn on UCLIBC_HAS_PROGRAM_INVOCATION_NAME (see #2941)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10358 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-02 02:31:15 +00:00
juhosg
8c34357d5b [toolchain] eliminate the root cause of the uClibc problems on the powerpc platform
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10346 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-01 18:42:22 +00:00
juhosg
829c17fac9 [toolchain] gcc: fix version selection for Magicbox
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10345 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-01 16:44:52 +00:00
kaloz
3a65bbbf23 fix GCC version selection for Magicbox
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10288 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-27 21:21:46 +00:00
juhosg
978a0e3a4c [toolchain] uClibc: change some symbols to local on ppc to make Kaloz happy :)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10285 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-27 21:15:27 +00:00
nbd
68d61957ec remove some wrong depends/defaults
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10284 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-27 18:49:51 +00:00
ralph
88e247f0fd oops, missing file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10283 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-27 18:02:32 +00:00
ralph
d14fa7ba1f add uClibc version 0.9.28.2, 0.9.28.3 and snapshots for development purpose (and already deployed evaluation boards)
the version 0.9.29 is still the default version



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10282 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-27 17:59:20 +00:00
juhosg
d0e7f8edc5 [toolchain] uClibc: restore support of shadow passwords, but make it configurable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10276 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-26 20:07:47 +00:00
florian
0bbb4c4f66 Fix sockets.h for mips/mipsel
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10066 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-31 13:31:48 +00:00
nbd
860d0dd0e6 fix uclibc compile on brcm-2.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10063 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-30 19:23:54 +00:00
nbd
580fa02910 fix ntpd compile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10057 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-30 16:41:08 +00:00
nbd
34f021a995 use __inline__ instead of inline to avoid build errors with -ansi
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10051 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-30 04:25:17 +00:00
nbd
5a4ff24a53 enable res_close bsd compat, asterisk requires this
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10048 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-30 03:56:33 +00:00
nbd
05d08744b9 add a workaround for inline function redefinition
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10039 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-30 00:17:01 +00:00
nbd
bd858493e6 turn SUSv3 legacy macros into inline functions to avoid crazy build breakage in multiple packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10038 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-30 00:06:12 +00:00
nbd
1b03fd0720 replace cflags hacks with the correct solution
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10031 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-29 20:31:48 +00:00
nbd
a95bff1704 enable gnu glob in uclibc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10027 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-29 19:07:58 +00:00
nbd
30808fcb93 unconditionally enable c99 math support in uclibc - many packages need it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10024 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-29 18:07:56 +00:00
nbd
c0b3ee1b34 fix comgt compile error caused by the uclibc upgrade
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10018 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-29 00:50:40 +00:00
nbd
f1070f111c update x86 uclibc configs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10017 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-29 00:50:35 +00:00
kaloz
ff57652cf6 use softfloat and GNU EABI on the IOP, too
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10015 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-28 20:22:06 +00:00
kaloz
d993d0d4b1 move ARM to the GNU EABI
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10013 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-28 20:13:15 +00:00
kaloz
6469ab20e1 use soft float by default on arm and powerpc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10011 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-28 20:03:00 +00:00
kaloz
b26b6755df upgrade to uClibc 0.9.29 - break binary compatibility #1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10010 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-28 19:51:24 +00:00
kaloz
db0fee18ea we don't use Atmel version numbers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10008 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-28 18:44:28 +00:00
kaloz
e52f4ceb33 add another softfloat patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10007 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-28 18:32:14 +00:00
kaloz
ac02d17ea5 update AVR32 binutils patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10006 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-28 18:26:50 +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
agb
adde95556f Disabling use of libintl in kernel-headers.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9935 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-26 22:22:02 +00:00
kaloz
edc99d1bf0 softfloat should be available on armeb, but not on mips until the kernel fpu emulation can be disabled
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9930 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-26 19:36:34 +00:00
blogic
0e161e6b11 added binutils 2.18 selection, Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9814 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-20 22:23:12 +00:00
nbd
c15eb41ef9 hopefully fix occasional uClibc/gcc build failures
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9717 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-13 01:17:26 +00:00
nbd
d5a53f3c57 fix a few stampfile locations
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9587 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-20 19:58:49 +00:00
nbd
0cdad2de24 revert abi changes in uClibc - on hold for 7.11, will be added again with the uclibc upgrade for 8.01
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9519 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-09 13:20:21 +00:00
nbd
26fecaf491 disable crt_fini compatibility in uClibc, compile custom ld-uClibc for broadcom utilities
allows us to upgrade uClibc without breaking compatibility for nas and wl
breaks binary compatibility for packages from earlier kamikaze releases


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9518 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-09 03:20:13 +00:00
florian
042e469b6c Update CFLAGS pickup to match the target variable name, allow i686 to be optimised
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9451 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-26 16:19:59 +00:00
kaloz
3893efade9 add gcc 4.2.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9443 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-25 09:16:31 +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
ebe4d35428 openwrt: honour gcc extra configuration flags
Although the CONFIG_EXTRA_GCC_OPTIONS flag is available, it isn't used
anywhere.

This change adds the extra flag to both gcc configure stages.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9406 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-23 06:23:17 +00:00
blogic
a5d5856756 changed the -fhonours-copts gcc patch, such that the function needs to be turned on explicitly
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9167 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-07 00:26:02 +00:00
nbd
ee5b9482d6 fix gdb installation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9088 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-01 14:55:38 +00:00
nbd
57743bea4e remove obsolete file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9005 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-24 00:11:20 +00:00
florian
c8ae05cb22 Fix toolchain generation with FPU enabled (#2242)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8711 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-09 15:50:03 +00:00
nbd
6db7ad74f6 major target cleanup. it is now possible to have subtargets that can override many target settings, including arch - merge adm5120, adm5120eb. target profiles still need to be adapted for subtargets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8694 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-08 19:55:42 +00:00
nico
24458ad0c5 include kernel-version.mk from kernel.mk so that a correct KERNEL_PATCHVER is always available
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8494 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-26 13:26:02 +00:00
nico
55b9f8f5dd fix typo (closes: #2275)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8492 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-26 13:00:27 +00:00
florian
ef9765bcc6 Disable multilib by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8471 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-23 16:08:09 +00:00
florian
edc76f93c2 Fix the stage2 compilation, no side effect with gcc4 (#2190)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8409 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-13 16:26:58 +00:00
florian
d3e7fffaf3 Replace TOOLCHAIN_BUILD_DIR with BUILD_DIR_TOOLCHAIN (the other one is deprecated)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8399 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-11 17:32:45 +00:00
florian
80886edaa0 Fix gdb installation, thanks to Alfred Heggestad
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8383 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-09 21:38:05 +00:00
florian
8ec76b7a55 rdc can be built with gcc4 as well, my mistake
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8379 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-08 12:03:24 +00:00
nbd
00853f9f71 fix kernel-headers download (#2179)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8373 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-07 09:41:54 +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
florian
1d7f1aafa1 rdc-2.6 must be built with gcc-3.4.6, if not it will not boot at all
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8345 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-05 11:05:08 +00:00
florian
2d6bbc425e Allow installing gcj/gnu classpath,for those interested
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8337 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-04 10:59:02 +00:00
nbd
32a98d23ea Port the mbsd_multi patch from freewrt, which adds -fhonour-copts. This will emit warnings in packages that don't use our target cflags properly
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8256 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-31 00:52:27 +00:00
nbd
aeef389959 fix the gcc stampfile for initial stage installation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8250 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 22:27:37 +00:00
nbd
134ed9ab3b remove leftover CONFIG_JLEVEL
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8249 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 22:23:17 +00:00
nbd
fa6b203c6e fix an uClibc compile error that only happens on rebuilds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8248 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 22:01:29 +00:00
nbd
215c893ae1 no need to call compile,install on the kernel-headers dir - this gets rid of another unnecessary autorebuild check
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8247 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 21:57:14 +00:00
nbd
196ad55bd2 next round of cleanup, convert target/ - make -j works now ;)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 21:14:08 +00:00
nbd
af927159a9 next round of build system cleanup - convert package/ to new structure
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8236 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 18:22:01 +00:00
nbd
bcadc45cba remove leftover stuff
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8234 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 16:04:23 +00:00
nbd
506d2a0161 fix compile errors with make 3.80
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8230 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 15:00:27 +00:00
kaloz
6bade7c53a add gcc 4.2.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8223 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 12:26:28 +00:00
nbd
d67567dc2a use $(curdir) again
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8208 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-28 13:44:04 +00:00
nbd
23660965c9 build system fixes, more cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8207 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-28 13:29:03 +00:00
nbd
b0f539a440 fix cflags for xscale (#2026)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7910 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-11 05:18:19 +00:00
blogic
71b58d810f added i686 support and profile for t-vision s100
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7890 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-08 16:11:40 +00:00
florian
6b70f7ae81 Use -Os for rdc and -O2 for the x86 target
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7831 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-01 17:53:28 +00:00
rwhitby
aefa916a3a Enable LDSO_RUNPATH in uClibc configuration for all platforms
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7769 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-29 05:34:12 +00:00
nbd
f241410c51 update magicbox target to 2.6.22-rc6, select gcc 4.2.0 as default for this target (4.1.2 segfaults at compile time)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7762 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-28 20:42:21 +00:00
nbd
f14aaeaa4b fix gcc 4.2.0 compile for ppc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7761 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-28 19:52:09 +00:00
nbd
638af73980 add update target to toolchain/
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7754 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-28 08:45:59 +00:00
nbd
f26af3d30d replace gcc 4.2 snapshot with 4.2.0 release (sync patches with uclibc buildroot), adjust gcc makefile for PATCH_DIR changes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7753 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-28 07:30: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
ab731edcd7 enable the refresh target in toolchain/
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7751 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-28 07:20:02 +00:00
nbd
aa9a8be2aa disable quilt for kernel-headers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7749 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-28 06:53:08 +00:00
blogic
5af6073589 added several patches to make packages compile for the foxboard
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7597 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-12 20:36:02 +00:00
blogic
b8425a81be Fixes compile bug for uclibc-cris
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7596 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-12 18:06:13 +00:00
nbd
b763c6e2db fix kernel-headers patching (#1878)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7586 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-12 12:59:06 +00:00
kaloz
ac52e3bd03 add support for the AVR32 platform, namely the ATNGW100 board - joint work with wigyori
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7533 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-08 10:44:01 +00:00
kaloz
7067099c14 we don't need libmudflap at all
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7531 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-08 10:35:23 +00:00
kaloz
0b3d2e2102 use binutils 2.17 by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7530 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-08 10:32:29 +00:00
blogic
57527ba921 Fixed a bug in the kernel-headers/Makefile introduced by the cris merge
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7444 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-02 09:27:07 +00:00
blogic
9b11307b07 add initial support for the crisarchitecture used on foxboards to openwrt
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7439 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-02 00:46:02 +00:00
nbd
aa0651e080 add arm fix for gdb from #1468
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7127 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-07 17:52:20 +00:00
nbd
7a1a2ed509 the default_subtargets template was a bad idea, since different makefiles require different types of dependencies for subtargets. nuke it...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7003 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-18 17:35:46 +00:00
florian
11543233b2 Remove ldd/ldconfig for the moment (#1551)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6866 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-04 20:24:06 +00:00
hcg
c3831d0284 Cleanups on romboot and u-boot.
Conditionally apply ldd and ldconfig support on at91 platform


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6862 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-04 14:33:52 +00:00
florian
3195575d36 Add ldd and ldconfig support, template packages derived from gcc and uclibc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6856 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-03 22:50:27 +00:00
nbd
c6c7fea2b9 Fix portability patch for uClibc.
Certain versions of GNU cp treat -P as --parent, which is wrong here and -P should be implied by -R already.
Fixes build on OSX with fink's fileutils installed.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6784 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-01 11:43:11 +00:00
nbd
af846f5b78 Nuke lots of obsolete compiler versions
Make gcc4 depend on !LINUX_2_4 - I'm getting sick of seeing people complain about
compile errors when trying to build brcm-2.4 with it.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6744 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-28 17:52:00 +00:00
kaloz
2d2c340145 fix gcc version selection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6556 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-11 19:26:39 +00:00
hcg
1d7256ed22 Changed default compiler for 2.6 kernels to 4.1.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6539 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-07 22:32:10 +00:00
nbd
39cff50e2e changes to target/linux/generic-* should not trigger a kernel-headers rebuild
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6479 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-03 20:48:47 +00:00
nbd
103e8ec366 mark uml as broken and add some cleanups (not working yet)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6439 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-28 18:25:14 +00:00
nbd
c82826dab3 remove remaining unnecessary dependency
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6423 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-28 02:40:19 +00:00
nbd
f889a9c250 move ccache to tools/ and fix potential dependency issue
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6413 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-27 23:46:34 +00:00
nbd
f53ddba440 fix ccache build (#1415)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6412 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-27 23:44:04 +00:00
nbd
93bcd1e554 add x86_64 config for uClibc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6368 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-25 21:11:02 +00:00