Commit Graph

672 Commits

Author SHA1 Message Date
"Steven J. Hill"
0c1e709edb Resolves Bug #182 for buildroot. It works nice to pull in default
configuration files for targets. More information on the bug database
page at <http://bugs.uclibc.org/view.php?id=182>.
2006-06-22 02:24:08 +00:00
Mike Frysinger
d99c31c646 s/dependancies/dependencies/ 2006-05-26 01:18:09 +00:00
Eric Andersen
a71258c161 when copying, be forceful about it to gratuitously overwrite symlinks 2006-04-19 17:24:47 +00:00
Eric Andersen
5418a92350 make sure things still work even when fakeroot is not in active use 2006-04-07 22:42:15 +00:00
David Anders
d4aab02a04 removed clean and distclean from the noconfig targets per case 0000232 2006-01-25 13:36:51 +00:00
Bernhard Reutner-Fischer
7df4de6cbb - remove BR2_TAR_VERBOSITY and add helptext to BR2_TAR_OPTIONS.
default to no additional tar options.
2005-12-10 15:36:43 +00:00
Bernhard Reutner-Fischer
ce90aae17c - add option to pass to tar for unpacking the source.
Set it to exclude .svn per default (please default to "" if inappropriate)
2005-12-10 14:59:02 +00:00
Mike Frysinger
5bc1f0c323 Allan Clark writes:
Quick patch to avoid deleting my directory of RPM Sources.

I tend to use buildroot as "make DL_DIR=/.rh/SOURCES", with the rpm 
topdir set to $HOME/.rh in my .rpmmacros -- allows me to build RPMs as 
non-root, and share the source with buildroot.  Problem is, buildroot 
likes to delete my directory :(
2005-09-09 02:49:10 +00:00
Mike Frysinger
8c2fc60997 only build host-file if we need it 2005-09-08 00:03:33 +00:00
"Steven J. Hill"
6b632ad624 Build 'file' for the host as well as the target. If the host system has a version older than that being built for buildroot, the target build will fail. So, we build 'file' for the host and add actually add '$(TOOL_BUILD_DIR)/bin' to the TARGET_PATH so that it takes precedence over the host system version. 2005-08-30 03:35:37 +00:00
Eric Andersen
d1345f067e Allow packages to use fakeroot. To accomodate this, convert all
target filesystem creation tools to also use fakeroot.
2005-08-04 06:32:52 +00:00
Eric Andersen
f3ccf319b0 Make defconfig work properly 2005-04-27 08:09:58 +00:00
Eric Andersen
74ad4e12c8 Change all instances of 'ln -sf' to 'ln -snf' 2005-04-15 02:19:11 +00:00
Eric Andersen
bb15c2215e more changes towards better board support 2005-02-17 18:21:20 +00:00
Eric Andersen
79f5f1e867 Make target stuff last so it can override everything else 2005-02-17 03:00:29 +00:00
Eric Andersen
1a35a66350 Fix some silly bugs: a variable for gcc was used before it was defined, remove
'.svn' not 'CVS' from the install, add 2.4.29 kernel headers as the default.
2005-02-11 20:52:06 +00:00
Eric Andersen
d06645d8ed There is no need to have a separate 'Makefile.in' file in the
general case, therefore, combine the toplevel Makefile options
such as setting TARGETS into the per-package *.mk file
2005-02-10 03:06:39 +00:00
Eric Andersen
15b26aeee9 update copyright 2005-02-07 22:19:26 +00:00
Eric Andersen
bf38723fce Don't fail for existing dirs 2004-12-11 10:35:18 +00:00
Eric Andersen
747b16dd2b Add some more phonys 2004-12-11 10:33:19 +00:00
Eric Andersen
a22bafc958 Don't nuke STAGING_DIR and TARGET_DIR 2004-12-11 10:31:14 +00:00
Manuel Novoa III
56239e49a6 Build the uClibc utils with the uClibc-targeted toolchain.
While the host utils are also built, they are not currently installed.
2004-10-15 08:26:30 +00:00
Eric Andersen
bb05a9ad46 Make the TAR_VERBOSITY option a bit more sane 2004-10-09 21:19:47 +00:00
Eric Andersen
bad6428272 Don't use a string to do the job of a bool 2004-10-09 21:12:25 +00:00
Mike Frysinger
1f41bb7738 support tar verbosity 2004-10-09 18:58:04 +00:00
Eric Andersen
3f284171c5 Remove obsolete references to SOURCE_DIR 2004-10-09 05:28:18 +00:00
Eric Andersen
4c4768b2f7 Fix it so we once again build the target root_fs 2004-10-09 04:34:21 +00:00
Eric Andersen
44eedc5c44 facelift step number two 2004-10-09 02:49:33 +00:00
Eric Andersen
73f7be8290 Remove the old 'make' directory, and populate the new 'package'
directory.
2004-10-09 01:24:28 +00:00
Eric Andersen
0b5ad78369 It would help to include the package specific *.mk makefiles 2004-10-09 01:07:45 +00:00
Eric Andersen
2d523c2317 Major buildroot facelift, step one.
-Erik
2004-10-09 01:06:03 +00:00
Mike Frysinger
7b58b2c577 add -pipe to default CFLAGS 2004-10-08 20:09:09 +00:00
Eric Andersen
ee654b59c3 Always use kernel-headers. 2004-10-05 07:10:07 +00:00
Manuel Novoa III
16a8faf0fa Add the new binutils and gdb, but don't make them defaults since I haven't
really tested them yet.
2004-09-30 01:08:50 +00:00
Eric Andersen
f598d4fe84 Default to 2.4.27 kernel headers 2004-09-22 17:07:07 +00:00
Manuel Novoa III
bfa9ce0e4c Add back in support for 3.3.4 soft float toolchains, although arm would
require reenabling linking with -lfloat in uClibc.
2004-09-14 11:52:26 +00:00
Manuel Novoa III
ce1dd7b540 Integrate gcc 3.4.2 and add patches from both openembedded (6??-*)
and Dan Kegel's crosstools (7??-*).
Use makefile vars for toolchain names in ccache.mk and gdb.mk.
Fix a g++-related symlink issue with ccache.
Change the default to gcc 3.4.2 and binutils 2.15.91.0.2 (now that mips
is building).  Let the users go forth and test...  ;-)
2004-09-10 18:58:11 +00:00
Manuel Novoa III
7dd297b2f2 Should be supported now for gcc 3.4.1. 2004-09-03 01:12:33 +00:00
Manuel Novoa III
3ad3d8a1d8 Update to what I'm currently using. Lots of changes...
1) Allow selection of binutils/gcc/gdb/kernel headers to build, although
   some of the older tool patches probably need updating.
2) Rework gdb build so that remote debugging now works with gdbserver.
3) Misc. other package updates.3) Misc. other package updates.3) Misc. other package updates.
2004-09-03 00:49:43 +00:00
Eric Andersen
63914bb2ac Use busybox to provide login etc by default 2004-04-21 19:53:08 +00:00
Eric Andersen
0da2e559f6 Due to alphabetizing, the uml stuff was pulled in after uclibc.mk
causing problems.  Newer uml messes up sigcontext.h and is a pain
to build anyways.  So kill it for now.  It is trivial to build for
stock i386 and then boot the generated root_fs using uml.
2004-04-12 21:33:59 +00:00
Eric Andersen
adba648902 support ccache for the build as well as the target 2004-04-09 09:36:26 +00:00
Eric Andersen
02655d8661 Remove perl. It doesn't work, and seems to be a support
problem magnet.  So kill it.
2004-03-18 21:02:52 +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
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
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
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
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
6a922668ea Default buildroot to use stock uClibc 0.9.26 till further notice 2004-01-04 06:08:20 +00:00
Eric Andersen
bfda40a58f Default to building ccache for the target 2003-12-02 19:20:12 +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
43678bcac4 Oops... check in the file version this time. 2003-11-21 02:30:18 +00:00
Manuel Novoa III
2192a03c91 Fix some soft float make variables. 2003-11-21 02:28:21 +00:00
Eric Andersen
de19fac457 mention mipsel
Make soft float easier to enable/disable
2003-11-20 20:14:25 +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
Manuel Novoa III
8162065d96 Fix most things when large file support is not configured. 2003-11-17 01:29:27 +00:00
Manuel Novoa III
7bfc5d37f4 Note that the OPTIMIZE_FOR_CPU setting is broken, and save both the
users _and_ us some grief.
2003-11-16 04:54:06 +00:00
Manuel Novoa III
f08097dd63 Move uclibc-configured target forward so arch prompt happens sooner.
When locale support is desired, pass the correct option to gcc configure.
2003-11-11 06:49:26 +00:00
Eric Andersen
2394ee58a9 Fix a build problem found while building for arm soft-float 2003-11-11 01:46:50 +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
Eric Andersen
bc9faa3363 Stock buildroot is not supposed to build gcc_target 2003-10-22 06:44:40 +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
0554f62a4e fixup i386 as well 2003-09-30 20:59:17 +00:00
Eric Andersen
a0aef7c41b This should at least build. I think. 2003-09-26 21:18:46 +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
59759b8f44 Default to using the kernel-headers package. mention dropbear.
Make rootfs be rootfs_$(ARCH)
2003-09-10 13:04:12 +00:00
Manuel Novoa III
0e956fc164 Add support for enabling use of libintl.
Add support for libstd++ in full locale mode, and remove the need for
  config hacks when using uClibc stub locale support.
TODO --
  gdb intl support is still broken.
  uClibc should auto-download the pregenerated locale data
2003-09-03 07:18:18 +00:00
Eric Andersen
1369474734 Add support for building perl 2003-06-28 02:02:47 +00:00
Eric Andersen
26da803f90 mention iproute2 and netsnmp 2003-06-04 20:49:24 +00:00
Eric Andersen
d906413ad9 Update gcc to version 3.2.3. Fix the openssh patch 2003-04-26 02:59:09 +00:00
Eric Andersen
1fc3f2f3de Rework things to ensure we are cross compiling. Teach problematic
apps like openssh to cross compile.  This eliminates the need for
the magic ld-uClibc.so.0 symlink in /lib
2003-03-04 19:16:19 +00:00
Eric Andersen
36830baea2 Add in a GNU_HOST_NAME 2003-03-04 07:56:11 +00:00
Eric Andersen
5eb4604cae Change a few defaults 2003-03-04 07:14:03 +00:00
Eric Andersen
a5c2354153 Fixup 'make source' target 2003-02-19 08:56:04 +00:00
Eric Andersen
c8eea31d3f Add support for bridge-utils, thanks to Michael Shuler 2003-02-19 07:07:53 +00:00
Eric Andersen
bbe35d4817 Fix pcmcia startup. Add grep 2003-02-15 12:36:32 +00:00
Eric Andersen
befb097e10 Fix a few problems noticed by Peter S. Mazinger 2003-02-15 10:23:19 +00:00
Eric Andersen
370fb2a3ce Remove usr/bin 2003-02-12 19:49:55 +00:00
Eric Andersen
de8577632e List a few additional targets for building a dev system 2003-02-12 10:45:37 +00:00
Eric Andersen
de2ae8dcf3 Update makefile 2003-02-12 09:59:22 +00:00
Eric Andersen
d108fa86c9 Fixup the target path 2003-02-12 09:10:22 +00:00
Eric Andersen
18e33c254e Support building a gcc-2.95 toolchain instead 2003-02-04 12:37:32 +00:00
Eric Andersen
aa7f4e37ce dont assign MAKE 2003-01-21 14:22:41 +00:00
Eric Andersen
9741a49e59 several updates for wireless and firewall stuff,
thanks to Michael Shuler
2003-01-19 07:49:24 +00:00
Eric Andersen
a9bfe856cf Change from using "TARGET_CC1" to just plan "TARGET_CC"
which is a bit more sensible.
2003-01-19 06:07:22 +00:00
Eric Andersen
cc93d0f9a7 Fixup default compiler architecture 2003-01-19 00:57:37 +00:00
Eric Andersen
54e098e40b Mention how people can update things 2003-01-18 21:52:46 +00:00
Eric Andersen
ef7784a62d standardize handling of GNU configure scripts
-Erik
2003-01-17 08:03:59 +00:00
Eric Andersen
382187f014 JNote that valgrind is x86 only 2003-01-17 04:45:35 +00:00
Eric Andersen
27bc59d488 Support building jffs2 filesystems. Update top level
makefile accordingly
2003-01-17 04:31:36 +00:00
Eric Andersen
4edbe2caa6 Support using an existing kernel 2003-01-15 10:20:58 +00:00
Eric Andersen
b7d4f49c61 Support more build system junk
-Erik
2003-01-09 02:34:10 +00:00
Eric Andersen
7564033f20 Mention the new ncurses-headers zlib-headers openssl-headers targets 2003-01-08 18:22:25 +00:00
Eric Andersen
5455b5e03f Shuffle so binutils is unpacked/built first 2003-01-06 15:40:38 +00:00
Eric Andersen
03c3fa2505 Update makefile 2003-01-03 06:44:03 +00:00
Eric Andersen
b8a2361d0a Fixup the defaults 2002-12-12 01:57:57 +00:00
Eric Andersen
98b6fb27b3 Support building regular kernels 2002-12-10 23:26:31 +00:00
Eric Andersen
0b90e17e63 scrub this 2002-12-06 04:32:19 +00:00
Eric Andersen
5bd337821d reenable findutils for now 2002-11-21 00:35:14 +00:00
Eric Andersen
569dc15256 For now, don't build findutils. 2002-11-21 00:25:10 +00:00
Eric Andersen
8a2597eaba Make use of wget consistant by using a WGET variable 2002-11-20 23:16:10 +00:00
Eric Andersen
cad581084a Add some new options 2002-11-14 12:16:04 +00:00
Eric Andersen
365aac205d Add openssl and openssh. Fix up UML kernel build. 2002-10-17 08:55:05 +00:00
Eric Andersen
5a9f7f2b9c build toolchain by default 2002-08-28 22:38:39 +00:00
Eric Andersen
f952c942fb Update to uClibc 0.9.15. decouple kernel, toolchain, and uClibc.
-Erik
2002-08-28 21:28:19 +00:00
Eric Andersen
95f81a5a55 A number of updates 2002-07-03 10:44:59 +00:00
Eric Andersen
27f7064f68 Re-enable tinylogin. Makes life simpler that way... 2002-05-08 09:38:15 +00:00
Eric Andersen
23c4a0f7ac Turn off tinylogin by default 2002-05-08 09:22:50 +00:00
Eric Andersen
cbc0bd16eb Update to busybox 0.60.3 2002-04-27 21:55:51 +00:00
Eric Andersen
085ba9f451 Update tinylogin version. Update how busybox snapshot is selected.
-Erik
2002-04-26 21:20:45 +00:00
Eric Andersen
08782ae7d8 Major rework 2002-04-26 11:45:55 +00:00
Jon Nelson
057adc1c84 use slightly more portable unpack constructs 2002-01-12 03:05:56 +00:00
Jon Nelson
e1be1eadee some more cleanups. This one works pretty well 2002-01-06 18:54:35 +00:00
Jon Nelson
c79e99824e not working 100% just yet, but getting closer 2002-01-05 20:26:15 +00:00
Eric Andersen
412b1b0c45 Fix cross compile uClibc installs to the staging dir 2002-01-03 09:04:41 +00:00
Eric Andersen
8d54a97b64 Use cannonical locations 2002-01-03 08:09:38 +00:00
Eric Andersen
9ddc03dcd5 Move uml kernel to 2.4.17 2002-01-03 07:50:00 +00:00
Jon Nelson
c38dccccfd Fix buglet whereupon $(LINUX_DIR)/.configdone was copied *after*
configuration rather than before.
Try a different approach to avoid version-specific uClibc issues,
 using '-nt' (newer than) test, and files
  $(UCLIBC_DIR)/.installed{,runtime}
2002-01-03 04:51:43 +00:00
Eric Andersen
339f2f492e Use target_skeleton dir to store conf files and init scripts under
version control
 -Erik
2001-12-22 01:17:09 +00:00
Eric Andersen
ffde94bd2c Initial revision 2001-12-22 00:56:11 +00:00