Commit Graph

683 Commits

Author SHA1 Message Date
Ulf Samuelsson
34a88f1fb0 Reorganize configs to even more logical positions 2007-09-24 21:10:43 +00:00
Bernhard Reutner-Fischer
23b8823a18 - do not enable LEGACY stuff in the *sample* config 2007-09-24 12:19:41 +00:00
Bernhard Reutner-Fischer
373e0727ba - rebuild compiler if libstdcpp setting was changed 2007-09-23 21:23:10 +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
Bernhard Reutner-Fischer
ddd4cca2df - bump version (forgot this hunk for r19941) 2007-09-22 16:42:25 +00:00
Bernhard Reutner-Fischer
212c5f8f6f - default to 0.9.29 2007-09-22 16:40:08 +00:00
Bernhard Reutner-Fischer
4fd209aa94 - bump version 2007-09-22 16:37:00 +00:00
Bernhard Reutner-Fischer
adf28e194c - move project settings from toolchain to device 2007-09-22 14:34:40 +00:00
Bernhard Reutner-Fischer
51a61c9011 - Subsume and collaps toolchain options in one menu
This is ment to ease configuration by providing toolchain related options in one place
  No functional changes, just shuffling the menus around..
2007-09-22 14:16:25 +00:00
Bernhard Reutner-Fischer
dfcab18dfa - fix typo. This is an lxdialog bug for "depends on !!CONFIG_SYMBOL" where the double negation produces an error that is not reported, from the looks.. 2007-09-20 09:25:57 +00:00
Bernhard Reutner-Fischer
7b0ad787d6 - fixes and cleanups (Cristian Ionescu-Idbohrn) 2007-09-19 20:13:08 +00:00
Bernhard Reutner-Fischer
7935c98db1 - don't strip the host binaries for now 2007-09-19 18:46:45 +00:00
Bernhard Reutner-Fischer
01b79e4980 - exclude other old, deprecated and unsupported versions of gcc 2007-09-19 17:32:21 +00:00
Ulf Samuelsson
633c8cbf5b Remove some debug info + add uclibc-target-utils-source target 2007-09-17 12:49:46 +00:00
Ulf Samuelsson
4d08323013 Don't break AVR32 toolchain by hiding binutils-2.17 2007-09-17 12:42:56 +00:00
Bernhard Reutner-Fischer
e4c6340a94 - cleanup and fixes (Cristian Ionescu-Idbohrn) 2007-09-17 12:30:31 +00:00
Bernhard Reutner-Fischer
2f873fcf9b - add binutils-2.18 and binutils-2.18.50.0.1 2007-09-17 11:19:04 +00:00
Bernhard Reutner-Fischer
153ee9e247 - some more sparc{,64} twiddling 2007-09-15 22:04:49 +00:00
Bernhard Reutner-Fischer
239c8a5d58 - fix copy'n paste error in ABI configuration 2007-09-15 12:12:56 +00:00
Ulf Samuelsson
157d8decab Unbreak multiple boards, add Ingo's rt patch 2007-09-12 04:06:54 +00:00
Eric Andersen
206711de6a bump up a few version numbers. kill dead 2.6.19 option.
accomodate powerpc64
2007-09-11 19:07:12 +00:00
Bernhard Reutner-Fischer
367200b754 - correctly filter out the script 2007-09-04 07:35:19 +00:00
Ulf Samuelsson
e5409f4423 Cleanup handling of gccbug script 2007-09-03 06:26:06 +00:00
Ulf Samuelsson
82d52e8d84 Cleanup handling of gccbug script 2007-09-03 06:10:01 +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
ac9348ac6d - don't try to strip the gccbug script 2007-09-01 17:11:24 +00:00
Bernhard Reutner-Fischer
e1c9fa056c - GCC_CROSS_LANGUAGES for non-sysroot enabled gcc 2007-09-01 17:09:08 +00:00
Bernhard Reutner-Fischer
b4b3e3139a - precaution when looking at GCC_VERSION 2007-09-01 16:37:55 +00:00
Ulf Samuelsson
0e75467ae3 Revert patch causing g++-4.2.1 build to fail 2007-08-30 06:00:36 +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
Ulf Samuelsson
f444143da5 Looking at the the gcc-4.2.1 patches for uClibc, I found that the
200-uclibc-locale and 205-uclibc-locale-update patches uses a not 
existing macro
__UCLIBC_HAS_XCLOCALE__ while they should refer to __UCLIBC_HAS_XLOCALE__

Find attached the patches to fix the above mentioned patches

Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2007-08-28 18:21:00 +00:00
Bernhard Reutner-Fischer
bc970eced7 - make sure to honour user flags 2007-08-26 21:00:56 +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
d3361c6685 - If we are to build some libs then require them to exist.
- Strip host files with host strip (untested, will likely need a HOSTSTRIP)
2007-08-26 20:47:18 +00:00
Bernhard Reutner-Fischer
df23b56837 - use the correct type (__u_long is correct, __ulong_t is not typed) 2007-08-26 20:40:31 +00:00
Bernhard Reutner-Fischer
b690801c78 This patch fixes a bug into ostream::operator<<(double) due to the wrong size
passed into the __convert_from_v method. The wrong size is then passed to
std::snprintf function, that, on uClibc, doens't handle sized 0 buffer.

Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2007-08-25 11:22:51 +00:00
Ulf Samuelsson
60eb97a42f This patch allows each project to have a private linux build.
Split build of kernel headers and kernel image into two source trees.
Kernel headers are built in $(TOOL_BUILD_DIR)
Kernel build is in $(PROJECT_BUILD_DIR)

Make sure that kernel patches are applied to the kernel tree in
$(PROJECT_BUILD_DIR)
Add board specific patches, if available.
2007-08-24 05:36:46 +00:00
Ulf Samuelsson
1f1faff85a Move VENDOR stuff to project 2007-08-24 05:27:17 +00:00
Bernhard Reutner-Fischer
6547bced93 - global whitespace trimming 2007-08-22 12:35:41 +00:00
Bernhard Reutner-Fischer
3471ebe0a3 - random whitespace cleanup 2007-08-22 11:47:22 +00:00
Bernhard Reutner-Fischer
956d3eb78b - semicolon touchup. No other changes 2007-08-22 09:56:41 +00:00
Bernhard Reutner-Fischer
5cfa196076 - drop circular dependency 2007-08-22 09:22:32 +00:00
Bernhard Reutner-Fischer
aa81a06508 - improve the way host prerequisites for "dependencies" are established 2007-08-22 09:22:07 +00:00
Bernhard Reutner-Fischer
26b4c3782b - use the correct host compiler 2007-08-22 09:20:33 +00:00
Bernhard Reutner-Fischer
8909333ce0 - fix wrong help-text 2007-08-22 07:53:18 +00:00
Bernhard Reutner-Fischer
11b82356cf - make sure that sstrip is available early enough 2007-08-21 20:14:23 +00:00
Bernhard Reutner-Fischer
0674661f01 - add question for Ulf 2007-08-21 19:45:17 +00:00
Bernhard Reutner-Fischer
fb9d19603c - fixup whitespace damage after ulf 2007-08-21 19:33:00 +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
acfde78a85 - forgot to add this file to go with r19619 2007-08-21 16:48:47 +00:00
Bernhard Reutner-Fischer
e99518277a - add handling of lzma for the host (unconditionally for now)
- remove non-working attempt to install an lzma to the host via sudo
2007-08-21 15:33:33 +00:00
Bernhard Reutner-Fischer
7b403ada37 - sed -i -e "/\-[[:space:]]*mkdir[[:space:]][[:space:]]*-p/s/-[[:space:]]*mkdir/mkdir/g"
(want to know about errors if mkdir failed). Thanks to Cristian Ionescu-Idbohrn for pointing this out
2007-08-21 11:25:30 +00:00
Bernhard Reutner-Fischer
f88b8e0bf3 - a few more cleanups (Cristian Ionescu-Idbohrn) 2007-08-21 10:40:18 +00:00
Bernhard Reutner-Fischer
d9e2723182 - 4.2.1 obsoletes 4.2.0 2007-08-21 10:32:55 +00:00
Bernhard Reutner-Fischer
3539f8a9d1 - put libstdc++.so into the correct place (usr/lib) and make sure that the dir exists 2007-08-21 10:28:43 +00:00
Bernhard Reutner-Fischer
2e0694f7a1 - SH endian setting (fgretief in bug #1446) 2007-08-21 08:05:40 +00:00
Ulf Samuelsson
adbc5a18cb Add BUILDROOT_DL_DIR to dependencies.sh and fix whitespace damage (sorry) 2007-08-20 15:47:42 +00:00
Bernhard Reutner-Fischer
ac4e670d34 - whitespace fixes 2007-08-20 13:00:14 +00:00
Ulf Samuelsson
392ead671e Ensure KERNEL_HEADER_PATCH_DIR is always defined + empty dir for x86 2007-08-20 07:24:10 +00:00
Ulf Samuelsson
349108bf57 Ensure ipmi conditional patch is applied 2007-08-20 06:24:28 +00:00
Ulf Samuelsson
3978c67570 Make ipmi kernelpatch selectable, add possibility for custom kernel patch 2007-08-19 22:01:27 +00:00
Ulf Samuelsson
2a1ee531da gcc-4 cleanup 2007-08-19 21:15:02 +00:00
Ulf Samuelsson
afec678745 Move AVR32 kernel patches to target/device/Atmel/arch-avr32
Add linux-2.6.22.1-008-atmel-gpio_mouse-setup-for-atstk1000-board.patch
	Move AT91  kernel patches to target/device/Atmel/arch-arm
	Change name from "target/device/Atmel/Linux" to "target/device/Atmel/linux"
	"kernel-headers" will apply all patches in $(LINUX26_KERNEL_PATCH_DIR)
		if this is available.
	Define LINUX26_KERNEL_PATCH_DIR in target/device/Atmel/Makefile.in
		as above "arch-arm/kernel-patches-..." if an AT91 or
		as above "arch-avr32/kernel-patches-..." if an AVR32 target is selected
	Test build done for arm,avr32 and x86
2007-08-18 08:46:41 +00:00
Ulf Samuelsson
134a61d9f7 Add binutils dependencies on AVR32 2007-08-17 23:06:25 +00:00
Ulf Samuelsson
0a9af49e0b Ensure lzma is built *before* linux, allow system installation in /usr/local/bin 2007-08-16 18:17:39 +00:00
Ulf Samuelsson
18199aa7b6 Move lzma patches to toolchain/kernel-headers/lzma
They will be applied ONLY if BR2_KERNEL_HEADERS_LZMA is set.

BR2_KERNEL_HEADERS_LZMA defaults to NO, so the user
has to actively set this config flag if lzma is needed.

This means that the default behaviour of buildroot will work
for most users.

Comment from author:

[Brad House]
I find myself having to remove the lzma patches because my build system
doesn't natively have lzma.  I tried to compensate for this by
installing the latest lzma from gentoo's package tree, and apparently,
it accepts different flags than the one these patches expect, so my
kernel build still fails.  Finally, I used the lzma from this buildroot
and compiled it by hand, and it _mostly_ worked.  Regardless, it seems
silly to make this a requirement.  Personally, I gzip my initramfs,
and that's enough compression for me...
2007-08-16 06:26:25 +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
0f23053a22 Stop halting ARM build to configure uClibc 2007-08-13 20:22:17 +00:00
Ulf Samuelsson
f5aed4f5d4 Workaround bug in TinyX makedepend by removing some whitespace 2007-08-13 20:18:25 +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
9601c01558 F77 is not supported on AVR32 2007-08-01 19:15:14 +00:00
Ulf Samuelsson
9fc2753d01 Avoid stopping asking questions, when gettext is selected 2007-08-01 19:13:18 +00:00
Ulf Samuelsson
151c04a0a6 Sort uclibc artificial targets in execution order 2007-08-01 12:11:44 +00:00
Ulf Samuelsson
7f21ead887 Simplify AVR32 gcc build (libmudflap, doesn't work, so applied even though objections) 2007-08-01 08:58:14 +00:00
Ulf Samuelsson
e5d1d89bfb Add linux-2.6.22.1 AVR32 patch 2007-08-01 08:38:36 +00:00
Ulf Samuelsson
80e947415c linux-2.6.22.1 headers, makefile part 2007-08-01 08:15:44 +00:00
Ulf Samuelsson
f60c51c436 Allow use of 2.6.22.1 kernel headers 2007-08-01 06:17:34 +00:00
Ulf Samuelsson
f7e034d1b2 Revert Atmel patches for now 2007-07-31 23:28:22 +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
dd65a3cc0f Change def of BR2_USE_WCHAR to build uClibc w WCHAR support 2007-07-31 22:38:52 +00:00
Ulf Samuelsson
6d10c5993b Remove duplicate patch 2007-07-31 16:02:18 +00:00
Ulf Samuelsson
b97f0f63fa Add AVR32 kernel patches for linux-2.6.21.5 2007-07-31 15:49:25 +00:00
Ulf Samuelsson
f2595b4c16 Add AVR32 kernel patches for linux 2.6.22.1 2007-07-31 15:47:32 +00:00
Bernhard Reutner-Fischer
ba88feb05f - add possibility to select which cross-compilers to build
- add prerequisites from the config
2007-07-31 15:07:06 +00:00
Ulf Samuelsson
840325e170 Add support for prepatched toolchains 2007-07-31 14:59:58 +00:00
Ulf Samuelsson
87111a1935 Revert bad patch 2007-07-30 18:24:53 +00:00
Ulf Samuelsson
966784c2ba Revert bad commit, sorry about that\! 2007-07-30 18:23:47 +00:00
Ulf Samuelsson
f4933fcbb3 Add AVR32 options to gcc 2007-07-29 17:51:32 +00:00
Ulf Samuelsson
eda1d6d6f1 Add AVR32 support to uClibc 2007-07-29 17:47:27 +00:00
Ulf Samuelsson
063bc94f8b gcc target config for AVR32 2007-07-29 17:43:50 +00:00
Ulf Samuelsson
0d3a3f8b57 uClibc config for AVR32 2007-07-29 17:40:42 +00:00
Ulf Samuelsson
77ae73b45e gcc config for AVR32 2007-07-29 17:36:45 +00:00
Ulf Samuelsson
6933f971de gdb config for AVR32 2007-07-29 17:34:20 +00:00
Ulf Samuelsson
39631ff7b7 Add AVR32 needs to uClibc def config 2007-07-29 17:32:21 +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
f9636d5684 - add gcc-4.2.1 2007-07-24 18:14:53 +00:00