buildroot.git
14 years agosdl_sound: needs iconv if !locale
Peter Korsgaard [Sun, 4 Jul 2010 06:54:47 +0000 (08:54 +0200)]
sdl_sound: needs iconv if !locale

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agosdl_sound: fix dependencies
Peter Korsgaard [Sat, 3 Jul 2010 17:55:30 +0000 (19:55 +0200)]
sdl_sound: fix dependencies

sdl_sound naturally depends on SDL.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoblackbox: needs iconv if !locale
Peter Korsgaard [Fri, 2 Jul 2010 12:04:34 +0000 (14:04 +0200)]
blackbox: needs iconv if !locale

Closes #2101

At the same time fix dependencies so it can be built without a local
X server, and a comment is shown if C++ support isn't enabled.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agotoolchain: remove unused special detection of old toolchains
Peter Korsgaard [Fri, 2 Jul 2010 05:43:01 +0000 (07:43 +0200)]
toolchain: remove unused special detection of old toolchains

We only support gcc >= 4.2.x for the internal toolchain.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agobash: bump to 4.1.7(1) and migrate to autotargets
Gustavo Zacarias [Wed, 9 Jun 2010 13:36:26 +0000 (10:36 -0300)]
bash: bump to 4.1.7(1) and migrate to autotargets

Closes #1993

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agotremor: fix svn checkout
Peter Korsgaard [Thu, 1 Jul 2010 15:33:29 +0000 (17:33 +0200)]
tremor: fix svn checkout

Commit 1dc19c445 (split tremor into its own package) unfortunately
broke the svn checkout step (but normally not noticable as we have
a tarball on sources.buildroot.net that will get downloaded instead).

Fix it by using a custom download step, and remove unused variables
while we're at it.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoMakefile.package.in: allow packages to override download step
Peter Korsgaard [Thu, 1 Jul 2010 15:31:39 +0000 (17:31 +0200)]
Makefile.package.in: allow packages to override download step

E.G. for checkout from version control instead.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoubifs: fix lzo typo
Peter Korsgaard [Thu, 1 Jul 2010 13:35:00 +0000 (15:35 +0200)]
ubifs: fix lzo typo

Closes #2155

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoxserver_xorg-server: fix _MAKE typo
Peter Korsgaard [Thu, 1 Jul 2010 08:02:48 +0000 (10:02 +0200)]
xserver_xorg-server: fix _MAKE typo

The variable should be XSERVER_XORG_SERVER_MAKE, not .._XSERVER_MAKE.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoMakefile: fixup make distclean after kconfig build in BUILD_DIR
Peter Korsgaard [Thu, 1 Jul 2010 07:03:36 +0000 (09:03 +0200)]
Makefile: fixup make distclean after kconfig build in BUILD_DIR

We don't actually need to explicitly clean the kconfig stuff, as distclean
already removes the entire BUILD_DIR, but fix up the packag/config makefile
to do the right thing if make clean/distclean is called manually for
completeness.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoFix: convert leftover $(CONFIG)/conf to $(BUILD_DIR)/buildroot-config/conf
Daniel Hobi [Tue, 29 Jun 2010 17:22:19 +0000 (19:22 +0200)]
Fix: convert leftover $(CONFIG)/conf to $(BUILD_DIR)/buildroot-config/conf

Signed-off-by: Daniel Hobi <daniel.hobi@schmid-telecom.ch>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoinitramfs: update help text
Thomas Petazzoni [Fri, 25 Jun 2010 22:02:28 +0000 (00:02 +0200)]
initramfs: update help text

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoinitramfs: only show the option when a Linux kernel is being built
Thomas Petazzoni [Fri, 25 Jun 2010 22:02:27 +0000 (00:02 +0200)]
initramfs: only show the option when a Linux kernel is being built

Closes #2119

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agodropbear: override detection of struct sockaddr_storage
Peter Korsgaard [Fri, 25 Jun 2010 21:18:43 +0000 (23:18 +0200)]
dropbear: override detection of struct sockaddr_storage

Configure misdetects this as no, but the result is not used for anything.
Unfortunately it breaks the build for other packages also checking for
struct sockaddr_storage (like rsync) when using a shared config cache,
so force it to yes.

Reported-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agodocs: Fixed spelling error in buildroot.html GETTEXT instead of GNUTTEXT
Peter Huewe [Fri, 25 Jun 2010 10:02:03 +0000 (12:02 +0200)]
docs: Fixed spelling error in buildroot.html GETTEXT instead of GNUTTEXT

Fixed spelling error in Documentation buildroot.html#gettext-integration

GETTEXT instead of GNUTTEXT

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agopackage: Remove portage, it's obsolete
Gustavo Zacarias [Mon, 7 Jun 2010 20:09:43 +0000 (17:09 -0300)]
package: Remove portage, it's obsolete

Closes #1975

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoDeprecate rp-pppoe, functionality is in pppd
Gustavo Zacarias [Mon, 7 Jun 2010 20:10:44 +0000 (17:10 -0300)]
Deprecate rp-pppoe, functionality is in pppd

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agodnsmasq: bump to 2.55 and migrate to gentargets
Gustavo Zacarias [Thu, 24 Jun 2010 12:11:06 +0000 (09:11 -0300)]
dnsmasq: bump to 2.55 and migrate to gentargets

Closes #2005

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoCHANGES: update after autotools-conversion merge
Peter Korsgaard [Fri, 25 Jun 2010 10:31:51 +0000 (12:31 +0200)]
CHANGES: update after autotools-conversion merge

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agosdl: fix build without directfb after autotools conversion
Peter Korsgaard [Fri, 25 Jun 2010 10:25:57 +0000 (12:25 +0200)]
sdl: fix build without directfb after autotools conversion

Make sure --enable-video-directfb=no gets passed to configure
if directfb isn't enabled, so sdl doesn't try to link with the
host version instead (if available).

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoMerge branch 'autotools-conversion' of git://git.busybox.net/~tpetazzoni/git/buildroot
Peter Korsgaard [Fri, 25 Jun 2010 10:18:30 +0000 (12:18 +0200)]
Merge branch 'autotools-conversion' of git://git.busybox.net/~tpetazzoni/git/buildroot

14 years agonbd: Bump nbd to version 2.9.15 and remove klcc issue.
Peter Huewe [Thu, 24 Jun 2010 10:46:02 +0000 (12:46 +0200)]
nbd: Bump nbd to version 2.9.15 and remove klcc issue.

This patch bumps the version of nbd to 2.9.15.
The new version avoids problems with klcc installed on the host system
and also includes two former buildroot patches:
- nbd-fix-build-with-disable-lfs.patch
- nbd-server-fix-read-eagain.patch

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agomake gconfig: fix build on Fedora-13
Slava Zanko [Thu, 24 Jun 2010 09:00:59 +0000 (12:00 +0300)]
make gconfig: fix build on Fedora-13

Closes #2095

Avoids error like:
/usr/bin/ld: /dot-dot-dot/buildroot/output/build/buildroot-config/kconfig_load.o: undefined reference to symbol 'dlsym@@GLIBC_2.2.5'

Need to add -ldl to list of GTK2 development libraries.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoAdd package xterm
Paul Jones [Sat, 12 Jun 2010 00:45:13 +0000 (10:45 +1000)]
Add package xterm

Signed-off-by: Paul Jones <paul@pauljones.id.au>
14 years agoRemove package rxvt
Paul Jones [Fri, 11 Jun 2010 23:53:51 +0000 (09:53 +1000)]
Remove package rxvt

It is very old (cira 2003) and very broken

Signed-off-by: Paul Jones <paul@pauljones.id.au>
14 years agoliblockfile : convert to autotools infrastructure & bump to 1.08-4
cmchao [Wed, 16 Jun 2010 11:47:20 +0000 (19:47 +0800)]
liblockfile : convert to autotools infrastructure & bump to 1.08-4

Changes by Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

 * Installation to target is the default
 * No need to strip, it's done globally

Signed-off-by: cmchao <cmchao@gmail.com>
14 years agolibgpg-error : convert to autotools infrastructure & bump to 1.8
cmchao [Wed, 16 Jun 2010 11:47:19 +0000 (19:47 +0800)]
libgpg-error : convert to autotools infrastructure & bump to 1.8

Changes by Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

 * Installation to target is the default

Signed-off-by: cmchao <cmchao@gmail.com>
14 years agosdl : convert to autotools infrastructure & bump to 1.2.14
cmchao [Wed, 16 Jun 2010 11:47:17 +0000 (19:47 +0800)]
sdl : convert to autotools infrastructure & bump to 1.2.14

Changes by Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

 * Installation to target is the default
 * Remove SDL_EXTRA_CFLAGS, unused
 * Remove reference to SDL_DIRECTFB_INCLUDES, unused
 * Remove strip, done globally

Signed-off-by: cmchao <cmchao@gmail.com>
14 years agosdl_ttf : convert to autotools infrastructure
cmchao [Wed, 16 Jun 2010 11:47:16 +0000 (19:47 +0800)]
sdl_ttf : convert to autotools infrastructure

Changes by Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

 * Installation to target is the default

Signed-off-by: cmchao <cmchao@gmail.com>
14 years agosdl_mixer : convert to autotools infrastructure & bump to 1.2.11
cmchao [Wed, 16 Jun 2010 11:47:15 +0000 (19:47 +0800)]
sdl_mixer : convert to autotools infrastructure & bump to 1.2.11

Changes by Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

 * Installation to target is the default
 * No need to strip, done globally

Signed-off-by: cmchao <cmchao@gmail.com>
14 years agoquagga : convert to autotools infrastructure & bump to 0.99.12
cmchao [Wed, 16 Jun 2010 11:47:14 +0000 (19:47 +0800)]
quagga : convert to autotools infrastructure & bump to 0.99.12

Changes by Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

 * Installation to target is the default
 * No installation to staging is the default
 * The QUAGGA_HEADERS option does not exist
 * BOA_INSTALL_TARGETS_CMDS wouldn't work in the Quagga package, and
   was anyway doing the default action
 * The QUAGGA_BINARY/QUAGGA_TARGET_BINARY variables were not used
 * Bump to 0.99.16, which fixes a problem when IPv6 is not enabled

Signed-off-by: cmchao <cmchao@gmail.com>
merge quagga

14 years agogawk: enable host package
Thomas Petazzoni [Sun, 20 Jun 2010 21:28:14 +0000 (23:28 +0200)]
gawk: enable host package

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agomake : convert to autotools infrastructure
cmchao [Wed, 16 Jun 2010 11:47:13 +0000 (19:47 +0800)]
make : convert to autotools infrastructure

Changes by Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

 * Target installation is the default
 * No staging installation is the default

Signed-off-by: cmchao <cmchao@gmail.com>
14 years agogzip : convert to autotools infrastructure & bump to 1.4
cmchao [Wed, 16 Jun 2010 11:47:12 +0000 (19:47 +0800)]
gzip : convert to autotools infrastructure & bump to 1.4

Changes by Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

     * Installation to target is the default
     * No installation to staging is the default

Signed-off-by: cmchao <cmchao@gmail.com>
14 years agolibfuse : convert to autotools infrastructure & bump to 2.8.4
cmchao [Wed, 16 Jun 2010 11:47:11 +0000 (19:47 +0800)]
libfuse : convert to autotools infrastructure & bump to 2.8.4

Changes by Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

 * Installation to target is the default
 * Remove incorrect libfuse-dirclean target
 * Remove INSTALL_STAGING_CMDS, since its implementation was the default behaviour
 * No need to strip, done globally
 * No need to create main directories in $(TARGET_DIR)

Signed-off-by: cmchao <cmchao@gmail.com>
14 years agodiffutils : convert to autotools infrastructure
cmchao [Wed, 16 Jun 2010 11:47:10 +0000 (19:47 +0800)]
diffutils : convert to autotools infrastructure

Changes by Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

 * Installation to target is the default

Signed-off-by: cmchao <cmchao@gmail.com>
14 years agodash : convert to autotools infrastructure & bump to 0.5.5.1
cmchao [Wed, 16 Jun 2010 11:47:09 +0000 (19:47 +0800)]
dash : convert to autotools infrastructure & bump to 0.5.5.1

Changes by Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

 * No need to strip
 * Target installation is the default
 * No installation to staging is the default
 * Remove DASH_BINARY/DASH_SOURCE variables
 * Fix minor mistakes
 * Simplify: no need to pass CC/CC_FOR_BUILD

Signed-off-by: cmchao <cmchao@gmail.com>
merge dash

14 years agoberkeleydb : convert to autotools infrastructure & bump to 4.4.20
cmchao [Wed, 16 Jun 2010 11:47:08 +0000 (19:47 +0800)]
berkeleydb : convert to autotools infrastructure & bump to 4.4.20

Changes by Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

 * Installation to target is the default
 * Use BERKELEYDB_SUBDIR to get rid of the specific BUILD_CMDS and
   INSTALL_STAGING_CMDS
 * Split the INSTALL_TARGET_CMDS to install development files on the
   target only when needed

Signed-off-by: cmchao <cmchao@gmail.com>
14 years agodialog : convert to autotools infrastructure & bump to 1.1-20100428
cmchao [Wed, 16 Jun 2010 11:47:07 +0000 (19:47 +0800)]
dialog : convert to autotools infrastructure & bump to 1.1-20100428

Changes by Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

 * Installation to target is the default behaviour
 * No installation to staging is the default behaviour
 * Stripping is done globally

Signed-off-by: cmchao <cmchao@gmail.com>
14 years agolinks : convert to autotools infrastructure & bump to 1.01pre1-no-ssl
cmchao [Wed, 16 Jun 2010 11:47:06 +0000 (19:47 +0800)]
links : convert to autotools infrastructure & bump to 1.01pre1-no-ssl

Changes by Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

 * Installation to target is the default behaviour
 * No installation to staging is the default behaviour
 * Stripping is done globally
 * Remove incorrect cleaning rules

Signed-off-by: cmchao <cmchao@gmail.com>
14 years agofbv : convert to autotools infrastructure
cmchao [Wed, 16 Jun 2010 11:47:05 +0000 (19:47 +0800)]
fbv : convert to autotools infrastructure

Changes by Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

 * Target installation is the default behaviour
 * No installation to staging is the default behaviour
 * Remove FBV_BINARY/FBV_TARGET_BINARY variables

Signed-off-by: cmchao <cmchao@gmail.com>
14 years agodmalloc : convert to autotools infrastructure
cmchao [Wed, 16 Jun 2010 11:47:04 +0000 (19:47 +0800)]
dmalloc : convert to autotools infrastructure

Changes by Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

     * Target installation is the default behaviour
     * No installation to staging is the default behaviour
     * Remove DMALLOC_TARGET_BINARY variable

Signed-off-by: cmchao <cmchao@gmail.com>
14 years agodistcc : convert to autotools infrastructure & bump to 1.1-20100428
cmchao [Wed, 16 Jun 2010 11:47:03 +0000 (19:47 +0800)]
distcc : convert to autotools infrastructure & bump to 1.1-20100428

Changes by Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

     * Target installation is the default behaviour
     * No installation to staging is the default behaviour
     * Remove DISTCC_BINARY/DISTCC_TARGET_BINARY variables

Signed-off-by: cmchao <cmchao@gmail.com>
14 years agoMakefile.autotools.in fix typo (s/extrators/extractors/)
Peter Korsgaard [Wed, 23 Jun 2010 21:13:48 +0000 (23:13 +0200)]
Makefile.autotools.in fix typo (s/extrators/extractors/)

Noticed by Michael S. Zick.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoMakefile.package.in: Add support for *.tbz2 package archives
Paul Jones [Wed, 23 Jun 2010 21:05:33 +0000 (23:05 +0200)]
Makefile.package.in: Add support for *.tbz2 package archives

Signed-off-by: Paul Jones <paul@pauljones.id.au>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoFix u-boot 2010.03 build for AVR32 targets
Thiago A. Correa [Wed, 23 Jun 2010 03:42:52 +0000 (00:42 -0300)]
Fix u-boot 2010.03 build for AVR32 targets

Signed-off-by: Thiago A. Correa <thiago.correa@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agotarget/device: misc cleanup
Peter Korsgaard [Wed, 23 Jun 2010 20:57:54 +0000 (22:57 +0200)]
target/device: misc cleanup

Remove outdated and/or unused variables/files.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agointegrator926: use standard uclibc config
Peter Korsgaard [Wed, 23 Jun 2010 09:27:29 +0000 (11:27 +0200)]
integrator926: use standard uclibc config

I don't see any reason to use a custom config here.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agodefconfigs: use the default BR2_JLEVEL setting (2)
Peter Korsgaard [Wed, 23 Jun 2010 09:20:29 +0000 (11:20 +0200)]
defconfigs: use the default BR2_JLEVEL setting (2)

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agomodule-init-tools: don't build documentation
Peter Korsgaard [Wed, 23 Jun 2010 09:05:51 +0000 (11:05 +0200)]
module-init-tools: don't build documentation

We don't have docbook2man in buildroot, and the build breaks if you
have it on the host, but in an incompatible version (like on my machine).

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoMerge branch 'linux-cleanup' of git://git.busybox.net/~tpetazzoni/git/buildroot
Peter Korsgaard [Tue, 22 Jun 2010 21:43:08 +0000 (23:43 +0200)]
Merge branch 'linux-cleanup' of git://git.busybox.net/~tpetazzoni/git/buildroot

Conflicts:
target/Makefile.in

14 years agoRemove now unused Config.in for kernel selection
Thomas Petazzoni [Fri, 18 Jun 2010 06:44:06 +0000 (08:44 +0200)]
Remove now unused Config.in for kernel selection

It's now linux/Config.in that allows to configure the kernel
configuration/compilation.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agolinux: add support for initramfs
Thomas Petazzoni [Sun, 13 Jun 2010 17:19:38 +0000 (19:19 +0200)]
linux: add support for initramfs

In Buildroot, the kernel is built and installed *before* the root
filesystems are built. This allows the root filesystem to correctly
contain the kernel modules that have been installed.

However, in the initramfs case, the root filesystem is part of the
kernel. Therefore, the kernel should be built *after* the root
filesystem (which, in the initramfs case simply builds a text file
listing all files/directories/devices/symlinks that should be part of
the initramfs). However, this isn't possible as the initramfs text
file would lack all kernel modules.

So, the solution choosen here is to keep the normal order: kernel is
built before the root filesystem is generated, and to add a little
quirk to retrigger a kernel compilation after the root filesystem
generation.

To do so, we add a ROOTFS_$(FSTYPE)_POST_TARGETS variable to the
fs/common.mk infrastructure. This allows individual filesystems to set
a target name that we should depend on *after* generating the root
filesystem itself (contrary to normal ROOTFS_$(FSTYPE)_DEPENDENCIES,
on which we depend *before* generating the root filesystem).

The initramfs code in fs/initramfs/initramfs.mk uses this to add a
dependency on 'linux26-rebuild-with-initramfs'.

In linux/linux.mk, we do various things :

 * If BR2_TARGET_ROOTFS_INITRAMFS is enabled (i.e if initramfs is
   enabled as a root filesystem type), then we create an empty
   rootfs.initramfs file (remember that at this point, the root
   filesystem hasn't been generated) and we adjust the kernel
   configuration to include an initramfs. Of course, in the initial
   kernel build, this initramfs will be empty.

 * In the linux26-rebuild-with-initramfs target, we retrigger a
   compilation of the kernel image, after removing the initramfs in
   the kernel sources to make sure it gets properly rebuilt (we've
   experienced cases were modifying the rootfs.initramfs file wouldn't
   retrigger the generation of the initramfs at the kernel level).

This is fairly quirky, but initramfs really is a special case, so in
one way or another, we need a little quirk to solve its specialness.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agolinux: add support for linux26-{menuconfig,xconfig,gconfig} targets
Thomas Petazzoni [Sun, 13 Jun 2010 17:18:34 +0000 (19:18 +0200)]
linux: add support for linux26-{menuconfig,xconfig,gconfig} targets

These targets allow the user to customize the configuration of the
Linux kernel. After changing the kernel configuration, the next time
the user runs "make", the kernel is rebuilt to take into account the
new configuration (not rebuilt from scratch).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agolinux: adjust kernel config according to the Buildroot configuration
Thomas Petazzoni [Tue, 8 Jun 2010 11:56:19 +0000 (13:56 +0200)]
linux: adjust kernel config according to the Buildroot configuration

We only adjust the configuration or ARM EABI and IPv6. The (more
complicated) initramfs case is handled in a separate commit. The user
is expected to take care of all other configuration details (like
having Netfilter enabled to make iptables work, etc.)

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoAdd generic functions to enable/set/disable options in kconfig files
Thomas Petazzoni [Tue, 8 Jun 2010 11:54:10 +0000 (13:54 +0200)]
Add generic functions to enable/set/disable options in kconfig files

The KCONFIG_ENABLE_OPT, KCONFIG_SET_OPT and KCONFIG_DISABLE_OPT are
new make functions to respectively enable, set and disable options in
Kconfig-like files (as used by the kernel, uClibc or Busybox).

They can be used as follows :

 $(call KCONFIG_ENABLE_OPT,CONFIG_FOOBAR,/path/to/.config)
 $(call KCONFIG_SET_OPT,CONFIG_BARFOO,foobar,/path/to/.config)
 $(call KCONFIG_DISABLE_OPT,CONFIG_FARBOO,/path/to/.config)

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agolinux: Add dependency on host-module-init-tools
Thomas Petazzoni [Sat, 5 Jun 2010 19:26:18 +0000 (21:26 +0200)]
linux: Add dependency on host-module-init-tools

In order to not depend on module init tools being installed on the
development environment of the Buildroot user, let's build module init
tools for the host.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agomodule-init-tools: bump version + convert to autotools
Thomas Petazzoni [Sat, 5 Jun 2010 15:39:05 +0000 (17:39 +0200)]
module-init-tools: bump version + convert to autotools

The "remove-index" patch is no longer needed, the newer version of
module-init-tools correctly uses strchr().

The "module-init-tools" patch, whose main purpose was to disable the
generation of man pages (it requires docbook2man), is replaced by a
simpler implementation,
module-init-tools-3.11-add-manpages-config-option.patch.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agomodule-init-tools: remove support for cross-depmod
Thomas Petazzoni [Sat, 5 Jun 2010 15:33:44 +0000 (17:33 +0200)]
module-init-tools: remove support for cross-depmod

The new infrastructure to build the Linux kernel doesn't use a
cross-depmod. This isn't needed with modern module-init-tools that
most distros include perfectly handle this.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoiso9660: take into account the linux changes
Thomas Petazzoni [Sat, 3 Apr 2010 16:55:43 +0000 (18:55 +0200)]
iso9660: take into account the linux changes

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoRemove old Linux infrastructure
Thomas Petazzoni [Sat, 3 Apr 2010 16:55:09 +0000 (18:55 +0200)]
Remove old Linux infrastructure

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoNew, simpler, infrastructure for building the Linux kernel
Thomas Petazzoni [Sat, 3 Apr 2010 16:46:46 +0000 (18:46 +0200)]
New, simpler, infrastructure for building the Linux kernel

This patch introduces a single, simple, infrastructure to build the
Linux kernel. The configuration is limited to :

 * Kernel version: a fixed recent stable version, same as kernel
   headers version (for internal toolchains only), custom stable
   version, or custom tarball URL

 * Kernel patch: either a local file, directory or an URL

 * Kernel configuration: either the name of a defconfig or the
   location of a custom configuration file

 * Kernel image: either uImage, bzImage, zImage or vmlinux.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agotarget: get rid of unused BR2_COPYTO / BR2_TARGET_ATMEL_COPYTO
Peter Korsgaard [Tue, 22 Jun 2010 15:41:34 +0000 (17:41 +0200)]
target: get rid of unused BR2_COPYTO / BR2_TARGET_ATMEL_COPYTO

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agopackage: remove games/Config.in
Peter Korsgaard [Tue, 22 Jun 2010 14:49:51 +0000 (16:49 +0200)]
package: remove games/Config.in

Unused since the package menu restructuring.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agodocs: Document location of .config for out-of-tree builds
Peter Korsgaard [Mon, 21 Jun 2010 21:07:12 +0000 (23:07 +0200)]
docs: Document location of .config for out-of-tree builds

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agodocs: fix git-over-http description
Peter Korsgaard [Mon, 21 Jun 2010 20:24:32 +0000 (22:24 +0200)]
docs: fix git-over-http description

This has now finally been setup.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoConfig.in.mirrors: Use sources.buildroot.net as default backup site
Peter Korsgaard [Mon, 21 Jun 2010 20:20:02 +0000 (22:20 +0200)]
Config.in.mirrors: Use sources.buildroot.net as default backup site

The buildroot/busybox/uClibc VM is running low on disk space, and we've
been asked to move the source mirrors off-site.

A redirect has been setup between the old buildroot.net/downloads/sources/
and sources.buildroot.net, so old .configs continue to work, but we might
as well use the official one now.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agocheck-host-sed.sh: use mktemp for temporary file
Peter Korsgaard [Mon, 21 Jun 2010 20:33:51 +0000 (22:33 +0200)]
check-host-sed.sh: use mktemp for temporary file

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agocheck-lxdialog.sh: use mktemp for temporary file
Peter Korsgaard [Mon, 21 Jun 2010 20:31:12 +0000 (22:31 +0200)]
check-lxdialog.sh: use mktemp for temporary file

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agopackage/config: create .depend in object directory
Peter Korsgaard [Mon, 21 Jun 2010 20:28:38 +0000 (22:28 +0200)]
package/config: create .depend in object directory

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agokconfig: build in BUILD_DIR/buildroot-config
Peter Korsgaard [Sun, 20 Jun 2010 21:05:32 +0000 (23:05 +0200)]
kconfig: build in BUILD_DIR/buildroot-config

This way the main buildroot dir can be completely read-only for
out-of-tree builds

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoMakefile: fix make <blah>_defconfig
Peter Korsgaard [Mon, 21 Jun 2010 20:13:20 +0000 (22:13 +0200)]
Makefile: fix make <blah>_defconfig

Make sure we only pass O=<path> if we were originally called like that,
otherwise we might end up looking for the .config in the wrong place.

Likewise, when changing between using O= or not (or simply running
make <blah>_defconfig in a pristine source tree), we do end up having
a .config, but no .config.cmd. It isn't really critical so just continue
even if we couldn't read it.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agocleanup/simplify kconfig changes for O= builds
Peter Korsgaard [Sun, 20 Jun 2010 11:43:36 +0000 (13:43 +0200)]
cleanup/simplify kconfig changes for O= builds

No functional change.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoMove config files into output directory for out-of-tree build
Will Wagner [Mon, 11 Jan 2010 12:28:50 +0000 (12:28 +0000)]
Move config files into output directory for out-of-tree build

Closes #1213

Signed-off-by: Will Wagner <will_wagner@carallon.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoCHANGES: #835 is closed
Peter Korsgaard [Fri, 18 Jun 2010 20:13:12 +0000 (22:13 +0200)]
CHANGES: #835 is closed

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoncurses: bump to 5.7
Gustavo Zacarias [Tue, 8 Jun 2010 19:22:50 +0000 (16:22 -0300)]
ncurses: bump to 5.7

Closes #2038

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agouClibc: 0.9.31.config: enable UCLIBC_SV4_DEPRECATED option
Peter Korsgaard [Fri, 18 Jun 2010 09:48:58 +0000 (11:48 +0200)]
uClibc: 0.9.31.config: enable UCLIBC_SV4_DEPRECATED option

Needed by xfsprogs.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agontfsprogs: fix fuse dependency
Peter Korsgaard [Fri, 18 Jun 2010 09:19:45 +0000 (11:19 +0200)]
ntfsprogs: fix fuse dependency

The ntfsprogs configure script would add hardcoded host dirs to the
pkg-config search path, confusing configure if libraries were installed
on the host and not on the target.

At the same time, ensure that fuse is build before ntfsprogs (if enabled),
so the fuse support gets built.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agontfsprogs: disable crypto support
Peter Korsgaard [Fri, 18 Jun 2010 07:19:24 +0000 (09:19 +0200)]
ntfsprogs: disable crypto support

The ntfsprogs crypto support requires libgnutls, which we don't have
in BR, and the autodetection in configure gets confused when the host
has a libcrypt-config.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agosquashfs: fix build with uClibc
Peter Korsgaard [Thu, 17 Jun 2010 20:45:22 +0000 (22:45 +0200)]
squashfs: fix build with uClibc

squashfs used the get_nprocs() GNU extension, instead of directly
calling sysconf(), breaking the build on uClibc.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agolrzsz: convert to autotools infrastructure
cmchao [Wed, 16 Jun 2010 11:47:21 +0000 (19:47 +0800)]
lrzsz: convert to autotools infrastructure

Signed-off-by: cmchao <cmchao@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agolibart: fix staging install
Gustavo Zacarias [Wed, 16 Jun 2010 19:17:23 +0000 (16:17 -0300)]
libart: fix staging install

The libart package had a couple of typos so it never really installed to
staging. So fix it.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agotoolchain: remove gcc 4.1.2 and non-sysroot support
Peter Korsgaard [Tue, 15 Jun 2010 21:10:03 +0000 (23:10 +0200)]
toolchain: remove gcc 4.1.2 and non-sysroot support

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agotoolchain/gcc: Use 4.3.x like for 4.4, get rid of older 4.3.x versions
Peter Korsgaard [Tue, 15 Jun 2010 20:58:17 +0000 (22:58 +0200)]
toolchain/gcc: Use 4.3.x like for 4.4, get rid of older 4.3.x versions

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agotoolchain: bump gcc 4.3.x series to 4.3.5
Gustavo Zacarias [Tue, 15 Jun 2010 13:24:44 +0000 (10:24 -0300)]
toolchain: bump gcc 4.3.x series to 4.3.5

Closes #2065

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoFix potentially conflicting build flags
Paul Jones [Mon, 14 Jun 2010 12:36:04 +0000 (22:36 +1000)]
Fix potentially conflicting build flags

Change the default target optimisation value so
it does not conflict with gcc optimization level

Signed-off-by: Paul Jones <paul@pauljones.id.au>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoffmpeg: add user-defined configure parameters
Luca Ceresoli [Mon, 14 Jun 2010 19:41:45 +0000 (21:41 +0200)]
ffmpeg: add user-defined configure parameters

Closes #401

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoffmpeg: allow customization of codecs, (de)muxers and other components
Luca Ceresoli [Mon, 14 Jun 2010 19:41:44 +0000 (21:41 +0200)]
ffmpeg: allow customization of codecs, (de)muxers and other components

Add the option to customize the list of decoders, encoders, muxers, demuxers,
parsers, protocols, bsfs and filters to be built into ffmpeg, and to compile or
exclude input and output devices.

[Peter: fix qstrip invocation]
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoffmpeg: add commandline programs
Luca Ceresoli [Mon, 14 Jun 2010 19:41:43 +0000 (21:41 +0200)]
ffmpeg: add commandline programs

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoffmpeg: add new package
Luca Ceresoli [Mon, 14 Jun 2010 19:41:42 +0000 (21:41 +0200)]
ffmpeg: add new package

[Peter: configure doesn't support --disable-nls / --disable-largefile,
 needs largefile support in toolchain]
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoat91dataflashboot: fix patch target
Peter Korsgaard [Mon, 14 Jun 2010 20:59:14 +0000 (22:59 +0200)]
at91dataflashboot: fix patch target

Touch destination file so the patch target isn't rerun for every
invocation.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoat91bootstrap: add help text
Peter Korsgaard [Mon, 14 Jun 2010 20:33:08 +0000 (22:33 +0200)]
at91bootstrap: add help text

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoCHANGES: update with changes from Thomas' bootloaders-cleanup branch
Peter Korsgaard [Mon, 14 Jun 2010 20:25:32 +0000 (22:25 +0200)]
CHANGES: update with changes from Thomas' bootloaders-cleanup branch

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoat91bootstrap: don't depend on BR .config
Peter Korsgaard [Mon, 14 Jun 2010 20:21:11 +0000 (22:21 +0200)]
at91bootstrap: don't depend on BR .config

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoMerge branch 'bootloaders-cleanup' of git://git.busybox.net/~tpetazzoni/git/buildroot
Peter Korsgaard [Mon, 14 Jun 2010 19:41:12 +0000 (21:41 +0200)]
Merge branch 'bootloaders-cleanup' of git://git.busybox.net/~tpetazzoni/git/buildroot

14 years agobusybox: add 1.16.2 devmem fix for access to the highest page
Peter Korsgaard [Mon, 14 Jun 2010 07:47:49 +0000 (09:47 +0200)]
busybox: add 1.16.2 devmem fix for access to the highest page

From busybox git.

Devmem used to always map 2 pages in case the access would cross a page
boundary, which fails if you try to access the highest page.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agobusybox: bump 1.16.x version
Peter Korsgaard [Mon, 14 Jun 2010 07:45:38 +0000 (09:45 +0200)]
busybox: bump 1.16.x version

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoipsec-tools: bump version, convert to autotools format and simplify Config.in
Peter Korsgaard [Sun, 13 Jun 2010 12:24:48 +0000 (14:24 +0200)]
ipsec-tools: bump version, convert to autotools format and simplify Config.in

Closes #2035

- Remove -Werror from CFLAGS
- Always enable ipv6 support if available in toolchain
- Always install into staging

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agovpnc: remove unused legacy patches
Peter Korsgaard [Sun, 13 Jun 2010 12:51:23 +0000 (14:51 +0200)]
vpnc: remove unused legacy patches

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agolinux: fix dependency on mkimage
Thomas Petazzoni [Mon, 7 Jun 2010 21:11:26 +0000 (23:11 +0200)]
linux: fix dependency on mkimage

After the rework of the U-Boot configuration/compilation process, we
need to slightly rework how target/linux/Makefile.in.advanced depends
on mkimage on the host to produce an uImage.

target/linux/Makefile.in doesn't need to be fixed as it just doesn't
handle this dependency for the moment.

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