Commit Graph

548 Commits

Author SHA1 Message Date
Manuel Novoa III
de40cc62a0 Add dnsmasq1 (currently 1.18). Eventually I'll also add dnsmasq2.
The patch makes it respect current uClibc ipv6 configuration.
2004-03-05 19:03:17 +00:00
Manuel Novoa III
6cf315cd23 Clean up makefile. Don't install (legacy?) brctld app since debian doesn't.
Fix paths.  Add a patch to respect CFLAGS.  Fix buildroot kernel location.
2004-03-05 18:59:41 +00:00
Manuel Novoa III
93703bf40f Revert back to binutils .6 since .8 broke things on arm.
Also, explicitly set the CFLAGS for the build system since otherwise
the TARGET_OPTIMIZATION flags were used.  This was tripping up a mipsel
build where it tried to use -mips2 when building for i386.
2004-03-01 06:28:02 +00:00
Eric Andersen
7db7bdf689 Patch from Lauri Leukkunen adding knobs controlling whether
host binaries are stripped or not
2004-02-27 19:26:55 +00:00
Eric Andersen
486640aadb Patch from Lauri Leukkunen:
Control the HOSTCC for the uclibc configuration procedure
2004-02-27 19:24:22 +00:00
Manuel Novoa III
27a666fa3a I don't remember if 2.95 creates .la files are not... but we'll remove
any just to be safe.
2004-02-27 07:49:44 +00:00
Manuel Novoa III
8b56ff58ba We need to remove the *.la files or libtool gets confused in the rootfs. 2004-02-27 07:47:54 +00:00
Eric Andersen
5a5e720c21 bother 2004-02-27 06:00:45 +00:00
Eric Andersen
ab45e76df2 sigh 2004-02-27 05:34:31 +00:00
Eric Andersen
2491944b16 Doh! 2004-02-27 00:39:54 +00:00
Eric Andersen
ae43b56d6a Better deal with arches like mips that have odd kernel dir naming 2004-02-27 00:26:57 +00:00
Eric Andersen
c9d7729914 I've put together an updated set of kernel headers, so use that. 2004-02-18 19:06:54 +00:00
Manuel Novoa III
04eadcdcc2 Update binutils from 2.14.90.0.6 to 2.14.90.0.8.
Update from gcc 3.3.2 to 3.3.3.
Test builds done for i386 and mipsel (3.3.3) and i386 (2.95).
Soft float support not yet tested with 3.3.3.
2004-02-18 08:28:28 +00:00
Manuel Novoa III
08b2ca64df Upgrade since 2.5.4 has a configuration bug which builds with largefiles
but doesn't set the correct feature macro.  This resulted in fseeko not
being prototyped and patch failing on some platforms.
2004-02-16 01:18:43 +00:00
Manuel Novoa III
5f7a6e37e7 Should have added this a long time ago. 2004-02-11 06:44:47 +00:00
Manuel Novoa III
18cefb81d1 Use --enable-sjlj-exceptions when configuring gcc so that exception handling
works for dynamicly linked executables.  Only tested so far on i386 with
  gcc 3.3.2.  But combined with the latest ldso updates, I can now get a
  dynamicly linked java helloworld app to run.
Add a config toggle for building gcj and libgcj.  The build runs fine
  through gcc-final but currently requires hand interventions to build
  gcc-target.  Again, only tested so far on i386.
2004-02-11 03:32:34 +00:00
Eric Andersen
0209686130 Update to the February ltp-full-20040206 testsuite 2004-02-06 22:52:14 +00:00
Eric Andersen
05c5b52eef Add a check to ensure the proper utilities are installed before
trying to build binutils, lest folks get cryptic error msgs later.
 -Erik
2004-02-06 10:16:11 +00:00
Eric Andersen
bc4c9e3099 Bump bb to -pre7 2004-02-06 01:19:47 +00:00
Eric Andersen
5684054ebb Update buildroot per the new snapshot situation with busybox.
The old busybox 0.60.x series is no longer used/supported.
 -Erik
2004-01-31 08:33:26 +00:00
Eric Andersen
23e3dd4079 Be consistant and use DISABLE_NLS for binutils 2004-01-30 22:15:17 +00:00
Eric Andersen
ef407d3df8 Remove USE_LINUX_UCLIBC option, since that is now the only
supported way of building toolchains
2004-01-29 23:21:00 +00:00
Eric Andersen
65eb36c4e9 Kill off the old gcc/binutils stuff 2004-01-29 23:13:49 +00:00
Eric Andersen
563a74609b Fixup grep build 2004-01-28 23:11:00 +00:00
Eric Andersen
78fe4bffde As noted by Joakim Tjernlund, we should force ln to overwrite
existing symlinks.
2004-01-20 17:51:43 +00:00
Manuel Novoa III
93e576b799 Get soft float working for gcc 3.3.2. Support for arm, mips, mipsel, powerpc. 2004-01-16 19:08:39 +00:00
Manuel Novoa III
2d472b2334 Remove unnecessary dependency. 2004-01-15 15:59:43 +00:00
Manuel Novoa III
3800e33016 Minor cleanup. 2004-01-15 11:01:37 +00:00
Manuel Novoa III
0f92b01988 Oops... forgot --with-headers when building the cross compilers. So the
version of limits.h under gcc-lib was incorrect.
2004-01-14 19:05:27 +00:00
Manuel Novoa III
7138a96044 Build gdb with <arch>-linux-uclibc explicitly (when necessary) in case it
needs to be aware.  To do this, we grab a (patched) copy of config.sub
from gcc.
Also specify some configure vars which aren't tested when cross compiling.
2004-01-14 12:12:17 +00:00
Manuel Novoa III
9168e83809 Enable building <arch>-linux-uclibc toolchains. Note that, due to config
issues for applications, we also create staging_dir/bin/<arch>-linux-*
symlinks which allows us to configure most apps with target=<arch>-linux.

gcc 3.3.2 libstdc++ now correctly identifies uclibc locale support.
There are still some issues (mainly related to wide char time strings
and wcsftime) to be addressed, but those are on hold until the uClibc
locale internals are reworked once again.

With the new stuff, we can also build gcc 2.95 and STLport again, although
the native gcc build for the target is failing.

Archs supported (some archs not yet tested):
 2.95 - i386, arm, mips*, powerpc.
 3.3.2 - Hopefull all for which uClibc has shared lib support.
2004-01-14 10:03:44 +00:00
Eric Andersen
073534b925 Update ltp to the latest version. Current results:
$ grep FAIL logfile
fcntl18     2  FAIL  :  Test F_GETLK64: for errno EFAULT FAILED
fcntl18     0  INFO  :  Block 2 FAILED
fcntl18     2  FAIL  :  Test F_GETLK64: for errno EFAULT FAILED
fcntl18     0  INFO  :  Block 2 FAILED
flock03     2  FAIL  :  Child: Unable to relock file after unlocking, errno 37
flock03     2  FAIL  :  flock03 Failed
nanosleep02    1  FAIL  :  Remaining sleep time 4010000 usec doesn't match with the expected 3992631 usec time
nanosleep02    1  FAIL  :  child process exited abnormally
INFO: pan reported some tests FAIL

$ grep BROK logfile
setgroups04    1  BROK  :  Unexpected signal 11 received.
swapoff02    1  BROK  :  Failed to turn on the swap file. skipping  the test iteration
swapoff02    2  BROK  :  Remaining cases broken
swapoff02    3  BROK  :  Remaining cases broken
2004-01-11 08:01:02 +00:00
Eric Andersen
63bcb19b20 we do not 'ant' to use anything 2004-01-08 09:43:30 +00:00
Eric Andersen
efa01a402f Document the unwind-dw2-fde stuff a bit better, remove pointless
and inadvertant munging of libgcc_s's soname.
2004-01-08 09:41:43 +00:00
Eric Andersen
6a922668ea Default buildroot to use stock uClibc 0.9.26 till further notice 2004-01-04 06:08:20 +00:00
Eric Andersen
df169b191c Slightly newer ltp test 2003-12-29 23:19:46 +00:00
Eric Andersen
6366b3737c remove trailing whitespace 2003-12-28 22:07:59 +00:00
Eric Andersen
bae87f8eec Fixup the build of the hostap utils, use the kernel hostap
stuff for the driver modules.
2003-12-28 22:07:35 +00:00
Eric Andersen
de44010390 Add support for openvpn 2003-12-28 22:06:25 +00:00
Eric Andersen
43a47bf7db some non-tabs snuck in 2003-12-20 00:22:39 +00:00
Eric Andersen
8410fed7a7 bump kernel to 2.4.23, and update the default patch set to match 2003-12-20 00:05:53 +00:00
Eric Andersen
f02886e2f0 Fixup the regex used for iptables so it actually works 2003-12-20 00:02:13 +00:00
Eric Andersen
60f17faa10 Bump pcmcia version 2003-12-20 00:01:42 +00:00
Eric Andersen
fc686e3dfe Fixup the "older than" (test -ot) tests for older bash
versions when one of the files is missing
2003-12-20 00:01:23 +00:00
Eric Andersen
0af92f5e6f Paul Fox writes:
hi erik --

bash versions 2.04.11 and 2.04.21 (at least -- they're the only
non-2.05 versions i have) seem to get the "older than" (test -ot)
answer wrong if one of the files is missing.

this patch explicitly bypasses the test if the "older" file is missing.

paul
2003-12-19 23:59:04 +00:00
Eric Andersen
21a6d6102a update dropbear 2003-12-19 07:58:02 +00:00
Eric Andersen
f71ea4dbd9 Contributed by Jeff Simpson. This doesn't actually work yet,
and will need considerably more effort to make python properly
cross compile.  More of a placeholder for now....
2003-12-03 22:58:26 +00:00
Eric Andersen
3a77de39df Add in mpg123 support, contributed by Jeff Simpson, with fixes
by me....
2003-12-03 22:56:58 +00:00
Eric Andersen
d066b80a09 Fixup util-linux so it actually compiles 2003-12-03 22:49:02 +00:00
Eric Andersen
435a4f723a Prevent install from following symlinks and overwriting bin/busybox 2003-12-03 17:18:41 +00:00
Manuel Novoa III
77050ddd2b If building without large file support, hack the Makefiles appropriately. 2003-12-03 01:16:29 +00:00
Manuel Novoa III
c0642e9a07 Add some extra slack space. mips rootfs generation was failing because
to small a size was used (probably a result of my using reiserfs).
2003-12-02 21:46:46 +00:00
Manuel Novoa III
d279110f14 Remove the broken handling of libgcc_s. 2003-12-02 18:55:21 +00:00
Manuel Novoa III
c09a799cf6 Remove the USE_UCLIBC_TOOLCHAIN config option, since that's all we support.
Add some comments in Makefile about support for various archs.
Disable buildroot large file for cris, since uClibc currently disables it.
2003-11-30 20:21:47 +00:00
Manuel Novoa III
5c0bbc6177 Apparently, we don't need to specify KERNEL_SRC. 2003-11-29 23:56:43 +00:00
Manuel Novoa III
061e83c0d3 Erik moved the kernel headers and forgot to update this. 2003-11-29 19:27:20 +00:00
Manuel Novoa III
b6e2231fa3 Various fixes. Should now build when cross compiling and install correctly. 2003-11-29 19:19:10 +00:00
Manuel Novoa III
bbf2a9074b Remove libgcc_eh hack. Things now build as they are supposed to. 2003-11-25 14:45:40 +00:00
Manuel Novoa III
ce6884732d Use ARCH... not TARGET_ARCH in the mipsel test. 2003-11-24 23:23:16 +00:00
Manuel Novoa III
196f87ce84 Fix the condition for applying the i386 soft float patch. 2003-11-24 20:50:12 +00:00
Manuel Novoa III
4a66db29af Handle the case of no shared libgcc -- sh4 for instance. 2003-11-22 07:01:52 +00:00
Manuel Novoa III
2c4877ced6 Bug fix by Goetz Bock <bock+uclibc@blacknet.de> 2003-11-21 03:50:39 +00:00
Manuel Novoa III
ec2faf7df9 Make sure the necessary directories exist. 2003-11-21 01:17:09 +00:00
Manuel Novoa III
728164e5f7 Ouch! Cut-n-paste strikes again! 2003-11-20 21:17:54 +00:00
Manuel Novoa III
bc0ed0d97a Fix missing line continuation. 2003-11-20 18:52:56 +00:00
Eric Andersen
7e3b1dd126 Add some quoting to handle unusual host compiler naming 2003-11-20 13:49:14 +00:00
Manuel Novoa III
545d9674b0 Contributed by Greg Haerr <greg@censoft.com>. 2003-11-20 00:56:41 +00:00
Manuel Novoa III
963c24ed82 Erik moved the kernel headers to a different directory, but didn't create
the directory first.
2003-11-19 19:29:00 +00:00
Eric Andersen
d8eea2531a move kernel headers to live with the toolchain 2003-11-19 17:21:23 +00:00
Eric Andersen
5dca1b41e0 revert this stuff... 2003-11-19 17:20:03 +00:00
Eric Andersen
4f889ada56 automatically detect if we have a usable version of sed
installed.  If not, we will now build our own version.
2003-11-19 17:17:56 +00:00
Eric Andersen
84c9011766 Fix some more perl -> sed conversion problems 2003-11-18 17:56:52 +00:00
Eric Andersen
6b4ce4ee0d minor perl to sed conversion issue 2003-11-18 17:24:41 +00:00
Eric Andersen
79c815622a Change 'sed -ie' to 'sed -i -e' to avoid littering the build
with lots of unwanted backup files with the letter "e" appended.
 -Erik
2003-11-18 07:18:26 +00:00
Manuel Novoa III
5dc91b6520 Ouch... Revert this. It was a stray from helping someone look 2.2 issues. 2003-11-17 01:33:04 +00:00
Manuel Novoa III
50e1da8698 Fix most things when large file support is not configured.
Mostly submitted by Thomas Lundquist <lists@zelow.no>.
2003-11-17 01:31:38 +00:00
Eric Andersen
5343886e9e Fix a perl to sed conversion error 2003-11-14 09:44:08 +00:00
Eric Andersen
1fb4219528 Cope with changes I made to the uClibc install_dev target 2003-11-13 12:05:12 +00:00
Eric Andersen
f975451ca2 Fix a minor perl -> sed conversion casulty 2003-11-13 06:16:59 +00:00
Eric Andersen
620dd7c5fd By popular demand, use 'sed' rather than 'perl' for doing
search and replace stuff.  Hopefully we do not have any
perl specific regexs that will be broken by this change,
but it seems to be working thus far anyways,
2003-11-13 06:02:20 +00:00
Eric Andersen
192bace39e oops 2003-11-13 00:14:59 +00:00
Eric Andersen
1492bff085 Support building 'less' 2003-11-12 22:43:51 +00:00
Eric Andersen
0fee9e90c2 Thomas Cameron writes:
this patch fixes the source file downloads when executing a "make source", and
a few cut-and-paste (tm) errors in the *.mk files.  Again, this is a patch
against the current CVS sources, and includes my previous patch.
2003-11-12 09:31:12 +00:00
Eric Andersen
e150f3921b Kill off --with-lib-path, since --with-sysroot is sufficient,
and at least for arm soft-float adding --with-lib-path is actually
breaking things.
2003-11-12 09:25:27 +00:00
Manuel Novoa III
f76193d6cb Fix locale-enabled gdb build. 2003-11-12 06:07:21 +00:00
Manuel Novoa III
28f3840eb8 Slight cleanup, now that the locale option is handled in the main Makefile. 2003-11-11 06:54:15 +00:00
Eric Andersen
2394ee58a9 Fix a build problem found while building for arm soft-float 2003-11-11 01:46:50 +00:00
Eric Andersen
2068d63d6b Bump up version number 2003-11-10 13:14:11 +00:00
Eric Andersen
b451d1dc68 Update the ltp testsuite 2003-11-07 23:52:10 +00:00
Eric Andersen
383964a677 Revert to binutils-2.14.90.0.6, since binutils-2.14.90.0.7
seems to have problems with building as canadian cross...
 -Erik
2003-11-07 12:35:50 +00:00
Eric Andersen
7764261c52 Patch from Peter S. Mazinger to keep the LINUX_DIR path
in just one place
2003-11-07 10:45:18 +00:00
Eric Andersen
ad982c6a47 patch from Peter S. Mazinger to remove a redundant entry 2003-11-07 10:43:53 +00:00
Eric Andersen
b79a9c069a Ok, things appear to be working now... 2003-11-07 05:45:07 +00:00
Eric Andersen
78207e6cb6 $(STAGING_DIR)/include is not a binutils problem 2003-11-07 05:38:43 +00:00
Eric Andersen
977c7bd5ae make sure we have a directory before trying to install symlinks 2003-11-07 05:23:30 +00:00
Eric Andersen
225802fc60 With a bit of luck, buildroot should work now 2003-11-07 04:50:28 +00:00
Eric Andersen
24314c704f Update binutils version. Reportly fixes big endian arm... 2003-11-06 09:31:13 +00:00
Eric Andersen
d399514752 A bit more wiggling to prevent asking about the target
architecture when possible, since we already know the
correct answer.
2003-11-05 01:34:17 +00:00
Eric Andersen
55b7ab982f Yet more adaption for arches such as mipsel. Do not provide
defaults for endianness.  Either it will be automaticly correct
(such as for i386), or we need to prompt.
2003-11-05 01:27:22 +00:00
Eric Andersen
2a1f90c518 Translate arch to use uClibc friendly naming (i.e. mipsel -> mips) 2003-11-05 01:10:48 +00:00
Eric Andersen
5f7b7e144b Peter S. Mazinger writes:
Hello!

perl (WCHAR) changes .conf instead of .config

Peter
2003-11-04 20:44:02 +00:00
Eric Andersen
a49329139d Set TARGET_ARCH also 2003-11-04 14:00:41 +00:00
Eric Andersen
5833504dad minor changes to accomodate the config system updates 2003-11-04 13:56:00 +00:00
Eric Andersen
31869eaac8 The version of grep we use is has not yet been restored to
the gnu download site.  Use the source from the debian site
instead.
2003-11-03 10:02:53 +00:00
Eric Andersen
19b58108f8 The version of libtool we use is has not yet been restored to
the gnu download site.  Use the source from the debian site
instead.
2003-11-03 10:00:08 +00:00
Manuel Novoa III
0079e8b3d2 Make sure the root/etc/init.d directory is there. 2003-11-02 02:09:13 +00:00
Manuel Novoa III
e93cda4d39 Make sure the root/usr/lib directory is there. 2003-11-02 02:05:46 +00:00
Eric Andersen
06d2c51856 do not build valgrind for non-i386 2003-11-01 05:59:43 +00:00
Eric Andersen
b1f39829cd strace 4.5 builds properly for mipsel, and does not use sys_errlist,
so we no longer need to patch anything.
 -Erik
2003-11-01 05:57:07 +00:00
Manuel Novoa III
d632d42b34 Enable building soft float buildroot for gcc 3.3. Currently works for
i386 (limited to 64 bit long double... same as double), arm (libfloat),
  mips, and mipsel.
Enable cross compiling a native gcc 3.3 toolchain to run on the target.
Misc rootfs cleanups... strip some things that weren't, eliminate duplicate
  libs, move openssl shared libs out of /lib, reduce size of libssl.so
  by dynamicly linking with libcrypto.so, fix dropbear compile on mips.
2003-11-01 05:34:41 +00:00
Manuel Novoa III
933dfd1a69 Update to latest version. 2003-10-22 19:24:50 +00:00
Eric Andersen
74c1635746 this should fixup some of those pesky build problems... 2003-10-22 06:32:20 +00:00
Eric Andersen
3c913b59bf Upgrade valgrind 2003-10-19 07:36:18 +00:00
Eric Andersen
83b95bdb42 Cope with the new RUNTIME_PREFIX 2003-10-18 11:51:50 +00:00
Eric Andersen
02bf5816b5 Add support for 'make -j3' so make to run stuff in parallel 2003-10-18 11:09:54 +00:00
Eric Andersen
08e8565328 do not use a perl, just use a patch 2003-10-18 06:47:18 +00:00
Eric Andersen
58b9b541b9 Update to gcc 3.3.2 2003-10-18 03:16:18 +00:00
Eric Andersen
70c7a84283 support using ccache within the target system 2003-10-16 01:05:02 +00:00
Eric Andersen
058f423237 simplify things a little bit 2003-10-15 07:04:19 +00:00
Eric Andersen
a9ea376897 bump version 2003-10-15 07:01:52 +00:00
Eric Andersen
ba9a1bc12c Do not overwrite ldconfig with /bin/true anymore 2003-10-14 05:53:15 +00:00
Eric Andersen
01917d0e05 Update to dropbear 0.38 2003-10-11 17:52:16 +00:00
Eric Andersen
de51377181 Use a local copy of the source when building gcc-target (since
we hacked up the source used to build the cross compiler).

Fix the crt1.o not found problems.  It turns out gcc was thinking
it was acting as a cross compiler, which is clearly not what we
want here.

With this, everything seems to be working nicely for both C
and C++.
2003-10-08 02:46:12 +00:00
Eric Andersen
1ffc9aa94a Minor cleanup, remove some unnecessary stuff 2003-10-08 02:43:49 +00:00
Eric Andersen
976f46b798 Update included kernel version 2003-10-07 10:52:23 +00:00
Eric Andersen
736c85a8b9 update dropbear release location 2003-10-06 17:14:42 +00:00
Eric Andersen
c1846604ed Add the linux test project test suite. The 'make install' step is currently
broken, since I've not worked out how I want to handle that step (it wants to
run as root).
2003-10-06 08:06:02 +00:00
Eric Andersen
1d669278d8 Update file 2003-10-03 01:27:09 +00:00
Eric Andersen
f056ca7b18 Update to non-vulnerable version 2003-10-01 07:30:19 +00:00
Eric Andersen
a008b17002 Fix the build when host arch == target arch 2003-09-30 20:32:37 +00:00
Eric Andersen
c2ea490757 With this, buildroot builds w/o needing the magic symlink,
and properly cross compiles.  Wohoo, time to ship...
 -Erik
2003-09-30 05:23:18 +00:00
Eric Andersen
626312a278 Fixup gcc_target build. 2003-09-27 01:13:47 +00:00
Eric Andersen
91a2680a50 Fixup the binutils_target build 2003-09-27 01:11:27 +00:00
Eric Andersen
a0aef7c41b This should at least build. I think. 2003-09-26 21:18:46 +00:00
Eric Andersen
15418c9c2c Update dropbear to the latest and greatest 2003-09-26 21:04:12 +00:00
Eric Andersen
9c5021ebc9 The openssl build was broken 2003-09-26 21:02:57 +00:00
Eric Andersen
c72f740e64 Needs this to compile 2003-09-14 11:44:28 +00:00
Eric Andersen
f1a6e06ae7 Fix thinko 2003-09-14 11:43:09 +00:00
Eric Andersen
6663336f38 Use more consistant naming 2003-09-14 11:42:02 +00:00
Eric Andersen
cb7d5b81c9 Rework toolchain build to make it much more modular and
remove the redundant redundancy.
2003-09-14 11:38:35 +00:00
Eric Andersen
dde95efe4a Teach dropbear to depend on zlib 2003-09-12 00:25:27 +00:00
Eric Andersen
4b51328693 Alex King writes:
Dropbear have bumpeed their version to 0.36, and 0.35 is not where
buildroot expects it (they seem to have removed that version.)
2003-09-12 00:24:32 +00:00
Eric Andersen
79a631349f Lets give binutils-2.14.90.0.6 a try, shall we? 2003-09-11 12:39:47 +00:00
Eric Andersen
9dcfa9a6f5 Fix silly typos 2003-09-11 12:24:06 +00:00
Eric Andersen
afcbe6fc3d Make installing libstdc++ optional 2003-09-11 10:40:12 +00:00
Eric Andersen
4b97e3fdb1 Add support for fakeroot 2003-09-11 09:41:16 +00:00
Eric Andersen
a2368356e7 Fixup gcc_target build so it does not require the magic
/lib/ld-uClibc.so.0 symlink allowing target stuff to run
on the build host.
 -Erik
2003-09-10 11:20:23 +00:00
Eric Andersen
804307fb8d Default to using uClibc 0.9.21 2003-09-10 09:09:22 +00:00
Eric Andersen
def1702549 Make gcc 2.95 build 2003-09-09 21:53:38 +00:00
Eric Andersen
9115ee5c19 Fixup broken tabs 2003-09-05 09:12:56 +00:00