Commit Graph

790 Commits

Author SHA1 Message Date
Ivan Kuten
f81ce174a9 fix typo in elf2flt, thanks atle 2007-11-08 11:03:35 +00:00
Ulf Samuelsson
3536c2f919 Ensure AVR32 FPU config is always correct 2007-10-23 09:49:56 +00:00
Ivan Kuten
74a374edb1 'make source' command working again for gcc 2007-10-20 18:09:53 +00:00
Ivan Kuten
587c4892e5 fix libmudflap build failure for 4.1.2 gcc - pass CPP=<target_cpp>, thanks to Hamish Moffatt 2007-10-19 17:51:00 +00:00
Ivan Kuten
b2683e4d2c add soft-float support to 4.1.2 gcc, thanks to Hamish Moffatt 2007-10-19 17:41:58 +00:00
Ulf Samuelsson
b49adb8a38 Softfloat patch 2007-10-17 21:56:21 +00:00
Ulf Samuelsson
3b448df464 fix typo in kernel headers 2007-10-17 17:31:18 +00:00
Ulf Samuelsson
f53d9ece64 Update AVR32 toolchain with new binutils and uClibc, This time it works (cross-fingers) 2007-10-13 10:15:01 +00:00
Ulf Samuelsson
8e650f6ec0 Allow library copy to fail 2007-10-12 21:01:41 +00:00
Ulf Samuelsson
d89d54541e Do not copy shared C++ lib, unless one is built 2007-10-12 15:14:46 +00:00
Ulf Samuelsson
191d0518b9 Add AVR32 support for uclibc-0-9-29 2007-10-12 15:12:55 +00:00
Ulf Samuelsson
022b104152 Add 2.6.22.10 and 2.6.23 support 2007-10-12 15:10:27 +00:00
Ulf Samuelsson
d2b3ce5c1b Cannot copy shared c++ lib, if one has not been created 2007-10-12 12:30:14 +00:00
Ulf Samuelsson
cfeb86e2b3 Allow longer history for package versions 2007-10-07 18:29:17 +00:00
Ulf Samuelsson
06cd2634a2 Do not create directories, if they exist 2007-10-07 17:22:56 +00:00
Bernhard Reutner-Fischer
0c16c17f53 - start to think about GNU/hurd support.
Not yet functional. Help welcome
2007-10-05 11:06:56 +00:00
Bernhard Reutner-Fischer
5aa8b18188 - adjust default for LFS 2007-10-05 11:02:29 +00:00
Ulf Samuelsson
575d3465ab Use the right Config for AVR32 gcc build 2007-10-01 21:12:54 +00:00
Bernhard Reutner-Fischer
1672e71f17 - remove misplaced comment 2007-10-01 21:06:50 +00:00
Bernhard Reutner-Fischer
14a71561a3 - just use the strip binary to avoid confusing libtool (quotes)
- use $(STRIPCMD) in packages to avoid clashes with $(STRIP)
2007-10-01 16:15:31 +00:00
Bernhard Reutner-Fischer
4ad141c338 - pass configure args for the -target compiler 2007-10-01 12:57:36 +00:00
Bernhard Reutner-Fischer
61558a5773 - add additional EXTRA_GCC_CONFIG_OPTIONS for initial, cross and target compiler 2007-10-01 12:56:24 +00:00
Bernhard Reutner-Fischer
00b8456cd5 - whitespace cleanup (Cristian Ionescu-Idbohrn) 2007-09-30 12:46:02 +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
Ulf Samuelsson
f885e239ea Revert modification of gcc, and make it AVR32 specific 2007-09-29 20:44:30 +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
7a478629c1 Use linke to build-time-tools, disable libssp which does not work for cross-compile 2007-09-29 17:32:58 +00:00
Ulf Samuelsson
a6faed6a6e Removed uclibc source dependency on host-sed 2007-09-28 22:16:47 +00:00
Bernhard Reutner-Fischer
bb9e6a7d9e - naming convention is Config.in resp. Config.in.foo
Adjust some accordingly
2007-09-28 21:54:36 +00:00
Ulf Samuelsson
41d2a92fee No reliance on dirs in uClibc 2007-09-28 21:44:35 +00:00
Bernhard Reutner-Fischer
5f97580e50 - add FC, remove some duplicate entries, cleanup
- fixup after Ulf: CXX doesn't take CFLAGS but CXXFLAGS
2007-09-28 20:10:22 +00:00
Ulf Samuelsson
0ba7c9c383 add autoreconf script that can handle gcc (aclocal needs to handle -I switch) 2007-09-28 19:56:16 +00:00
Ulf Samuelsson
884482357c Add bells and whistles to allow gcc-4.1.2-AVR32 buildprocess to progress further, not home yet though 2007-09-28 19:53:13 +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
Bernhard Reutner-Fischer
b6ac06697a - bump version 2007-09-28 17:17:08 +00:00
Bernhard Reutner-Fischer
787a95d405 - fix texinfo version check. The next release will most likely supercede these 2007-09-28 16:26:40 +00:00
Ulf Samuelsson
b8f28d656b Add administration for linux,uclibc and main 2007-09-28 16:18:16 +00:00
Ulf Samuelsson
f9106781dd Remove softfp patch from uClibc, ARM softfloat, did not complete anyway 2007-09-27 23:54:45 +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
Bernhard Reutner-Fischer
02f1865009 - sjhill? 2007-09-26 14:16:47 +00:00
Ulf Samuelsson
88d5245ebd Ensure soft-fp patch is truly local 2007-09-26 09:09:55 +00:00
Ulf Samuelsson
b0b368f545 "Project Name" needed before "root" file system can be copied.
Put first according to principle of configuration order
Merge root skeleton configuration to one place
- currently in package/busybox/Config.in
- Should maybe have it's own Config.in
gcc ABI configuration moved from toplevel to toolchain/gcc/Config.in
2007-09-26 06:13:09 +00:00
Ulf Samuelsson
01426334b4 reinstate AVR32 toolchain 2007-09-26 05:36:11 +00:00
Bernhard Reutner-Fischer
7bc7c8eb4d - add more help text 2007-09-25 22:03:18 +00:00
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