Commit Graph

7682 Commits

Author SHA1 Message Date
Thomas Petazzoni
c2a44f158e initramfs: update help text
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-26 07:44:16 +02:00
Thomas Petazzoni
93e8014709 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>
2010-06-26 07:43:20 +02:00
Peter Korsgaard
c59d700786 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>
2010-06-25 23:18:43 +02:00
Peter Huewe
f4abd4e612 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>
2010-06-25 14:15:12 +02:00
Gustavo Zacarias
237c98b295 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>
2010-06-25 13:49:36 +02:00
Gustavo Zacarias
7b3aee7606 Deprecate rp-pppoe, functionality is in pppd
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-25 13:49:08 +02:00
Gustavo Zacarias
1c7de59a73 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>
2010-06-25 13:35:09 +02:00
Peter Korsgaard
88d451c8db CHANGES: update after autotools-conversion merge
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-25 12:31:51 +02:00
Peter Korsgaard
bb7593dfdb 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>
2010-06-25 12:25:57 +02:00
Peter Korsgaard
a2a22b82fa Merge branch 'autotools-conversion' of git://git.busybox.net/~tpetazzoni/git/buildroot 2010-06-25 12:18:30 +02:00
Peter Huewe
6074f08b8d 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>
2010-06-24 17:34:01 +02:00
Slava Zanko
1b10ce7156 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>
2010-06-24 17:01:15 +02:00
Paul Jones
6b92969386 Add package xterm
Signed-off-by: Paul Jones <paul@pauljones.id.au>
2010-06-24 13:51:11 +02:00
Paul Jones
bb43b24086 Remove package rxvt
It is very old (cira 2003) and very broken

Signed-off-by: Paul Jones <paul@pauljones.id.au>
2010-06-24 13:51:11 +02:00
cmchao
61ce3aaa64 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>
2010-06-24 13:51:11 +02:00
cmchao
9155a9cfa0 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>
2010-06-24 13:51:11 +02:00
cmchao
cce342461a 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>
2010-06-24 13:51:10 +02:00
cmchao
fcb48a9a65 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>
2010-06-24 13:51:10 +02:00
cmchao
9b3219fd49 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>
2010-06-24 13:51:10 +02:00
cmchao
2a10e22d1e 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
2010-06-24 13:51:09 +02:00
Thomas Petazzoni
58b653ee24 gawk: enable host package
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-06-24 13:51:09 +02:00
cmchao
1cfa586f15 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>
2010-06-24 13:51:09 +02:00
cmchao
9b34286bd8 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>
2010-06-24 13:51:08 +02:00
cmchao
6e9655a5e8 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>
2010-06-24 13:51:08 +02:00
cmchao
fb42c6a11a 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>
2010-06-24 13:51:08 +02:00
cmchao
c1e3d5d2a1 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
2010-06-24 13:51:08 +02:00
cmchao
ef82aebff9 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>
2010-06-24 13:51:07 +02:00
cmchao
f97d2871dc 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>
2010-06-24 13:51:07 +02:00
cmchao
2406251d70 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>
2010-06-24 13:51:07 +02:00
cmchao
9486dcc93a 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>
2010-06-24 13:51:06 +02:00
cmchao
c4c8b25467 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>
2010-06-24 13:51:06 +02:00
cmchao
8397a4ca1b 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>
2010-06-24 13:51:06 +02:00
Peter Korsgaard
d39ca39269 Makefile.autotools.in fix typo (s/extrators/extractors/)
Noticed by Michael S. Zick.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-23 23:13:48 +02:00
Paul Jones
059f6bb68a 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>
2010-06-23 23:05:33 +02:00
Thiago A. Correa
b1f184a0d8 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>
2010-06-23 23:00:42 +02:00
Peter Korsgaard
4aeb8c851a target/device: misc cleanup
Remove outdated and/or unused variables/files.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-23 22:57:54 +02:00
Peter Korsgaard
6d34f1d3bf 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>
2010-06-23 11:27:29 +02:00
Peter Korsgaard
bec212eb49 defconfigs: use the default BR2_JLEVEL setting (2)
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-23 11:20:29 +02:00
Peter Korsgaard
503f8c041d 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>
2010-06-23 11:07:19 +02:00
Peter Korsgaard
f3050b0b9e Merge branch 'linux-cleanup' of git://git.busybox.net/~tpetazzoni/git/buildroot
Conflicts:
	target/Makefile.in
2010-06-22 23:43:08 +02:00
Thomas Petazzoni
7b7b426096 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>
2010-06-22 21:20:28 +02:00
Thomas Petazzoni
f507921d39 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>
2010-06-22 21:20:28 +02:00
Thomas Petazzoni
4944e8c883 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>
2010-06-22 21:20:27 +02:00
Thomas Petazzoni
100c09a53b 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>
2010-06-22 21:20:27 +02:00
Thomas Petazzoni
0802370746 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>
2010-06-22 21:20:27 +02:00
Thomas Petazzoni
dc4d5647a5 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>
2010-06-22 21:20:27 +02:00
Thomas Petazzoni
dcc08e84a5 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>
2010-06-22 21:20:26 +02:00
Thomas Petazzoni
9497c0fee2 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>
2010-06-22 21:20:26 +02:00
Thomas Petazzoni
c7ee5853a0 iso9660: take into account the linux changes
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-06-22 21:20:26 +02:00
Thomas Petazzoni
fe1cba690a Remove old Linux infrastructure
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-06-22 21:20:26 +02:00