buildroot.git
14 years agoalsa-utils: fix usr/share/alsa installation to target
Peter Korsgaard [Mon, 26 Apr 2010 20:58:25 +0000 (22:58 +0200)]
alsa-utils: fix usr/share/alsa installation to target

Closes #1573

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agopackage: get rid of editors subdir
Peter Korsgaard [Mon, 26 Apr 2010 20:03:37 +0000 (22:03 +0200)]
package: get rid of editors subdir

Not much point in a seperate subdir for only four packages.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agopackage: get rid of database subdir
Peter Korsgaard [Mon, 26 Apr 2010 19:57:11 +0000 (21:57 +0200)]
package: get rid of database subdir

Not much point in a seperate subdir for only two packages.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agocairo: get rid of old patches
Peter Korsgaard [Mon, 26 Apr 2010 19:52:50 +0000 (21:52 +0200)]
cairo: get rid of old patches

Haven't been touches for more than 2 years, so lets get rid of them.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agolibgtk2: get rid of old patches
Peter Korsgaard [Mon, 26 Apr 2010 19:46:48 +0000 (21:46 +0200)]
libgtk2: get rid of old patches

Haven't been touches for more than 2 years, so lets get rid of them.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agosamba: bump version
Gustavo Zacarias [Wed, 14 Apr 2010 14:26:45 +0000 (11:26 -0300)]
samba: bump version

Closes #1561

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agokernel-headers: bump 2.6.32.x / 2.6.33.x stable versions
Peter Korsgaard [Mon, 26 Apr 2010 17:31:42 +0000 (19:31 +0200)]
kernel-headers: bump 2.6.32.x / 2.6.33.x stable versions

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agotslib: fix use of open()
Luca Ceresoli [Fri, 23 Apr 2010 08:24:53 +0000 (10:24 +0200)]
tslib: fix use of open()

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>
14 years agoX11R7.5 - remove all version information from Config.in files
Will Wagner [Wed, 14 Apr 2010 17:06:45 +0000 (18:06 +0100)]
X11R7.5 - remove all version information from Config.in files

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>
14 years agolibXaw: do not build docs (fails if missing host tools), also cleanup makefile
Will Wagner [Wed, 14 Apr 2010 17:06:44 +0000 (18:06 +0100)]
libXaw: do not build docs (fails if missing host tools), also cleanup makefile

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>
14 years agoRemove XEvIE (app & proto) as removed from X11R7.5
Will Wagner [Wed, 14 Apr 2010 17:06:43 +0000 (18:06 +0100)]
Remove XEvIE (app & proto) as removed from X11R7.5

[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>
14 years agoRemove XFree86-Misc (lib & proto) as removed from X11R7.5
Will Wagner [Wed, 14 Apr 2010 17:06:42 +0000 (18:06 +0100)]
Remove XFree86-Misc (lib & proto) as removed from X11R7.5

[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>
14 years agoRemove XTrap (app, lib & proto) as removed from X11R7.5
Will Wagner [Wed, 14 Apr 2010 17:06:41 +0000 (18:06 +0100)]
Remove XTrap (app, lib & proto) as removed from X11R7.5

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>
14 years agoxserver_xorg-server: bump version, improve option support
Will Wagner [Wed, 14 Apr 2010 17:06:40 +0000 (18:06 +0100)]
xserver_xorg-server: bump version, improve option support

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>
14 years agousbutils need libusb-compat
Paulius Zaleckas [Wed, 21 Apr 2010 13:57:06 +0000 (16:57 +0300)]
usbutils need libusb-compat

Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoMerge branch 'codesourcery-toolchain-support' of git://git.busybox.net/~tpetazzoni...
Peter Korsgaard [Wed, 21 Apr 2010 08:40:30 +0000 (10:40 +0200)]
Merge branch 'codesourcery-toolchain-support' of git://git.busybox.net/~tpetazzoni/git/buildroot

14 years agoAdd support to linux 2.6.30 kernel patches for Atmel arm in menuconfig.
Josh.Wu [Fri, 9 Apr 2010 09:26:43 +0000 (17:26 +0800)]
Add support to linux 2.6.30 kernel patches for Atmel arm in menuconfig.

Signed-off-by: Josh.Wu <josh.wu@atmel.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agobusybox: add 1.16.1 sed fix
Peter Korsgaard [Tue, 20 Apr 2010 18:15:33 +0000 (20:15 +0200)]
busybox: add 1.16.1 sed fix

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoinitramfs: fix init symlink
Will Wagner [Tue, 20 Apr 2010 14:31:01 +0000 (15:31 +0100)]
initramfs: fix init symlink

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>
14 years agobusybox: get rid of unused initramfs.mk file
Peter Korsgaard [Tue, 20 Apr 2010 11:20:56 +0000 (13:20 +0200)]
busybox: get rid of unused initramfs.mk file

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agotarget: really remove the target/*/*.mk include
Peter Korsgaard [Tue, 20 Apr 2010 07:12:39 +0000 (09:12 +0200)]
target: really remove the target/*/*.mk include

Commit 5faae4869027 claimed to do this, but it didn't - Causing
make to error out.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agotoolchain/binutils: Improve arm linking performance
Laine Walker-Avina [Mon, 19 Apr 2010 21:41:31 +0000 (14:41 -0700)]
toolchain/binutils: Improve arm linking performance

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>
14 years agoRepair initramfs dependancies after move to fs
Will Wagner [Mon, 19 Apr 2010 14:34:49 +0000 (15:34 +0100)]
Repair initramfs dependancies after move to fs

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>
14 years agoMerge branch 'makedevs-cleanup' of git://git.busybox.net/~tpetazzoni/git/buildroot
Peter Korsgaard [Mon, 19 Apr 2010 21:28:26 +0000 (23:28 +0200)]
Merge branch 'makedevs-cleanup' of git://git.busybox.net/~tpetazzoni/git/buildroot

14 years agomtd: Add missing 'mtdinfo'
Michael Roth [Mon, 19 Apr 2010 20:36:13 +0000 (22:36 +0200)]
mtd: Add missing 'mtdinfo'

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>
14 years agomakedevs: convert to a more normal way of building packages
Thomas Petazzoni [Wed, 24 Mar 2010 22:12:29 +0000 (23:12 +0100)]
makedevs: convert to a more normal way of building packages

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agomakedevs: move to package/
Thomas Petazzoni [Wed, 24 Mar 2010 21:43:12 +0000 (22:43 +0100)]
makedevs: move to package/

Since target/ doesn't contain any .mk file in subdirectories, also
remove the include in target/Makefile.in.

14 years agopython: needs WCHAR support in toolchain
Peter Korsgaard [Mon, 19 Apr 2010 12:38:45 +0000 (14:38 +0200)]
python: needs WCHAR support in toolchain

And hence, portage needs it as well.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agofs/ext2: fix blocks/inodes calculation
Peter Korsgaard [Mon, 19 Apr 2010 12:24:11 +0000 (14:24 +0200)]
fs/ext2: fix blocks/inodes calculation

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>
14 years agoEnable libutil by default for uclibc 0.9.31
Kelvin Cheung [Mon, 19 Apr 2010 01:22:35 +0000 (09:22 +0800)]
Enable libutil by default for uclibc 0.9.31

Closes #1591

Signed-off-by: Kelvin Cheung <keguang.zhang@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agotoolchain/gdb: target-gdb needs wchar support in toolchain
Peter Korsgaard [Mon, 19 Apr 2010 09:05:30 +0000 (11:05 +0200)]
toolchain/gdb: target-gdb needs wchar support in toolchain

For the embedded readline/gettext stuff.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agofs/ext2: fix typo
Peter Korsgaard [Mon, 19 Apr 2010 09:03:45 +0000 (11:03 +0200)]
fs/ext2: fix typo

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>
14 years agoCHANGES: #1591 is now closed (portmap fails to compile)
Peter Korsgaard [Mon, 19 Apr 2010 07:11:35 +0000 (09:11 +0200)]
CHANGES: #1591 is now closed (portmap fails to compile)

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoCHANGES: #1537 is now closed (dev entries not created anymore)
Peter Korsgaard [Sun, 18 Apr 2010 20:33:09 +0000 (22:33 +0200)]
CHANGES: #1537 is now closed (dev entries not created anymore)

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoMerge branch 'fs-fixes' of git://git.busybox.net/~tpetazzoni/git/buildroot
Peter Korsgaard [Sun, 18 Apr 2010 20:31:43 +0000 (22:31 +0200)]
Merge branch 'fs-fixes' of git://git.busybox.net/~tpetazzoni/git/buildroot

14 years agouclibc: Enable libresolv and libnsl stubs by default for 0.9.31
Gustavo Zacarias [Wed, 14 Apr 2010 14:17:47 +0000 (11:17 -0300)]
uclibc: Enable libresolv and libnsl stubs by default for 0.9.31

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>
14 years agoUpdate defconfigs to include BR2_ROOTFS_DEVICE_TABLE definition
Thomas Petazzoni [Sat, 17 Apr 2010 02:34:56 +0000 (04:34 +0200)]
Update defconfigs to include BR2_ROOTFS_DEVICE_TABLE definition

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>
14 years agoRemove all TARGET_DEVICE_TABLE definitions
Thomas Petazzoni [Sat, 17 Apr 2010 02:33:30 +0000 (04:33 +0200)]
Remove all TARGET_DEVICE_TABLE definitions

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>
14 years agodocumentation: update after TARGET_DEVICE_TABLE removal
Thomas Petazzoni [Sat, 17 Apr 2010 01:31:22 +0000 (03:31 +0200)]
documentation: update after TARGET_DEVICE_TABLE removal

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agocramfs/jffs2: use the new ROOTFS_DEVICE_TABLE variable
Thomas Petazzoni [Sat, 17 Apr 2010 01:30:59 +0000 (03:30 +0200)]
cramfs/jffs2: use the new ROOTFS_DEVICE_TABLE variable

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agofs: change the way the device table is configured
Thomas Petazzoni [Sat, 17 Apr 2010 01:26:16 +0000 (03:26 +0200)]
fs: change the way the device table is configured

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>
14 years agocramfs: fix installation
Thomas Petazzoni [Sat, 17 Apr 2010 01:25:05 +0000 (03:25 +0200)]
cramfs: fix installation

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>
14 years agobusybox: make sure architecture flags are used at link time
Thomas Petazzoni [Thu, 17 Dec 2009 19:57:13 +0000 (20:57 +0100)]
busybox: make sure architecture flags are used at link time

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>
14 years agoexternal-toolchain: Support for multilib toolchains
Thomas Petazzoni [Fri, 21 Aug 2009 23:13:22 +0000 (01:13 +0200)]
external-toolchain: Support for multilib toolchains

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>
14 years agoexternal-toolchain: support libraries outside of /lib
Thomas Petazzoni [Tue, 9 Feb 2010 20:34:49 +0000 (21:34 +0100)]
external-toolchain: support libraries outside of /lib

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>
14 years agoexternal toolchains: take into account architecture variant
Thomas Petazzoni [Fri, 21 Aug 2009 23:12:02 +0000 (01:12 +0200)]
external toolchains: take into account architecture variant

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>
14 years agoopenssl: fix build without ipv6 support
Peter Korsgaard [Thu, 15 Apr 2010 14:26:15 +0000 (16:26 +0200)]
openssl: fix build without ipv6 support

Closes #1567

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agopciutils: convert to the generic-tools infrastructure
Thomas Brandstetter [Sun, 11 Apr 2010 08:26:24 +0000 (10:26 +0200)]
pciutils: convert to the generic-tools infrastructure

Signed-off-by: Thomas Brandstetter <thomas.brandstetter@me.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agomtd: host compilation needs host-zlib
Peter Korsgaard [Thu, 15 Apr 2010 12:02:22 +0000 (14:02 +0200)]
mtd: host compilation needs host-zlib

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agomtd: mkfs.jffs2 requires zlib to build
Will Wagner [Wed, 14 Apr 2010 22:24:26 +0000 (23:24 +0100)]
mtd: mkfs.jffs2 requires zlib to build

[Peter: lzo needed as well]
Signed-off-by: Will Wagner <will_wagner@carallon.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoiso9660: menu.lst fixup after move to fs
Peter Korsgaard [Thu, 15 Apr 2010 11:51:33 +0000 (13:51 +0200)]
iso9660: menu.lst fixup after move to fs

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoinitramfs: trivial fix following move to fs
Will Wagner [Wed, 14 Apr 2010 21:41:56 +0000 (22:41 +0100)]
initramfs: trivial fix following move to fs

Signed-off-by: Will Wagner <will_wagner@carallon.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agobusybox: 1.16.1 dnsd / hwclock fixes
Peter Korsgaard [Wed, 14 Apr 2010 18:41:15 +0000 (20:41 +0200)]
busybox: 1.16.1 dnsd / hwclock fixes

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agolibdrm: enable/disable features according to driver selection
Paulius Zaleckas [Wed, 14 Apr 2010 12:31:02 +0000 (15:31 +0300)]
libdrm: enable/disable features according to driver selection

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>
14 years agoAdd libatomic_ops 1.2 needed by libdrm Intel support
Paulius Zaleckas [Wed, 14 Apr 2010 12:30:52 +0000 (15:30 +0300)]
Add libatomic_ops 1.2 needed by libdrm Intel support

Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoMerge branch 'autotools-conversion' of git://git.busybox.net/~tpetazzoni/git/buildroot
Peter Korsgaard [Tue, 13 Apr 2010 19:50:46 +0000 (21:50 +0200)]
Merge branch 'autotools-conversion' of git://git.busybox.net/~tpetazzoni/git/buildroot

14 years agolibid3tag: convert to the autotools infrastructure
Thomas Petazzoni [Sat, 10 Apr 2010 19:59:42 +0000 (21:59 +0200)]
libid3tag: convert to the autotools infrastructure

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agolibmad: convert to the autotools infrastructure
Thomas Petazzoni [Sat, 10 Apr 2010 19:58:12 +0000 (21:58 +0200)]
libmad: convert to the autotools infrastructure

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoaumix: convert to the autotools infrastructure
Thomas Petazzoni [Sat, 10 Apr 2010 19:54:59 +0000 (21:54 +0200)]
aumix: convert to the autotools infrastructure

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agomadplay: convert to the autotools infrastructure
Thomas Petazzoni [Sat, 10 Apr 2010 19:53:56 +0000 (21:53 +0200)]
madplay: convert to the autotools infrastructure

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agofindutils: convert to the autotools infrastructure
Thomas Petazzoni [Sat, 10 Apr 2010 19:50:22 +0000 (21:50 +0200)]
findutils: convert to the autotools infrastructure

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoipkg: remove useless configure options
Thomas Petazzoni [Sat, 10 Apr 2010 17:20:07 +0000 (19:20 +0200)]
ipkg: remove useless configure options

These options are part of the default set of options passed to
./configure by the AUTOTARGETS infrastructure.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoargus: convert to the autotools infrastructure
Thomas Petazzoni [Sat, 10 Apr 2010 17:18:57 +0000 (19:18 +0200)]
argus: convert to the autotools infrastructure

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agotar: convert to the autotools infrastructure
Thomas Petazzoni [Sat, 10 Apr 2010 17:11:47 +0000 (19:11 +0200)]
tar: convert to the autotools infrastructure

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agobison: convert to the autotools infrastructure
Thomas Petazzoni [Sat, 10 Apr 2010 17:11:03 +0000 (19:11 +0200)]
bison: convert to the autotools infrastructure

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoRemove incorrect 'dummy' example
Thomas Petazzoni [Sat, 10 Apr 2010 17:07:48 +0000 (19:07 +0200)]
Remove incorrect 'dummy' example

Since the introduction of the AUTOTARGETS infrastructure, the dummy
example is no longer correct. Moreover, the documentation now contains
extensive details about how new packages should be added, either using
the GENTARGETS or the AUTOTARGETS infrastructures.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agolibcgi: convert to the autotools infrastructure
Thomas Petazzoni [Sat, 10 Apr 2010 17:04:26 +0000 (19:04 +0200)]
libcgi: convert to the autotools infrastructure

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agolibsysfs: convert to the autotools infrastructure
Thomas Petazzoni [Sat, 10 Apr 2010 17:03:27 +0000 (19:03 +0200)]
libsysfs: convert to the autotools infrastructure

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agolibraw1394: convert to the autotools infrastructure
Thomas Petazzoni [Sat, 10 Apr 2010 17:01:15 +0000 (19:01 +0200)]
libraw1394: convert to the autotools infrastructure

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agolibcgicc: convert to the autotools infrastructure
Thomas Petazzoni [Sat, 10 Apr 2010 16:59:34 +0000 (18:59 +0200)]
libcgicc: convert to the autotools infrastructure

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agolibosip2: convert to the autotools infrastructure
Thomas Petazzoni [Sat, 10 Apr 2010 16:58:28 +0000 (18:58 +0200)]
libosip2: convert to the autotools infrastructure

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agopatch: convert to the autotools infrastructure and bump version
Thomas Petazzoni [Mon, 12 Apr 2010 13:06:55 +0000 (15:06 +0200)]
patch: convert to the autotools infrastructure and bump version

Bumping the version from 2.5.9 to 2.6 allows to avoid adding a patch
(merged upstream) to fix patch's Makefile install target.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agosmartmontools: convert to the autotools infrastructure
Thomas Petazzoni [Sat, 10 Apr 2010 16:50:08 +0000 (18:50 +0200)]
smartmontools: convert to the autotools infrastructure

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agosetserial: convert to the autotools infrastructure
Thomas Petazzoni [Sat, 10 Apr 2010 16:48:53 +0000 (18:48 +0200)]
setserial: convert to the autotools infrastructure

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoudpcast: convert to the autotools infrastructure
Thomas Petazzoni [Sat, 10 Apr 2010 16:45:07 +0000 (18:45 +0200)]
udpcast: convert to the autotools infrastructure

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agox11vnc: cleanup useless config options
Thomas Petazzoni [Sat, 10 Apr 2010 16:39:35 +0000 (18:39 +0200)]
x11vnc: cleanup useless config options

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agovtun: convert to the autotools infrastructure
Thomas Petazzoni [Sat, 10 Apr 2010 16:34:47 +0000 (18:34 +0200)]
vtun: convert to the autotools infrastructure

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoUpdate defconfigs after BR2_RECENT removal
Thomas Petazzoni [Sat, 10 Apr 2010 20:53:23 +0000 (22:53 +0200)]
Update defconfigs after BR2_RECENT removal

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoRemove the BR2_RECENT option
Thomas Petazzoni [Sat, 10 Apr 2010 20:52:53 +0000 (22:52 +0200)]
Remove the BR2_RECENT option

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoGet rid of all usages of BR2_RECENT
Thomas Petazzoni [Sat, 10 Apr 2010 20:52:38 +0000 (22:52 +0200)]
Get rid of all usages of BR2_RECENT

Since BR2_RECENT was enabled by default, we do not want entries marked
BR2_RECENT (and thus appearing by default in Buildroot) to disappear.

Therefore, all the entries marked BR2_RECENT are converted as
non-deprecated. We can later decide, on a per-entry basis, to add
BR2_DEPRECATED to some of them. But at least, this commit doesn't
change the default current behaviour of Buildroot.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoGet rid of the OPTIMIZE_FOR_CPU variable
Thomas Petazzoni [Sat, 10 Apr 2010 21:50:45 +0000 (23:50 +0200)]
Get rid of the OPTIMIZE_FOR_CPU variable

This variable, together with the FIXME comment, has been added has
part of Eric Andersen's « Major buildroot facelift, step one » commit
that occured in October 2004.

Since then, no real usage has been made of OPTIMIZE_FOR_CPU, and the
initial intention has probably been lost in the memories of the
implementors.

Therefore, get rid of the variable, and just use $(ARCH) at the two
locations the variable was used.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoGet rid of useless OpenMP related code
Thomas Petazzoni [Sat, 10 Apr 2010 21:46:54 +0000 (23:46 +0200)]
Get rid of useless OpenMP related code

It seems that there was an intention to add BR2_ENABLE_OPENMP someday,
but it was in June 2007 (commit
c81807a9d71fba9f35eeb7e3f3b56bda4b2e0edd) and since then, nothing
occured. Therefore, get rid of this code, and just pass
--disable-openmp to gettext to keep the current behaviour.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoRemove variables useless after BR2_PREFER_IMA removal
Thomas Petazzoni [Sat, 10 Apr 2010 21:44:11 +0000 (23:44 +0200)]
Remove variables useless after BR2_PREFER_IMA removal

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoGet rid of unused variables
Thomas Petazzoni [Sat, 10 Apr 2010 21:42:02 +0000 (23:42 +0200)]
Get rid of unused variables

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoUpdate defconfigs after BR2_ENABLE_LOCALE_PREGENERATED removal
Thomas Petazzoni [Sat, 10 Apr 2010 21:39:14 +0000 (23:39 +0200)]
Update defconfigs after BR2_ENABLE_LOCALE_PREGENERATED removal

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoRemove BR2_ENABLE_LOCALE_PREGENERATED
Thomas Petazzoni [Sat, 10 Apr 2010 21:37:18 +0000 (23:37 +0200)]
Remove BR2_ENABLE_LOCALE_PREGENERATED

The option is marked broken since october 2009, and even the uClibc
configuration help text says that using pregenerated locales is highly
discouraged.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoGet rid of now unused HOST_ARCH computation code
Thomas Petazzoni [Sat, 10 Apr 2010 21:19:24 +0000 (23:19 +0200)]
Get rid of now unused HOST_ARCH computation code

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoUpdate defconfigs after BR2_GNU_BUILD_SUFFIX removal
Thomas Petazzoni [Sat, 10 Apr 2010 21:18:41 +0000 (23:18 +0200)]
Update defconfigs after BR2_GNU_BUILD_SUFFIX removal

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoGuess build system and remove BR2_GNU_BUILD_SUFFIX
Thomas Petazzoni [Sat, 10 Apr 2010 21:17:25 +0000 (23:17 +0200)]
Guess build system and remove BR2_GNU_BUILD_SUFFIX

Instead of having a configuration option BR2_GNU_BUILD_SUFFIX, let's
use config.guess to guess the build system type.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoMove the global config cache option to an Advanced submenu
Thomas Petazzoni [Sat, 10 Apr 2010 20:56:52 +0000 (22:56 +0200)]
Move the global config cache option to an Advanced submenu

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoBring the three path-related options together
Thomas Petazzoni [Sat, 10 Apr 2010 20:55:38 +0000 (22:55 +0200)]
Bring the three path-related options together

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoMove the command-related options to a submenu
Thomas Petazzoni [Sat, 10 Apr 2010 20:55:01 +0000 (22:55 +0200)]
Move the command-related options to a submenu

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoUpdate defconfigs after BR2_HAVE_{INFOPAGES,MANPAGES} removal
Thomas Petazzoni [Sat, 10 Apr 2010 20:48:23 +0000 (22:48 +0200)]
Update defconfigs after BR2_HAVE_{INFOPAGES,MANPAGES} removal

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoGet rid of BR2_HAVE_{MANPAGES,INFOPAGES} config options
Thomas Petazzoni [Sat, 10 Apr 2010 20:47:28 +0000 (22:47 +0200)]
Get rid of BR2_HAVE_{MANPAGES,INFOPAGES} config options

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoUse BR2_HAVE_DOCUMENTATION instead of BR2_HAVE_{MANPAGES,INFOPAGES}
Thomas Petazzoni [Sat, 10 Apr 2010 20:47:05 +0000 (22:47 +0200)]
Use BR2_HAVE_DOCUMENTATION instead of BR2_HAVE_{MANPAGES,INFOPAGES}

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoDo not remove documentation on a per-package basis
Thomas Petazzoni [Sat, 10 Apr 2010 20:44:37 +0000 (22:44 +0200)]
Do not remove documentation on a per-package basis

Since the documentation cleanup is done by the main Makefile in a
global way, there's no need to do that on a per-package basis in the
generic package infrastructure.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoRemove all documentation when BR2_HAVE_DOCUMENTATION is not set
Thomas Petazzoni [Sat, 10 Apr 2010 20:42:45 +0000 (22:42 +0200)]
Remove all documentation when BR2_HAVE_DOCUMENTATION is not set

Until now, we had BR2_HAVE_MANPAGES, BR2_HAVE_INFOPAGES and
BR2_HAVE_DOCUMENTATION, but there's no need to have such a
fine-grained control over what documentation gets kept or not.

Therefore, just remove all the documentation (man pages, info pages
and documentation in $(TARGET_DIR)/usr/doc and
$(TARGET_DIR)/usr/share/doc) when BR2_HAVE_DOCUMENTATION is not set.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoDo not let packages remove man pages, info pages and documentation
Thomas Petazzoni [Sat, 10 Apr 2010 20:39:53 +0000 (22:39 +0200)]
Do not let packages remove man pages, info pages and documentation

The cleanup of $(TARGET_DIR)/usr/share/man, $(TARGET_DIR)/usr/man,
$(TARGET_DIR)/usr/share/info, $(TARGET_DIR)/usr/info,
$(TARGET_DIR)/usr/share/doc and $(TARGET_DIR)/usr/doc is already done
globally in the main Makefile. Therefore, there's no need to handle
that on a per-package basis.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoUpdate defconfigs after BR2_UPDATE_CONFIG removal
Thomas Petazzoni [Sat, 10 Apr 2010 20:21:54 +0000 (22:21 +0200)]
Update defconfigs after BR2_UPDATE_CONFIG removal

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoUpdate config.{guess,sub} unconditionally
Thomas Petazzoni [Sat, 10 Apr 2010 20:18:28 +0000 (22:18 +0200)]
Update config.{guess,sub} unconditionally

Remove the BR2_UPDATE_CONFIG option which allowed to globally
enable/disable the replacement of config.{guess,sub} for
autotools-based packages. Doing it unconditionnally just works.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>