Commit Graph

743 Commits

Author SHA1 Message Date
Bernhard Reutner-Fischer
af024720ab - fix copy'n paste error 2007-09-25 21:49:37 +00:00
Bernhard Reutner-Fischer
4a217a2372 - fix typo 2007-09-25 17:21:33 +00:00
Bernhard Reutner-Fischer
1c1f04aca9 - build a cross c++ compiler if we're asked to build libstdc++ 2007-09-25 16:39:22 +00:00
Ulf Samuelsson
0a02af2895 Remove -lgcc, did no good anyway 2007-09-25 14:13:21 +00:00
Ulf Samuelsson
e7276beca0 Add soft-fp part of gcclib to uClibc to allow ARM softfloat to complete 2007-09-25 13:37:20 +00:00
Peter Korsgaard
0eb89c45bc Generalized kernel headers handling for new-style kernels 2007-09-25 13:32:08 +00:00
Bernhard Reutner-Fischer
56b426eeb3 - Schedule removal of ancient versions (configuration part). 2007-09-25 11:53:44 +00:00
Bernhard Reutner-Fischer
8ed8eacf1c - bump version 2007-09-25 11:38:20 +00:00
Bernhard Reutner-Fischer
d8fc1c0a74 - remove one invariant in toolchain type selection. 2007-09-25 08:18:36 +00:00
Bernhard Reutner-Fischer
5010039460 - revert patch that obfuscates the config UI and doesn't reflect the order of config steps 2007-09-25 07:55:45 +00:00
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
Bernhard Reutner-Fischer
134a26b0fa - adjust lzma arguments for current version 2007-07-24 16:34:28 +00:00
Bernhard Reutner-Fischer
29cc530407 - add fixups for lzma'ed initramfs 2007-07-24 13:41:05 +00:00
Bernhard Reutner-Fischer
6005d007ff - forward port lzma-vmlinux and ipmisensors to 2.6.22.1 2007-07-24 12:32:40 +00:00
Bernhard Reutner-Fischer
926309afdb - add missing dependency 2007-07-23 11:32:09 +00:00
Bernhard Reutner-Fischer
b384588ad0 - update ipmisensors
- add lzma vmlinuz
2007-07-23 10:29:34 +00:00
Ulf Samuelsson
f483f0a5e0 Add uclibc wchar default configuration 2007-07-20 10:49:46 +00:00
"Steven J. Hill"
c51e7ada45 Allow selection of RPC and IPv6 options for an external toolchain. 2007-07-17 00:18:54 +00:00
Bernhard Reutner-Fischer
60a17626c5 - fix building sstrip 2007-07-10 11:34:22 +00:00
Bernhard Reutner-Fischer
9fbb109506 - unify the GCC_WITH_ configure options and make them active 2007-07-08 16:27:25 +00:00
Bernhard Reutner-Fischer
fcd4ec5286 - factor-out common config options for staging and target compiler
- take extra options for the respective compilers into account
2007-07-08 13:13:29 +00:00
Bernhard Reutner-Fischer
58ca925353 - we have to reconfigure iff some compiler-config was changed. 2007-07-08 12:50:06 +00:00
Bernhard Reutner-Fischer
9fc22c025d - provide default for vfprintf 2007-07-08 12:05:03 +00:00
Bernhard Reutner-Fischer
5923827262 - adjust for the released 4.2.0 version 2007-07-07 23:55:19 +00:00
Bernhard Reutner-Fischer
7cd9f3da74 - forgot to adjust the path 2007-07-07 23:54:33 +00:00
Bernhard Reutner-Fischer
59e19c5890 - use correct path to libstdc++ 2007-07-07 12:58:15 +00:00
Ulf Samuelsson
4bb783dbe4 Avoid stripping scripts 2007-07-07 12:28:25 +00:00
Bernhard Reutner-Fischer
98ed96b60e - pull in missing hunks from the arm-mmap fix. 2007-07-07 10:39:13 +00:00
Bernhard Reutner-Fischer
911a8934de - improve help text 2007-07-07 09:31:09 +00:00
Ulf Samuelsson
e3695fd1af Avoid stripping a script file 2007-07-07 07:34:37 +00:00
"Steven J. Hill"
87f5a311d7 Get rid of leading whitespace to silence warnings from config system. 2007-07-06 11:42:03 +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"
3b2d671335 This was for when I was building a toolchain without BR2_TOOLCHAIN_SYSROOT set. Maybe when it is set the C++ libraries get put into $(TARGET_DIR)/lib. If that is the case, then an 'if-else' block will need to be placed to strip the right location. 2007-07-05 05:15:47 +00:00
"Steven J. Hill"
ac211bea29 Enable the option. 2007-07-05 05:13:46 +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
0629a673ae - work around bug in gcc (or rather libiberty) for parallel install 2007-06-28 14:05:29 +00:00
Bernhard Reutner-Fischer
371d012143 - pull arm mmap fix from trunk 2007-06-28 12:14:16 +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
7bc1430669 - don't bail out on cc warnings 2007-06-26 14:32:10 +00:00
Bernhard Reutner-Fischer
0abc368c5c - check for clean environment variables ARCH, CROSS_COMPILE, GREP_OPTIONS 2007-06-26 13:26:51 +00:00
Bernhard Reutner-Fischer
56652fea49 - remove erroneously copied patch 2007-06-25 10:40:32 +00:00
Bernhard Reutner-Fischer
1b36731fe3 - for -Os, turn switch statements into if-else chains 2007-06-25 09:44:12 +00:00
Bernhard Reutner-Fischer
4d46a28442 - add 2.17.50.0.17 2007-06-25 09:43:16 +00:00
Bernhard Reutner-Fischer
3796424648 - add patch for the 0.9.29 release that fixes the visibility of internal_function 2007-06-25 08:16:14 +00:00
Bernhard Reutner-Fischer
fd88629534 - adjust patches of the gcc-clean target 2007-06-25 07:52:41 +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
a6dbba6c24 - disable sysroot support for anything but the current, stable release series 2007-06-24 11:30:05 +00:00
Bernhard Reutner-Fischer
3c0e52dcc8 - "Keep the actual toolchain binaries in a directory at the same level". 2007-06-23 13:49:33 +00:00
Bernhard Reutner-Fischer
aec891b737 - fixup ccache to know about usr/bin 2007-06-22 19:01:48 +00:00
Bernhard Reutner-Fischer
1728f54e77 - gdb resides in usr/ 2007-06-22 10:42:07 +00:00