summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* kernel-headers: bump 2.6.32.x / 2.6.33.x stable versionsPeter Korsgaard2010-04-263-2/+2
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* tslib: fix use of open()Luca Ceresoli2010-04-232-1/+54
| | | | | | | | | | Fixes error: "open with O_CREAT in second argument needs 3 arguments". Original patch: svn://svn.berlios.de/tslib/trunk/tslib r72. [Peter: pull original patch for proper attribution] Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* X11R7.5 - remove all version information from Config.in filesWill Wagner2010-04-22241-241/+0
| | | | | | | | | | As discussed on the list, don't want to have to change the Config.in file when we bump the version of a package Signed-off-by: Will Wagner <will_wagner@carallon.com> Acked-by: Paulius Zaleckas <paulius.zaleckas@gmail.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libXaw: do not build docs (fails if missing host tools), also cleanup makefileWill Wagner2010-04-222-3/+2
| | | | | | | Signed-off-by: Will Wagner <will_wagner@carallon.com> Acked-by: Paulius Zaleckas <paulius.zaleckas@gmail.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Remove XEvIE (app & proto) as removed from X11R7.5Will Wagner2010-04-227-47/+3
| | | | | | | | [Peter: remove select from xserver Config.in] Signed-off-by: Will Wagner <will_wagner@carallon.com> Acked-by: Paulius Zaleckas <paulius.zaleckas@gmail.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Remove XFree86-Misc (lib & proto) as removed from X11R7.5Will Wagner2010-04-2215-55/+6
| | | | | | | | [Peter: also remove selects from affected Config.in's] Signed-off-by: Will Wagner <will_wagner@carallon.com> Acked-by: Paulius Zaleckas <paulius.zaleckas@gmail.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Remove XTrap (app, lib & proto) as removed from X11R7.5Will Wagner2010-04-228-68/+2
| | | | | | | Signed-off-by: Will Wagner <will_wagner@carallon.com> Acked-by: Paulius Zaleckas <paulius.zaleckas@gmail.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* xserver_xorg-server: bump version, improve option supportWill Wagner2010-04-223-36/+42
| | | | | | | | | | Later version of xserver no longer need configure hack to say where mesa3d is located. Signed-off-by: Will Wagner <will_wagner@carallon.com> Acked-by: Paulius Zaleckas <paulius.zaleckas@gmail.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* usbutils need libusb-compatPaulius Zaleckas2010-04-212-2/+2
| | | | | Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Merge branch 'codesourcery-toolchain-support' of ↵Peter Korsgaard2010-04-214-34/+106
|\ | | | | | | git://git.busybox.net/~tpetazzoni/git/buildroot
| * busybox: make sure architecture flags are used at link timeThomas Petazzoni2010-04-172-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When compiling Busybox, according to readelf -A, all object files were properly compiled according to the select architecture (-march=armv4t for example), but the final busybox binary could be of a different architecture (ARMv5t even if ARMv4t was selected). This patch changes the way we configure/compile Busybox so that our CFLAGS aren't anymore passed through the make EXTRA_CFLAGS variable, but through the .config CONFIG_EXTRA_CFLAGS variable. Unfortunately, those variables don't have exactly the same semantic for the Busybox build system. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| * external-toolchain: Support for multilib toolchainsThomas Petazzoni2010-04-171-11/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Multilib toolchains provide different versions of the base libraries for different architecture variants. For example, the ARM Codesourcery toolchain provides base libraries for ARMv5 (default), ARMv4t and Thumb2. Depending on the -march= argument passed to gcc, the sysroot used by the compiler is therefore different. This means that the sysroot location in CROSS-gcc -v cannot be used. Instead, we must use CROSS-gcc -print-sysroot when available and fall back to the old way if unavailable. Moreover, we cannot simply copy the full sysroot as we used to do, because the sysroot organization of multilib toolchain is more complicated. In Codesourcery toolchains, we have : / etc -- for ARMv5 lib -- for ARMv5 sbin -- for ARMv5 usr -- for ARMv5 (includes headers) armv4t etc -- for ARMv4t lib -- for ARMv4t sbin -- for ARMv4t usr -- for ARMv4t (no headers!) thumb2 etc -- for Thumb2 lib -- for Thumb2 sbin -- for Thumb2 usr -- for Thumb2 (no headers!) So we have the default ARMv5 architecture variant that is installed in the main directory, and we have subdirectories for the ARMv4t and Thumb2 architecture variants. Copying the full sysroot to the staging directory doesn't work. All our packages are based on the fact that they should install libraries in staging/usr/lib. But if ARMv4t is used, the compiler would only look in staging/armv4t/usr/lib for libraries (even when overriding the sysroot with the --sysroot option, the multilib compiler suffixes the sysroot directory with the architecture variant if it matches a recognized one). Therefore, we have to copy only the sysroot that we are interested in. This is rendered a little bit complicated by the fact that the armv4t and thumb2 sysroot do not contain the headers since they are shared with the armv5 sysroot. So, this patch : * Modifies how we compute SYSROOT_DIR in order to use -print-sysroot if it exists. SYSROOT_DIR contains the location of the main sysroot directory, i.e the sysroot for the default architecture variant. * Defines ARCH_SUBDIR as the subdirectory in the main sysroot for the currently selected architecture variant (in our case, it can be ".", "armv4t" or "thumb2"). ARCH_SYSROOT_DIR is defined as the full path to the sysroot of the currently selected architecture variant. * Modifies copy_toolchain_lib_root (which copies a library to the target/ directory) so that libraries are taken from ARCH_SYSROOT_DIR instead of SYSROOT_DIR. This ensures that libraries for the correct architecture variant are properly copied to the target. * Modifies copy_toolchain_sysroot (which copies the sysroot to the staging/ directory), so that it copies the contents of ARCH_SYSROOT_DIR, and if needed, adds the headers from the main sysroot directory and a symbolic link (armv4t -> . or thumb2 -> .) to make the compiler believe that its sysroot is really in armv4t/ or thumb2/. Tested with Codesourcery 2009q1 ARM toolchain, Crosstool-NG ARM glibc and ARM uClibc toolchains. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| * external-toolchain: support libraries outside of /libThomas Petazzoni2010-04-171-10/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | The copy_toolchain_lib_root function was making the assumption that all libraries were stored inside the /lib directory of the sysroot directory. However, this isn't true for certain toolchains, particularly for the libstdc++ library. The function is therefore reworked to find the library and its related symlink either in /lib or /usr/lib in the sysroot, and copies it at the same location in the target directory. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| * external toolchains: take into account architecture variantThomas Petazzoni2010-04-171-11/+11
| | | | | | | | | | | | | | | | | | Until now, many TARGET_CFLAGS where missing when using an external toolchain, due to how package/Makefile.in was written. Now, a lot more definitions are common between the Buildroot toolchain case and the external toolchain case. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* | Add support to linux 2.6.30 kernel patches for Atmel arm in menuconfig.Josh.Wu2010-04-211-0/+7
| | | | | | | | | | Signed-off-by: Josh.Wu <josh.wu@atmel.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* | busybox: add 1.16.1 sed fixPeter Korsgaard2010-04-201-0/+47
| | | | | | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* | initramfs: fix init symlinkWill Wagner2010-04-201-0/+2
| | | | | | | | | | | | | | | | When initramfs was ported to the new fs structure the init symlink macro was defined, but forgot to add it to PRE_GEN_HOOKS Signed-off-by: Will Wagner <will_wagner@carallon.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* | busybox: get rid of unused initramfs.mk filePeter Korsgaard2010-04-201-141/+0
| | | | | | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* | target: really remove the target/*/*.mk includePeter Korsgaard2010-04-201-2/+0
| | | | | | | | | | | | | | Commit 5faae4869027 claimed to do this, but it didn't - Causing make to error out. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* | toolchain/binutils: Improve arm linking performanceLaine Walker-Avina2010-04-202-0/+366
| | | | | | | | | | | | | | | | | | | | | | Backported a patch from CVS that improves linking times for large projects (eg 700s to 6s). See http://old.nabble.com/-PATCH--Reduce-ARM-linking-time-tt27961038.html for the original. [Peter: add patch header] Signed-off-by: Laine Walker-Avina <lwalkera@ieee.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* | Repair initramfs dependancies after move to fsWill Wagner2010-04-203-2/+8
| | | | | | | | | | | | | | | | | | | | The restructure for building root filesystems changed the target name for the initramfs file, to build the file the trget is now initramfs-root but the generated file is rootfs.initramfs Signed-off-by: Will Wagner <will_wagner@carallon.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* | Merge branch 'makedevs-cleanup' of ↵Peter Korsgaard2010-04-196-31/+42
|\ \ | | | | | | | | | git://git.busybox.net/~tpetazzoni/git/buildroot
| * | makedevs: convert to a more normal way of building packagesThomas Petazzoni2010-04-194-15/+26
| | | | | | | | | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| * | makedevs: move to package/Thomas Petazzoni2010-04-192-0/+0
| | | | | | | | | | | | | | | Since target/ doesn't contain any .mk file in subdirectories, also remove the include in target/Makefile.in.
* | | mtd: Add missing 'mtdinfo'Michael Roth2010-04-191-0/+4
|/ / | | | | | | | | | | | | | | Commit 9277cb760a4cc6e62d0cd23fa938dd953e875a13 added support for mtdinfo to mtd.mk but missed corresponding Config.in stuff. Signed-off-by: Michael Roth <mroth@nessie.de> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* | python: needs WCHAR support in toolchainPeter Korsgaard2010-04-193-6/+14
| | | | | | | | | | | | And hence, portage needs it as well. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* | fs/ext2: fix blocks/inodes calculationPeter Korsgaard2010-04-192-11/+41
| | | | | | | | | | | | | | | | | | | | | | With the ROOTFS_TARGET conversion, EXT2_OPTS gets evaluated very early (before TARGET_DIR is populated with files), so the calculated blocks/inodes numbers are wrong. Fix it by moving the calculation to a shell script wrapper around genext2fs, so it only gets executed just before genext2fs runs. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* | Enable libutil by default for uclibc 0.9.31Kelvin Cheung2010-04-191-1/+1
| | | | | | | | | | | | | | Closes #1591 Signed-off-by: Kelvin Cheung <keguang.zhang@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* | toolchain/gdb: target-gdb needs wchar support in toolchainPeter Korsgaard2010-04-191-0/+4
| | | | | | | | | | | | For the embedded readline/gettext stuff. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* | fs/ext2: fix typoPeter Korsgaard2010-04-191-1/+1
| | | | | | | | | | | | | | | | | | BR2_TARGET_ROOTFS_EXT2_RESBLKS is an int, so test against 0 rather than the empty string - Otherwise the test is always true and a -m option without arguments is added to the argument list, causing genext2fs to get confused. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* | CHANGES: #1591 is now closed (portmap fails to compile)Peter Korsgaard2010-04-191-0/+1
| | | | | | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* | CHANGES: #1537 is now closed (dev entries not created anymore)Peter Korsgaard2010-04-181-0/+1
| | | | | | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* | Merge branch 'fs-fixes' of git://git.busybox.net/~tpetazzoni/git/buildrootPeter Korsgaard2010-04-1841-48/+232
|\ \
| * | Update defconfigs to include BR2_ROOTFS_DEVICE_TABLE definitionThomas Petazzoni2010-04-1724-0/+24
| | | | | | | | | | | | | | | | | | | | | We only bother updating the defconfigs that need a non-default BR2_ROOTFS_DEVICE_TABLE value. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| * | Remove all TARGET_DEVICE_TABLE definitionsThomas Petazzoni2010-04-1711-28/+189
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We have a special case for Xtensa, which was patching the generic device_table.txt. Instead of doing this, we just keep a copy of the device table, specific to Xtensa, with Xtensa specifities. The fact that the patch wasn't applying anymore on the generic device table is a sign that the existing approach wasn't working anyway. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| * | documentation: update after TARGET_DEVICE_TABLE removalThomas Petazzoni2010-04-171-10/+0
| | | | | | | | | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| * | cramfs/jffs2: use the new ROOTFS_DEVICE_TABLE variableThomas Petazzoni2010-04-172-4/+4
| | | | | | | | | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| * | fs: change the way the device table is configuredThomas Petazzoni2010-04-172-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Until now, the location of the device table was specified by a variable in board Makefiles. Unfortunately, this variable is not accessible from fs/common.mk, since the target/ code is included *after* fs/common.mk. Anyway, the general idea is to move away from these boards Makefile, and provide configuration option for things like the device table location. Therefore, this patch adds a BR2_ROOTFS_DEVICE_TABLE option which allows to specify which device table should be used. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| * | cramfs: fix installationThomas Petazzoni2010-04-171-4/+4
| |/ | | | | | | | | | | | | | | | | The installation procedure of cramfs was broken when $(HOST_DIR)/usr/bin didn't exist (i.e, cramfsck was installed as $(HOST_DIR)/usr/bin directly). Use install -D with a proper destination argument to make it work. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* / uclibc: Enable libresolv and libnsl stubs by default for 0.9.31Gustavo Zacarias2010-04-182-2/+3
|/ | | | | | | | Closes #1555. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* openssl: fix build without ipv6 supportPeter Korsgaard2010-04-152-0/+56
| | | | | | Closes #1567 Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* pciutils: convert to the generic-tools infrastructureThomas Brandstetter2010-04-152-71/+31
| | | | | Signed-off-by: Thomas Brandstetter <thomas.brandstetter@me.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* mtd: host compilation needs host-zlibPeter Korsgaard2010-04-151-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* mtd: mkfs.jffs2 requires zlib to buildWill Wagner2010-04-151-0/+3
| | | | | | [Peter: lzo needed as well] Signed-off-by: Will Wagner <will_wagner@carallon.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* iso9660: menu.lst fixup after move to fsPeter Korsgaard2010-04-151-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* initramfs: trivial fix following move to fsWill Wagner2010-04-151-1/+1
| | | | | Signed-off-by: Will Wagner <will_wagner@carallon.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* busybox: 1.16.1 dnsd / hwclock fixesPeter Korsgaard2010-04-142-0/+181
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libdrm: enable/disable features according to driver selectionPaulius Zaleckas2010-04-142-2/+12
| | | | | | | | Also cleanup autotools symbols and add libatomic_ops dependency for Intel part. Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Add libatomic_ops 1.2 needed by libdrm Intel supportPaulius Zaleckas2010-04-144-1/+19
| | | | | Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Merge branch 'autotools-conversion' of ↵Peter Korsgaard2010-04-1323-1284/+128
|\ | | | | | | git://git.busybox.net/~tpetazzoni/git/buildroot