Commit Graph

183 Commits

Author SHA1 Message Date
Hans-Christian Egtvedt
8e71cdd87f uclibc: add kconfig option and make stuff for installing the uClibc test suite
This patch adds the possibility to install the uClibc test suite to the target
file system. This is useful if you need to debug or test your uClibc.

The option is defaulted to no, and is not needed for a normal running Linux
system. The test suite is installed to /root/uClibc

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-10-07 07:20:32 +00:00
Hans-Christian Egtvedt
21eb2bfd61 uclibc: install headers after building headers in configure part
This patch will run "make headers install_headers" instead of the old "make
headers install_dev". The latter requires a cross compiler available in uClibc
versions > 0.9.29, and the cross compiler is not available at the configuration
time of uClibc.

Spotted and fixed by Bernhard Fischer.

Tested-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-09-30 07:29:35 +00:00
Peter Korsgaard
02a623ddf9 buildroot: remove trailing spaces
for i in `find -name 'Config*' -o -name 'Makefile*' -o -name '*.mk'`;
do
	sed -i 's/ \+$//' $i;
done
2008-08-04 19:07:05 +00:00
Ulf Samuelsson
126bb72fa0 Add prepatched AVR32 gcc-4.2.2 toolchain from www.atmel.no, move patch locations for prepatched toolchain to be under the toolchain directory 2008-07-04 08:39:35 +00:00
Peter Korsgaard
4098f22eb4 uclibc: only strip libpthread on 0.9.28.3 / not PTHREAD_DEBUG 2008-06-18 08:51:10 +00:00
Peter Korsgaard
00f3b5c1f2 uclibc: remove obsolete uclibc 0.9.28 handling 2008-06-18 08:51:00 +00:00
Peter Korsgaard
fb487ac330 toolchain/uclibc: strip libpthread 2008-06-17 13:30:35 +00:00
Peter Korsgaard
f469324898 uclibc-0.9.29: handle powerpc subarch selection 2008-05-31 07:27:58 +00:00
Peter Korsgaard
13db6302c4 uClibc: use .patch.$ARCH naming convention 2008-04-24 09:03:12 +00:00
Nigel Kukard
85900b0957 * Added uclibc snapshot config, differes from the stable and kept asking questions for config
* Added ARM config options to makefile just like the other arch's
2008-04-17 13:25:47 +00:00
Nigel Kukard
0c00962017 PentiumPro is not Pentium4 but i686 2008-03-29 17:34:23 +00:00
Nigel Kukard
9a193dfbf0 * Fixed uClibc sub-x86 arch selection 2008-03-29 16:23:16 +00:00
"Steven J. Hill"
bebbe792df Make sure 'linkage.h' headers are installed. Add hack to bootstrap newer
versions of GCC. Filter out 'gnu99' from assembly flags. Use the 
'headers' target instead of 'pregen' to prepare for more NPTL 
integration. Fix broken MTD package configuration....someone believes in 
the Klingon release process apparently. Fix build issues with netplug 
and libpng. Fix source path for microcom as original site no longer 
exists.
2008-02-28 02:13:42 +00:00
Ivan Kuten
cb815ae003 Add support for GNU and kernel.org mirrors 2007-12-17 12:29:06 +00:00
Ivan Kuten
1dabd71252 update uClibc config for nios2 2007-11-15 15:44:15 +00:00
Ivan Kuten
06510069f8 install ldconfig stuff only if it was built, fix for systems without shared libraries support (nios2) 2007-11-15 10:16:55 +00:00
Bernhard Reutner-Fischer
28b852d9c3 - propagate mips ISA down to uClibc 2007-09-30 12:42:59 +00:00
Bernhard Reutner-Fischer
98175bd43d - revert part of 20119 (renaming BR2_ARM_.ABI to BR2_.ABI) 2007-09-29 21:22:23 +00:00
Bernhard Reutner-Fischer
3de7a21bc7 - add mips/mipsel target architecture selection
- rename BR2_ARM_[EO]ABI to the commonly used BR2_[EO]ABI
2007-09-29 19:17:39 +00:00
Ulf Samuelsson
a6faed6a6e Removed uclibc source dependency on host-sed 2007-09-28 22:16:47 +00:00
Ulf Samuelsson
41d2a92fee No reliance on dirs in uClibc 2007-09-28 21:44:35 +00:00
Ulf Samuelsson
5459a9c5e0 Cleanup cross toolchain admin, split uclibc-menuconfig into same + uclibc-update to avoid overwriting board support file 2007-09-28 19:43:26 +00:00
Ulf Samuelsson
b8f28d656b Add administration for linux,uclibc and main 2007-09-28 16:18:16 +00:00
Bernhard Reutner-Fischer
22901e8a44 - fix ARM ABI propagation 2007-09-27 21:51:21 +00:00
Ulf Samuelsson
e2e3006ea3 Additional management of uclibc 2007-09-27 00:18:52 +00:00
Bernhard Reutner-Fischer
4b0d5a80f8 - revert some bad checkins, fixup bad settings in atmel targets and move the gcc target abi back to a place where the other arch-specific settings live 2007-09-26 21:12:38 +00:00
Ulf Samuelsson
01426334b4 reinstate AVR32 toolchain 2007-09-26 05:36:11 +00:00
Bernhard Reutner-Fischer
d8fc1c0a74 - remove one invariant in toolchain type selection. 2007-09-25 08:18:36 +00:00
Bernhard Reutner-Fischer
4909da4156 - rename the gcc base_target to the more appropriate term cross_compiler 2007-09-22 21:38:15 +00:00
Ulf Samuelsson
633c8cbf5b Remove some debug info + add uclibc-target-utils-source target 2007-09-17 12:49:46 +00:00
Bernhard Reutner-Fischer
153ee9e247 - some more sparc{,64} twiddling 2007-09-15 22:04:49 +00:00
Bernhard Reutner-Fischer
777a28a85d - add sequence-point for toplevel parallel builds: uClibc needs an initial gcc 2007-09-01 18:46:46 +00:00
Bernhard Reutner-Fischer
33b0908145 - uclibc-configured has to depend on kernel-headers 2007-08-29 18:05:46 +00:00
Bernhard Reutner-Fischer
98a7a4c9d2 - misc cleanups (Cristian Ionescu-Idbohrn) 2007-08-28 21:42:44 +00:00
Bernhard Reutner-Fischer
86c31b90a2 - improve handling of sh (fgretief) for bug #1446 2007-08-26 20:55:02 +00:00
Bernhard Reutner-Fischer
6547bced93 - global whitespace trimming 2007-08-22 12:35:41 +00:00
Bernhard Reutner-Fischer
956d3eb78b - semicolon touchup. No other changes 2007-08-22 09:56:41 +00:00
Bernhard Reutner-Fischer
6c6cb06709 - sed -i -e "/;$/s/;$//g" $(egrep ";$" package/* package/*/*.mk toolchain/* toolchain/*/*.mk */Makefile.in -l) 2007-08-21 19:20:18 +00:00
Bernhard Reutner-Fischer
2e0694f7a1 - SH endian setting (fgretief in bug #1446) 2007-08-21 08:05:40 +00:00
Ulf Samuelsson
4223bea4f0 Use SED instead of ECHO when config 'program_invocation_name' 2007-08-16 05:01:43 +00:00
Ulf Samuelsson
406eeeeeb7 Allow user to configure PROGRAM_INVOCATION_NAME 2007-08-15 22:35:26 +00:00
Ulf Samuelsson
58dc3e46ef Fix continous remake's of uClibc, Save .config to .oldconfig before 'conf', cleanup ARM config to avoid stop during build 2007-08-14 07:07:13 +00:00
Ulf Samuelsson
524991c7c3 Whitespace cleanup of uclibc, remove debug aid 2007-08-12 12:37:51 +00:00
Ulf Samuelsson
a2e5113512 Use STAGING_DIR/usr/lib instead of STAGING_DIR/lib 2007-08-11 22:26:56 +00:00
Ulf Samuelsson
151c04a0a6 Sort uclibc artificial targets in execution order 2007-08-01 12:11:44 +00:00
Ulf Samuelsson
0a8aa89e76 Add PATCH_DIR's for snapshots of uclibc and gdb 2007-07-31 23:25:12 +00:00
Ulf Samuelsson
840325e170 Add support for prepatched toolchains 2007-07-31 14:59:58 +00:00
Ulf Samuelsson
966784c2ba Revert bad commit, sorry about that\! 2007-07-30 18:23:47 +00:00
Ulf Samuelsson
eda1d6d6f1 Add AVR32 support to uClibc 2007-07-29 17:47:27 +00:00
Bernhard Reutner-Fischer
7603183a87 - put dependency checking right to the start where any later stages can rely on the being ok. 2007-07-27 15:10:45 +00:00
Bernhard Reutner-Fischer
926309afdb - add missing dependency 2007-07-23 11:32:09 +00:00
"Steven J. Hill"
9a4ca08e5f Remove usage of TARGET_LDFLAGS all together. Both TARGET_CFLAGS and TARGET_LDFLAGS are passed with the compilers and linker respectively so that we can pass CFLAGS and LDFLAGS on a per-package basis which was not possible previously and a number of packages failed to build. TARGET_CFLAGS usage in package makefiles will be removed next. 2007-07-06 04:26:32 +00:00
"Steven J. Hill"
cb3903168b Do not override CFLAGS in uClibc. Instead concatenate with the ARCH_CFLAGS. Also, pass only the TARGET_CONFIGURE options that are necessary for building the utilities so that CFLAGS are not passed. 2007-07-05 05:13:20 +00:00
Bernhard Reutner-Fischer
4ec94aed2e - fix typo in sed expr 2007-06-26 16:58:11 +00:00
Bernhard Reutner-Fischer
a48d8f5414 - add BR2_INET_IPV6 and BR2_INET_RPC
TODO: use $(DISABLE_IPV6) in packages instead of a gazillion different hackish ways that are currently in there
2007-06-26 16:34:45 +00:00
Bernhard Reutner-Fischer
b3dde84b82 - yet another hunk that should have been part of r18904 2007-06-24 14:38:06 +00:00
Bernhard Reutner-Fischer
8027784c35 - add full sysroot support for non-ancient toolchains.
- start to separate usr/lib and lib to match normal system-layout
2007-06-20 11:26:36 +00:00
Bernhard Reutner-Fischer
3491c3e2d0 - allow for patching snapshots. Files are named uClibc.*.patch which is unambiguous wrt release patches.
sjhill, this "reverts" your r18601. I *need* to be able to test patches in a convenient manner. Please ping me if you are uncomfortable with this change so we can discuss it, thanks.
2007-06-13 18:13:51 +00:00
Bernhard Reutner-Fischer
1f020bb491 - store uClibc's configfile as BR2_UCLIBC_CONFIG in menuconfig 2007-05-12 18:39:28 +00:00
"Steven J. Hill"
049c3f67f5 If we are using snapshot, don't even attempt to try and patch anything. 2007-05-10 02:37:44 +00:00
Eric Andersen
b7bb0e9ce9 install hostutils (i.e. 'ldd' and 'ldconfig') into $STAGING_DIR 2007-03-22 16:23:43 +00:00
Bernhard Reutner-Fischer
7e1cdc67d3 - s/HOST_SED_TARGET/HOST_SED_BINARY/g for clarity
- make sure that we have a working sed for the uclibc-menuconfig target
2007-03-14 11:15:08 +00:00
Eric Andersen
149ea99509 update to uClibc 0.9.28.3 2007-02-28 22:01:12 +00:00
Peter Korsgaard
9c47e2be7c 0.9.28.2 support 2007-02-22 08:53:20 +00:00
Peter Korsgaard
43050ac9cc Really propagate BR2_SOFT_FLOAT setting to 0.9.28.1 2007-02-20 11:06:00 +00:00
Bernhard Reutner-Fischer
b3a683bbe8 - uclibc-menuconfig provides a .config but doesn't provide .configured 2007-02-15 11:24:35 +00:00
Bernhard Reutner-Fischer
cf647cea3d - allow to run linux26-menuconfig and uclibc-menuconfig in a pristine checkout 2007-02-15 11:12:15 +00:00
Bernhard Reutner-Fischer
08d06406ef - fix propagation of BR2_SOFT_FLOAT down to uClibc 2007-02-10 21:24:02 +00:00
Bernhard Reutner-Fischer
16e69a3df0 - honor BR2_PTHREAD_DEBUG
Stop asking any thread related questions while at it.
2007-02-09 17:53:55 +00:00
Bernhard Reutner-Fischer
7779fd7453 - add gcc-4.0.4
- add knob to enable unsupported, deprecated, obsoleted versions of packages
2007-02-09 13:31:55 +00:00
Bernhard Reutner-Fischer
cbfaf565c1 - also wipe the files installed into the target for uclibc_target-clean 2007-02-06 18:35:37 +00:00
"Steven J. Hill"
02f71aab47 Support building using an external toolchain. Questions to the mailing list and all other comments to <biteme@devnull.com>. 2007-02-06 18:19:38 +00:00
Bernhard Reutner-Fischer
3943f279f0 - fixup setting the UCLIBC_TARGET_ENDIAN 2007-02-02 13:50:23 +00:00
Bernhard Reutner-Fischer
47857d95ce - remove the '"install uClibc headers in the target filesystem" without a native compiler' option. 2007-01-31 10:10:06 +00:00
Bernhard Reutner-Fischer
8dc42b0a2e - add some defaults for arm and set them later on depending on the .config 2007-01-30 17:45:30 +00:00
Peter Korsgaard
4c82ddf0c7 Really disable HAS_FPU when softfloat is enabled 2007-01-29 16:44:43 +00:00
Bernhard Reutner-Fischer
842765c360 - add 0.9.28.1 2007-01-28 12:11:37 +00:00
Bernhard Reutner-Fischer
726abd4e51 - provide means to "install uClibc headers in the target filesystem" without a native compiler 2007-01-21 12:58:51 +00:00
Bernhard Reutner-Fischer
f6c0fd635a - copy the _CONFIG_FILES back
- use the BUSYBOX_CONFIG_FILE if specified by the user
2007-01-19 14:17:34 +00:00
Bernhard Reutner-Fischer
2d943e7a13 - pass the selected arm variant and ABI setting down to uClibc.
Now does not prompt for the former entered arch variant and ABI setting anymore, but still does for USE_BX (should this be forced to y if supported?)
- TODO: add missing variants that are supported by uClibc to buildroot
2007-01-16 09:35:11 +00:00
Bernhard Reutner-Fischer
c5640c4c97 - s/UCLIBC_HAS_LOCALE/BR2_ENABLE_LOCALE/g 2006-12-15 14:40:55 +00:00
Bernhard Reutner-Fischer
f3489da092 - Only care about the locale stuff if we have locale in the first place. 2006-12-15 13:39:26 +00:00
Bernhard Reutner-Fischer
faf7b1d44e Ulrich Hecht writes: This patch downloads uClibc-locale-030818.tgz to dl and copies it from
there instead of downloading it again for every uClibc build.
2006-12-14 15:17:39 +00:00
Eric Andersen
a49677e0b9 don't error out when asm-generic is absent 2006-12-14 02:50:58 +00:00
Eric Andersen
4f45ebcca3 install include/asm-generic if it is present 2006-12-13 13:07:47 +00:00
Eric Andersen
9295a204fa use a more sensible naming scheme 2006-12-13 12:42:45 +00:00
Eric Andersen
bee40029c1 oops, typo 2006-12-13 12:34:22 +00:00
Eric Andersen
c6201a9df3 update ordering, automagically handle x86 subtypes 2006-12-13 11:51:42 +00:00
Eric Andersen
0cc8fafe8f fix a few little glitches I left in here the other day 2006-12-13 06:59:01 +00:00
Eric Andersen
5eeac710ca update uClibc config settings and update installation of kernel headers 2006-12-12 07:10:54 +00:00
Bernhard Reutner-Fischer
89657b0216 - provide a 'make uclibc-config' target to make target specific configuration easy. 2006-12-02 18:30:42 +00:00
Bernhard Reutner-Fischer
6e2823c1fa - add and use BR2_BZCAT config option. 2006-11-17 15:43:51 +00:00
Eric Andersen
290615edc1 we use BR2_ENABLE_LOCALE not ENABLE_LOCALE 2006-10-17 16:57:02 +00:00
Eric Andersen
ea85352bfb kill the separate 'uClibc.config-locale' file, which was generally left unmaintained
and instead just update the installed uClibc config file in place to enable locale
when selected
2006-10-02 18:52:14 +00:00
Peter Korsgaard
990fee63fc Set 0.9.28 floating point mode according to BR2_SOFT_FLOAT 2006-09-25 14:28:54 +00:00
Eric Andersen
1c911f7f4f minor dependancy cleanup 2006-07-19 06:37:58 +00:00
Eric Andersen
98bc6dac2a configuring uClibc depends on first having kernel headers in place 2006-07-18 23:43:58 +00:00
Eric Andersen
8c709551ff put sed check in the correct place 2006-07-18 23:39:39 +00:00
Paul Mundt
61aa805b9e Add support for ARM EABI. 2006-06-05 22:11:01 +00:00
Paul Mundt
b1a66dd673 Update for ARCH_WANTS_{LITTLE,BIG}_ENDIAN and HAS_FPU -> UCLIBC_HAS_FPU.
Also update the uClibc config for some of the recent target and CPU
variant additions.
2006-06-05 22:07:29 +00:00