buildroot.git
13 years agotoolchain: fix multilib symlink for external toolchains
Thomas Petazzoni [Tue, 21 Dec 2010 12:49:37 +0000 (13:49 +0100)]
toolchain: fix multilib symlink for external toolchains

ARCH_SUBDIR is a shell variable, so it should be referenced with
$${ARCH_SUBDIR}. Without this, no symbolic link is created, and the
external toolchain fails to work if the non-default multilib variant
is used.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agobusybox: bump 1.18.x version
Peter Korsgaard [Tue, 21 Dec 2010 08:39:33 +0000 (09:39 +0100)]
busybox: bump 1.18.x version

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoqt: svg and multimedia modules depends on gui module as well
Peter Korsgaard [Mon, 20 Dec 2010 10:17:05 +0000 (11:17 +0100)]
qt: svg and multimedia modules depends on gui module as well

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoqt: phonon support depends on gui module
Peter Korsgaard [Mon, 20 Dec 2010 09:12:39 +0000 (10:12 +0100)]
qt: phonon support depends on gui module

Otherwise configure errors out with 'Phonon enabled, but GUI disabled'.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolinux: fix linux-% shortcut targets
Bjørn Forsman [Sun, 19 Dec 2010 18:37:29 +0000 (19:37 +0100)]
linux: fix linux-% shortcut targets

linux-% shortcut targets (short for linux26-%) ignores the ouput dir
$(O) so that 'make O=output.arm linux-menuconfig' is actually run in the
default $(O) directory output/ and not in output.arm/. Fix by passing on
$(O) if set.

[Peter: Use EXTRAMAKEARGS]
Signed-off-by: Bjørn Forsman <bjorn.forsman@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolinux: support 'make linux26-nconfig'
Bjørn Forsman [Sun, 19 Dec 2010 18:37:28 +0000 (19:37 +0100)]
linux: support 'make linux26-nconfig'

Signed-off-by: Bjørn Forsman <bjorn.forsman@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agotoolchain/gcc: bump 4.5.x version
Peter Korsgaard [Sun, 19 Dec 2010 20:09:00 +0000 (21:09 +0100)]
toolchain/gcc: bump 4.5.x version

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolinux: add KERNEL_ARCH_PATH to fix x86-specific issue
Thomas Petazzoni [Sun, 5 Dec 2010 20:53:26 +0000 (21:53 +0100)]
linux: add KERNEL_ARCH_PATH to fix x86-specific issue

Both i386 and x86_64 architectures are supported by the arch/x86
directory in the kernel. So, when we copy the kernel configuration
file to arch/$(KERNEL_ARCH)/configs/, it does not work because
arch/i386 and arch/x86_64 do not exist.

So, we introduce KERNEL_ARCH_PATH, which is the path to the
architecture specific directory in the kernel source tree.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoboard: Add a Qemu mipsel Malta board
Thomas Petazzoni [Sun, 5 Dec 2010 20:53:25 +0000 (21:53 +0100)]
board: Add a Qemu mipsel Malta board

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoboard: Add a Qemu PPC g3beige board
Thomas Petazzoni [Sun, 5 Dec 2010 20:53:24 +0000 (21:53 +0100)]
board: Add a Qemu PPC g3beige board

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolinux: add support for ELF vmlinux image
Thomas Petazzoni [Sun, 5 Dec 2010 20:53:23 +0000 (21:53 +0100)]
linux: add support for ELF vmlinux image

The ELF vmlinux image found at the root of the kernel source tree is
the format that Qemu needs when emulating mips(el) or ppc targets, so
add support for it.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoboard: Add Qemu SH4 r2d configuration
Philippe Reynes [Sun, 5 Dec 2010 20:53:22 +0000 (21:53 +0100)]
board: Add Qemu SH4 r2d configuration

[ Thomas:

   * renamed sh4_defconfig to qemu_sh4_r2d_defconfig, for consistency
     with other Qemu platforms supported
   * renamed board/qemu/sh4 to board/qemu/sh4-r2d
   * minor fixes in the readme.txt
   * remove useless statements in the minimal defconfig
   * switch to a fixed kernel version instead of "same as headers"
]

Signed-off-by: Philippe Reynes <tremyfr@yahoo.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoxtensa: remove unused and useless skeleton patch
Thomas Petazzoni [Sun, 5 Dec 2010 20:53:21 +0000 (21:53 +0100)]
xtensa: remove unused and useless skeleton patch

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolinux: support a space-separated list of patches
Thomas Petazzoni [Sun, 5 Dec 2010 20:53:18 +0000 (21:53 +0100)]
linux: support a space-separated list of patches

The kernel being a component that often needs a fairly important set
of changes to be adapted to a particular hardware platform, having
maximum flexibility on the patching process is a nice
thing. Therefore, as per the discussions from the Buildroot Developer
Day, we add a mechanism to apply a list of patches (that could come
either from URLs, local files or local directories).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolinux: Import minimal defconfigs as defconfigs
Thomas Petazzoni [Sun, 5 Dec 2010 20:53:17 +0000 (21:53 +0100)]
linux: Import minimal defconfigs as defconfigs

Now that minimal kernel defconfigs are used in Buildroot, the problem
is that copying those minimal configuration files to .config in the
kernel source tree does not work, as kconfig will ask interactively
what should be the value for all unspecified options.

On suggestion on Sam Ravnborg, the easiest way to solve this is to
import the minimal defconfig file as a defconfig inside the kernel
tree (in arch/$(ARCH)/configs) and configure the kernel with it.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoAdd network scripting folders to fs/skeleton
Yegor Yefremov [Sun, 5 Dec 2010 20:53:15 +0000 (21:53 +0100)]
Add network scripting folders to fs/skeleton

Those folders are currently created using makedevs according to the
specifications in device_table.txt. However, as makedevs is no longer
executed when dynamic device creation methods are selected (devtmpfs,
udev, mdev), those folders must be created differently. We choose to
put them directly into the default filesystem skeleton.

Signed-off-by: Yegor Yefremov <yegor_sub1@visionsystems.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoFree text field for serial port configuration
Yegor Yefremov [Sun, 5 Dec 2010 20:53:14 +0000 (21:53 +0100)]
Free text field for serial port configuration

BR2_TARGET_GENERIC_GETTY_PORT has now a string type instead of choice.
This makes port configuration flexible and compact.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agou-boot: add CROSS_COMPILE/ARCH when building host tools
Thomas Petazzoni [Sun, 5 Dec 2010 20:53:13 +0000 (21:53 +0100)]
u-boot: add CROSS_COMPILE/ARCH when building host tools

Even when building the host tools, for some reason U-Boot tries to
execute the cross-compiler, so tell it which cross-compiler to use in
order to avoid failure such as:

/usr/bin/make -j12 -C /home/test/outputs/test-253-mini2440_defconfig/build/u-boot-custom tools
make[1]: arm-linux-gcc: Command not found
make[1]: Entering directory `/home/test/outputs/test-253-mini2440_defconfig/build/u-boot-custom'
for dir in tools examples api_examples ; do /usr/bin/make -C $dir _depend ; done
Generating include/autoconf.mk
/bin/sh: line 3: arm-linux-gcc: command not found

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoboard: add new Qemu x86 configuration file
Thomas Petazzoni [Sun, 5 Dec 2010 20:53:12 +0000 (21:53 +0100)]
board: add new Qemu x86 configuration file

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoboard: add support for Mini 2440
Thomas Petazzoni [Sun, 5 Dec 2010 20:53:11 +0000 (21:53 +0100)]
board: add support for Mini 2440

Paul Jones documented at
http://pauljones.id.au/blog/2010/07/using-buildroot-on-a-mini2440/ how
to use Buildroot to generate a system for the FriendlyARM Mini2440
platform. This patch integrates Paul's work into Buildroot.

Unfortunately, the kernel being 2.6.32, we can't easily use a minimal
defconfig here. The mini2440 support has been merged into more recent
kernels, but I don't have the hardware to test.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoboard: add Qemu Versatile defconfig
Thomas Petazzoni [Sun, 5 Dec 2010 20:53:10 +0000 (21:53 +0100)]
board: add Qemu Versatile defconfig

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoRemove the few remaining unused Atmel-specific bits
Thomas Petazzoni [Sun, 5 Dec 2010 20:53:09 +0000 (21:53 +0100)]
Remove the few remaining unused Atmel-specific bits

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoboard: remove Valka v100sc2
Thomas Petazzoni [Sun, 5 Dec 2010 20:53:08 +0000 (21:53 +0100)]
board: remove Valka v100sc2

This default configuration did not even build a kernel image, which is
the main point of having board default configuration. So remove it.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoboard: remove atstk1005_defconfig
Thomas Petazzoni [Sun, 5 Dec 2010 20:53:07 +0000 (21:53 +0100)]
board: remove atstk1005_defconfig

Neither the kernel nor U-Boot have support for a 1005 board, so let's
get rid of this board configuration, the corresponding target
skeleton, kernel and busybox configuration and device table.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoboard: update and minimize atstk100x_defconfig
Thomas Petazzoni [Sun, 5 Dec 2010 20:53:06 +0000 (21:53 +0100)]
board: update and minimize atstk100x_defconfig

Use recent U-Boot and kernel version, remove target skeleton and use
the default one instead, remove useless kernel configuration, busybox
configuration and device table.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoboard: remove support for at91sam9260pf
Thomas Petazzoni [Sun, 5 Dec 2010 20:53:05 +0000 (21:53 +0100)]
board: remove support for at91sam9260pf

It was supposed to be the support for AT91SAM9260 using a parallel flash
(instead of the usual dataflash). But the provided U-Boot configuration
at91sam9260pf.h was not used anywhere, and it was unsufficient to add
correct support in U-Boot (some changes in U-Boot Makefile would also be
needed). Additionnally, this configuration has not been merged into U-Boot
upstream since 2007 (when it was added to Buildroot).

Therefore, let's get rid of this configuration. If some users are
interested, we can re-introduce it properly with their help.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoboard: update and minify at91sam9260dfc_defconfig
Thomas Petazzoni [Sun, 5 Dec 2010 20:53:04 +0000 (21:53 +0100)]
board: update and minify at91sam9260dfc_defconfig

Use recent U-Boot and kernel versions, remove useless kernel
configuration file.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoboard: update and minify at91rm9200df_defconfig
Thomas Petazzoni [Sun, 5 Dec 2010 20:53:03 +0000 (21:53 +0100)]
board: update and minify at91rm9200df_defconfig

Use recent U-Boot and kernel versions, remove useless kernel
configuration file.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoboard: simplify kb9202 board
Thomas Petazzoni [Sun, 5 Dec 2010 20:53:02 +0000 (21:53 +0100)]
board: simplify kb9202 board

Minimize the board defconfig, remove custom busybox configuration,
custom kernel configuration (use the kernel defconfig instead), custom
device table and target skeleton. The only difference in the target
skeleton was the support of mdev and the usage of an automount
script. Instead of adding this in a board-specific way, we should
provide board-independent configuration options. There are already
patches contributed to add support for mdev.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoboard: simplify atngw100 support
Thomas Petazzoni [Sun, 5 Dec 2010 20:53:01 +0000 (21:53 +0100)]
board: simplify atngw100 support

Minimize atngw100_defconfig, remove atngw100-base_defconfig, and
remove the target skeleton and device table. Instead of having
complete copies of new target skeletons (making them hard to
maintain), we should just have a post-build script that
adds/removes/tweaks the existing target skeleton.

Moreover, most of the tweaks in this target skeleton were for specific
packages, but the policy now is that board defconfig should just build
a basic root filesystem with Busybox, and let the user select
whichever set of packages (s)he wants.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoMinify arm_nptl_toolchain_defconfig
Thomas Petazzoni [Sun, 5 Dec 2010 20:53:00 +0000 (21:53 +0100)]
Minify arm_nptl_toolchain_defconfig

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoMinify arm_toolchain_defconfig
Thomas Petazzoni [Sun, 5 Dec 2010 20:52:59 +0000 (21:52 +0100)]
Minify arm_toolchain_defconfig

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoboard: remove i386/i686_defconfig
Thomas Petazzoni [Sun, 5 Dec 2010 20:52:58 +0000 (21:52 +0100)]
board: remove i386/i686_defconfig

Those are not associated with any specific hardware system (PC or
another i386 system). Moreover, the fact that those configurations
require the build of a JFFS2 filesystem, very uncommon on PC systems,
seems to indicate that those configurations are not really being used
today.

It would make more sense to have a qemu_i388_defconfig (building a
kernel with just the device drivers for Qemu) and possibly a
pc_i386_defconfig (building a kernel with many device drivers, and a
bootloader such as Grub or Grub 2).

We also remove the corresponding kernel configuration files.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoRemove useless kernel config files for integrator926
Thomas Petazzoni [Sun, 5 Dec 2010 20:52:57 +0000 (21:52 +0100)]
Remove useless kernel config files for integrator926

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoboard: remove integrator926_huge_defconfig
Thomas Petazzoni [Sun, 5 Dec 2010 20:52:56 +0000 (21:52 +0100)]
board: remove integrator926_huge_defconfig

One config per board is enough.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoboard: minify integrator926_defconfig
Thomas Petazzoni [Sun, 5 Dec 2010 20:52:55 +0000 (21:52 +0100)]
board: minify integrator926_defconfig

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agobarebox: bump Barebox to 2010.11
Thomas Petazzoni [Sun, 5 Dec 2010 20:52:54 +0000 (21:52 +0100)]
barebox: bump Barebox to 2010.11

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agou-boot: add U-Boot 2010.09
Thomas Petazzoni [Sun, 5 Dec 2010 20:52:53 +0000 (21:52 +0100)]
u-boot: add U-Boot 2010.09

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agodependencies: add unzip
Thomas Petazzoni [Sun, 5 Dec 2010 20:52:52 +0000 (21:52 +0100)]
dependencies: add unzip

unzip is needed to uncompress at91bootstrap, so let's add it as a
dependency. This can be discussed, and if we think it shouldn't be a
new dependency, we can also build a host-unzip.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoat91bootstrap: no board name check when 'make source' is used
Thomas Petazzoni [Sun, 5 Dec 2010 20:52:51 +0000 (21:52 +0100)]
at91bootstrap: no board name check when 'make source' is used

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoboard: update and minify at91sam9g20dfc_defconfig
Thomas Petazzoni [Sun, 5 Dec 2010 20:52:50 +0000 (21:52 +0100)]
board: update and minify at91sam9g20dfc_defconfig

Use modern U-Boot and kernel versions, get rid of the now unused
kernel configuration file since we use the kernel defconfig instead.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoboard: update and minify at91sam9261ek_defconfig
Thomas Petazzoni [Sun, 5 Dec 2010 20:52:49 +0000 (21:52 +0100)]
board: update and minify at91sam9261ek_defconfig

Use modern U-Boot and kernel versions, and get rid of the useless
kernel configuration file, since we now use the kernel defconfig.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoboard: update and minify at91sam9263ek_defconfig
Thomas Petazzoni [Sun, 5 Dec 2010 20:52:48 +0000 (21:52 +0100)]
board: update and minify at91sam9263ek_defconfig

Use modern kernel and U-Boot versions, and get rid of the now useless
kernel configuration file since we use the kernel defconfig file
instead.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoat91bootstrap: rename config options for consistency
Thomas Petazzoni [Sun, 5 Dec 2010 20:52:47 +0000 (21:52 +0100)]
at91bootstrap: rename config options for consistency

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoat91bootstrap: switch to the official version
Thomas Petazzoni [Sun, 5 Dec 2010 20:52:46 +0000 (21:52 +0100)]
at91bootstrap: switch to the official version

The Buildroot makefile was fetching and building the special
AT91Bootstrap of Ulf, which is not the Atmel official version. While
Ulf's variant has a better configuration/build system, the Atmel
version, as officially supported, is probably a better choice for the
future.

The Atmel version only needed a small tweak to work with EABI
toolchains.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agodocumentation: Update to explain how board support works
Thomas Petazzoni [Sun, 5 Dec 2010 20:52:45 +0000 (21:52 +0100)]
documentation: Update to explain how board support works

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoRe-add target/generic/Config.in options to menuconfig
Thomas Petazzoni [Sun, 5 Dec 2010 20:52:44 +0000 (21:52 +0100)]
Re-add target/generic/Config.in options to menuconfig

The options to customize the hostname, the banner and the serial port
configuration are now inside a menu named 'System configuration'.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoRemove crazy set of empty directories
Thomas Petazzoni [Sun, 5 Dec 2010 20:52:43 +0000 (21:52 +0100)]
Remove crazy set of empty directories

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoRemove Busybox skeleton from target/device/Atmel
Thomas Petazzoni [Sun, 5 Dec 2010 20:52:42 +0000 (21:52 +0100)]
Remove Busybox skeleton from target/device/Atmel

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoRemove all Config.in/Makefile.in files in target/device
Thomas Petazzoni [Sun, 5 Dec 2010 20:52:41 +0000 (21:52 +0100)]
Remove all Config.in/Makefile.in files in target/device

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoStop referencing the crazy target/device stuff
Thomas Petazzoni [Sun, 5 Dec 2010 20:52:40 +0000 (21:52 +0100)]
Stop referencing the crazy target/device stuff

We don't need Config.in and Makefile in target/device: defconfig files
are sufficient to describe the specificities of a board (architecture,
compilation flags, bootloader and kernel details, etc.).

However, a placeholder such as target/device will be kept in order to
host things such as kernel configuration files or various
board-specific patches.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoRemove mini device table, it isn't used
Thomas Petazzoni [Sun, 5 Dec 2010 20:52:39 +0000 (21:52 +0100)]
Remove mini device table, it isn't used

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoUse the new BR2_ROOTFS_SKELETON_CUSTOM options
Thomas Petazzoni [Sun, 5 Dec 2010 20:52:38 +0000 (21:52 +0100)]
Use the new BR2_ROOTFS_SKELETON_CUSTOM options

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoMove Config.in.mirrors out of target/device
Thomas Petazzoni [Sun, 5 Dec 2010 20:52:37 +0000 (21:52 +0100)]
Move Config.in.mirrors out of target/device

Having Config.in.mirrors (which also to select various download sites)
inside target/device sounds strange. This commit moves the contents of
Config.in.mirrors directly into the main Config.in file.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoRemove useless target/device/mips
Thomas Petazzoni [Sun, 5 Dec 2010 20:52:36 +0000 (21:52 +0100)]
Remove useless target/device/mips

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoRemove completely useless set of Makefiles specific to Atmel
Thomas Petazzoni [Sun, 5 Dec 2010 20:52:35 +0000 (21:52 +0100)]
Remove completely useless set of Makefiles specific to Atmel

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoUpdate defconfigs after Atmel mirror related options removal
Thomas Petazzoni [Sun, 5 Dec 2010 20:52:34 +0000 (21:52 +0100)]
Update defconfigs after Atmel mirror related options removal

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoRemove unused Atmel-specific mirror definitions
Thomas Petazzoni [Sun, 5 Dec 2010 20:52:33 +0000 (21:52 +0100)]
Remove unused Atmel-specific mirror definitions

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agodefconfigs: keep only one defconfig per board
Thomas Petazzoni [Sun, 5 Dec 2010 20:52:32 +0000 (21:52 +0100)]
defconfigs: keep only one defconfig per board

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoCHANGES: #561/#1651/#1735 are resolved
Peter Korsgaard [Tue, 14 Dec 2010 19:45:59 +0000 (20:45 +0100)]
CHANGES: #561/#1651/#1735 are resolved

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agol2tp: convert to gentargets and change to xl2tp
Martin Banky [Sun, 12 Dec 2010 21:54:05 +0000 (22:54 +0100)]
l2tp: convert to gentargets and change to xl2tp

l2tp is no longer being developed, and xl2tpd is forked from l2tpd and is
maintained by Xelerance Corporation.

[Peter: remove invalid pppd dependency]
Signed-off-by: Martin Banky <Martin.Banky@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolibtheora: bump version to 1.1.1
Thomas Petazzoni [Sun, 12 Dec 2010 21:54:04 +0000 (22:54 +0100)]
libtheora: bump version to 1.1.1

This allows to disable the build of the format specification
documentation, which was causing issues in cross-compiling mode.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agomplayer: convert to gentargets, bump to a recent SVN version
Thomas Petazzoni [Sun, 12 Dec 2010 21:54:03 +0000 (22:54 +0100)]
mplayer: convert to gentargets, bump to a recent SVN version

Based on the conversion to gentargets done by Martin Banky, several
issues were fixed, and the mplayer package was improved:

 * Updated to a recent SVN version

 * Removed mandatory dependency on libmad

 * The AVR32 specific patch has been removed. It was a pain to remain
   blocked at the old 1.0-rc2 just for this patch. All this
   optimization work should have been submitted upstream, Buildroot is
   not the place to carry such heavy modifications.

 * Options were added to select whether mplayer and/or mencoder should
   be built/installed.

 * Support for additional options if packages have been selected:
   tremor, libmad, libtheora, libpng, jpeg, xlib_libX11,
   xlib_libXv. More could be added in the future.

 * Support for ARM-related optimization options. Similar improvements
   could be done for x86 and PowerPC architectures.

[Peter: fix build with !IPV6]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolibaio: add patch to support AVR32
Thomas Petazzoni [Sun, 12 Dec 2010 21:54:02 +0000 (22:54 +0100)]
libaio: add patch to support AVR32

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agonetplug: convert to gentargets and bump to 1.2.9.2
Martin Banky [Sun, 12 Dec 2010 21:54:01 +0000 (22:54 +0100)]
netplug: convert to gentargets and bump to 1.2.9.2

Signed-off-by: Martin Banky <Martin.Banky@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoalsa-utils: convert to autotargets and bump to 1.0.23
Martin Banky [Sun, 12 Dec 2010 21:54:00 +0000 (22:54 +0100)]
alsa-utils: convert to autotargets and bump to 1.0.23

[ Thomas: remove all patches, since they have been merged. Implement
  the target uninstallation step, fix many issues. ]

[Peter: fix target install / uninstall steps]
Signed-off-by: Martin Banky <Martin.Banky@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agohotplug: remove package
Thomas Petazzoni [Sun, 12 Dec 2010 21:53:59 +0000 (22:53 +0100)]
hotplug: remove package

The package has been marked deprecated, is no longer developed
upstream, so let's get rid of it.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolibfloat: remove package
Thomas Petazzoni [Sun, 12 Dec 2010 21:53:58 +0000 (22:53 +0100)]
libfloat: remove package

This package has been marked deprecated in Buildroot last year, no-one
complained, and it isn't developed upstream anymore. So get rid of it.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agong-spice-rework: remove package
Thomas Petazzoni [Sun, 12 Dec 2010 21:53:57 +0000 (22:53 +0100)]
ng-spice-rework: remove package

This package has been marked deprecated in October, and no-one
complained. Moreover, it doesn't sound like a package that is widely
used on embedded systems. So we get rid of it.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agomicrocom: remove package
Thomas Petazzoni [Sun, 12 Dec 2010 21:53:56 +0000 (22:53 +0100)]
microcom: remove package

This package has been marked deprecated some time ago, because it has
been integrated into Busybox. Let's get rid of it now.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agomemtester: convert to gentargets and bump to 4.2.1
Martin Banky [Sun, 12 Dec 2010 21:53:55 +0000 (22:53 +0100)]
memtester: convert to gentargets and bump to 4.2.1

Also, memtester requires largefile support

[ Thomas: add patch to fix memtester's Makefile at installation
  stage. Bump to 4.2.1. ]

Signed-off-by: Martin Banky <Martin.Banky@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolvm2: convert to autotargets and bump to 2.02.78
Martin Banky [Sun, 12 Dec 2010 21:53:54 +0000 (22:53 +0100)]
lvm2: convert to autotargets and bump to 2.02.78

[ Thomas: simplifications and bump to 2.02.78 ]

Signed-off-by: Martin Banky <Martin.Banky@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolsof: convert to gentargets and bump to 4.84
Martin Banky [Sun, 12 Dec 2010 21:53:53 +0000 (22:53 +0100)]
lsof: convert to gentargets and bump to 4.84

lsof is packaged as a tarball inside a .tar.bz2 package, so we have a
post-extract hook to extract the source code tarball, so that for the
next steps, lsof looks like a normal package.

Signed-off-by: Martin Banky <Martin.Banky@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agotarget: support generic getty with sysvinit inittabs
Thomas Petazzoni [Sun, 12 Dec 2010 21:53:52 +0000 (22:53 +0100)]
target: support generic getty with sysvinit inittabs

In sysvinit inittab the "id" field (first field) must be no longer
than 4 bytes, and is not used by init to determine the output
terminal. Therefore, we adjust the strategy used to modify the inittab
file according to the getty configuration.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agosysvint: convert to gentargets and bump to 2.88
Martin Banky [Sun, 12 Dec 2010 21:53:51 +0000 (22:53 +0100)]
sysvint: convert to gentargets and bump to 2.88

Also, changed the site to Debian, to get the latest patches

[ Thomas: add inittab compatible with sysvinit. Minor fixes. ]

Signed-off-by: Martin Banky <Martin.Banky@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agosysklogd: convert to gentargets and bump to 1.5
Martin Banky [Sun, 12 Dec 2010 21:53:50 +0000 (22:53 +0100)]
sysklogd: convert to gentargets and bump to 1.5

Also, changed the site to Debian, to get the latest patches

[ Thomas: Minor fixes. Removed S25sysklogd since our default
  /etc/inittab already starts klogd and sysklogd. ]

[Peter: only install syslog.conf if not available in skeleton]
Signed-off-by: Martin Banky <Martin.Banky@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agomrouted: convet to gentargets and bump to version 3.9.4
Martin Banky [Sun, 12 Dec 2010 21:53:49 +0000 (22:53 +0100)]
mrouted: convet to gentargets and bump to version 3.9.4

mrouted is once again being actively developed.
See http://github.com/troglobit/mrouted

[ Thomas: bump to 3.9.4, patches updated, prefix fix. ]

Signed-off-by: Martin Banky <Martin.Banky@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agomii-diag: convert to gentargets and bump to 2.11.3
Martin Banky [Sun, 12 Dec 2010 21:53:48 +0000 (22:53 +0100)]
mii-diag: convert to gentargets and bump to 2.11.3

[ Thomas: minor fixes. ]

Signed-off-by: Martin Banky <Martin.Banky@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoinput-tools: fix jscal build, ensure target dir exists
Peter Korsgaard [Mon, 13 Dec 2010 22:17:05 +0000 (23:17 +0100)]
input-tools: fix jscal build, ensure target dir exists

And at the same time only build enabled applets.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoinput-tools: convert to gentargets
Martin Banky [Sun, 12 Dec 2010 21:53:47 +0000 (22:53 +0100)]
input-tools: convert to gentargets

Signed-off-by: Martin Banky <Martin.Banky@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage: pass TARGET_MAKE_ENV at install/clean/uninstall steps
Thomas Petazzoni [Mon, 13 Dec 2010 16:27:50 +0000 (17:27 +0100)]
package: pass TARGET_MAKE_ENV at install/clean/uninstall steps

TARGET_MAKE_ENV contains the PATH to the host tools built in
$(HOST_DIR), and not having this directory in the PATH while
installing packages may cause troubles.

The specific example that trigerred the problem is the following
one. libglib2 ./configure tries to find a awk version, either gawk or
mawk. On my limited testing system, only mawk is available, so
normally, libglib2 detects mawk and uses it, and it works perfectly.

However, when host-gawk has been compiled before libglib2 (which
happens for example if you have used the Crosstool-NG backend), gawk
is well detected in $(HOST_DIR)/usr/bin at ./configure time
($(HOST_DIR)/usr/bin is in the PATH at ./configure time, thanks to
TARGET_MAKE_ENV). But at install time, when libglib2 uses gawk, it
doesn't find it anymore because it is not in the PATH.

This also makes things coherent with host installation, in which
$(HOST_MAKE_ENV) was already used.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agotoolchain: more verbose in crosstool-ng backend
Thomas Petazzoni [Mon, 13 Dec 2010 16:27:49 +0000 (17:27 +0100)]
toolchain: more verbose in crosstool-ng backend

By default, Crosstool-NG hides all the details of the toolchain build
process. However, this is inconsistent with the typical Buildroot
build, and the rotating progress thing makes log file resulting from
redirecting the Buildroot output a bit unusable. Therefore, switch the
Crosstool-NG configuration to a more verbose default.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agotoolchain: expose thread options in the Crosstool-NG backend
Thomas Petazzoni [Mon, 13 Dec 2010 16:27:48 +0000 (17:27 +0100)]
toolchain: expose thread options in the Crosstool-NG backend

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agotoolchain: BR2_NEEDS_GETTEXT must be y when uClibc is used
Thomas Petazzoni [Mon, 13 Dec 2010 16:27:47 +0000 (17:27 +0100)]
toolchain: BR2_NEEDS_GETTEXT must be y when uClibc is used

BR2_NEEDS_GETTEXT was already set to y for Buildroot internal
toolchain and external toolchains based on uClibc, but wasn't set for
toolchains based on uClibC built by the Crosstool-NG backend.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agogcc: disable libgomp when thread support is disabled
Thomas Petazzoni [Mon, 13 Dec 2010 16:27:46 +0000 (17:27 +0100)]
gcc: disable libgomp when thread support is disabled

libgomp needs thread support on the target to build properly.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agotoolchain: check that the thread option selection is correct
Thomas Petazzoni [Mon, 13 Dec 2010 16:27:45 +0000 (17:27 +0100)]
toolchain: check that the thread option selection is correct

When an external toolchain is used, the user is responsible for
telling Buildroot what the configuration of the toolchain is. In order
to make sure that the selection is correct, we already perform checks
against the configuration of the uClibc in the selected external
toolchain. This commit adds the check for thread support.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agotoolchain: rework thread options
Thomas Petazzoni [Mon, 13 Dec 2010 16:27:44 +0000 (17:27 +0100)]
toolchain: rework thread options

The selection of linuxthreads, linuxthreads old or NPTL doesn't make a
lot of sense for external toolchains. So, instead, we :

 * Introduce an hidden BR2_TOOLCHAIN_HAS_THREADS option, which must be
   selected by toolchain specific options when thread support is
   available. Package needing to test thread support should use this
   option.

 * Move the none/linuxthreads/linuxthreads old/NPTL selection to
   Buildroot internal toolchain configuration.

 * Add an option in external toolchain to tell if thread support is
   available or not in the external toolchain. We assume that glibc
   without threads is not possible, as Ulrich Drepper said in
   http://sourceware.org/ml/libc-alpha/2005-08/msg00091.html

ffmpeg, dmalloc and openvpn are fixed to use the new
BR2_TOOLCHAIN_HAS_THREADS option. For openvpn, --enable-threads=posix
is no longer used, as the configure script doesn't even understand
this option.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoltp-testsuite: bump version and use autotargets
Thomas Petazzoni [Mon, 13 Dec 2010 16:27:43 +0000 (17:27 +0100)]
ltp-testsuite: bump version and use autotargets

Reworking ltp-testsuite is needed in order to get rid of some
thread-specific options that will be cleaned-up in the next commit.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agotoolchain: move Stack Protection Support option
Thomas Petazzoni [Mon, 13 Dec 2010 16:27:42 +0000 (17:27 +0100)]
toolchain: move Stack Protection Support option

The BR2_USE_SSP option is only used inside the uClibc build, so only
meaningful for Buildroot internal toolchains. Therefore, the option is
moved to the right location so that it isn't visible when working with
external toolchains.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agotoolchain: rework C++ options
Thomas Petazzoni [Mon, 13 Dec 2010 16:27:41 +0000 (17:27 +0100)]
toolchain: rework C++ options

Instead of having BR2_GCC_CROSS_CXX and BR2_INSTALL_LIBSTDCPP, with
BR2_GCC_CROSS_CXX not being visible (and therefore being useless),
let's just keep BR2_INSTALL_LIBSTDCPP to enable C++ in the toolchain
and install C++ libraries on the target.

We also take that opportunity to make BR2_INSTALL_LIBSTDCPP an hidden
option, which is selected by an option in Buildroot toolchain support
or an option in External toolchain support, just as we did for other
toolchain features.

Some work definitely remains to be done :

 - The name BR2_INSTALL_LIBSTDCPP is ugly, but we keep it for the
   moment in order to avoid changing all packages.

 - We should clarify the other language-related options (Fortran,
   Java, Objective-C, etc.).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agotoolchain: remove toolchain-specific stripping
Thomas Petazzoni [Mon, 13 Dec 2010 16:27:40 +0000 (17:27 +0100)]
toolchain: remove toolchain-specific stripping

We already handle the stripping of libraries in $(TARGET_DIR) at the
global level, so there's no need to have toolchain-specific option and
code for this.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agotoolchain: add support for external toolchain profiles and download
Thomas Petazzoni [Mon, 13 Dec 2010 16:27:39 +0000 (17:27 +0100)]
toolchain: add support for external toolchain profiles and download

Instead of letting the user define all the details of his external
toolchain, we define a set of profiles for well-known external
toolchains (CodeSourcery ones only at the moment, can easily be
extended with other toolchains).

Once a profile has been choosen, the user is offered the choice of
either letting Buildroot download and install the external toolchain,
or (as before) to tell Buildroot where the toolchain is installed on
the system.

We of course provide a "custom profile", through which the user can
configure Buildroot to use a custom external toolchain for which no
profile is available.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agotoolchain: remove ending semi-colon in helpers
Thomas Petazzoni [Mon, 13 Dec 2010 16:27:38 +0000 (17:27 +0100)]
toolchain: remove ending semi-colon in helpers

Some helpers had their final line ending with a semi-colon, some did
not. For consistency, remove the final semi-colon from all helpers,
it's the responsability of the caller to add the final semi-colon as
needed.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agotoolchain: Improve C library option selection
Thomas Petazzoni [Mon, 13 Dec 2010 16:27:37 +0000 (17:27 +0100)]
toolchain: Improve C library option selection

Turn BR2_LARGEFILE, BR2_INET_IPV6, BR2_INET_RPC, BR2_USE_WCHAR,
BR2_ENABLE_LOCALE and BR2_PROGRAM_INVOCATION into hidden options.

Then, for Buildroot toolchains, external toolchains and Crosstool-NG
toolchains, provide visible options that selects the hidden options.

This allows :

 * To show a different label and help text in the case of Buildroot
   toolchain (do you want to enable feature X ?) and in the case of
   external toolchain (is feature X available in your toolchain ?)

 * To not show any option when a glibc external toolchain is selected
   (since glibc is assumed to support all of largefile, IPv6, RPC,
   WCHAR, locale and program invocation) and have them all selected in
   that case.

There is some amount of duplication between Buildroot toolchain config
options and Crosstool-NG toolchain config options, because kconfig
doesn't allow to source the same Config.in file twice (even if under
mutually exclusive conditions). This duplication is more readable that
the hack that consists in splitting files in multiple pieces.

However, this commit changes the name of the options visible in the
configuration interface, so existing .config files will have to be
updated accordingly.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agokernel-headers: simplify
Peter Korsgaard [Mon, 13 Dec 2010 20:52:16 +0000 (21:52 +0100)]
kernel-headers: simplify

Old-style kernel headers got removed almost 2 years ago, so get rid of
the seperate kernel-headers-new.makefile file and move the content
to the main kernel-headers.mk.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agostrip path when untaring kernel for headers
Paulius Zaleckas [Sun, 5 Dec 2010 21:30:21 +0000 (23:30 +0200)]
strip path when untaring kernel for headers

This is needed when custom/snapshot kernel headers are selected.
Buildroot expects to find dl/linux-2.6.tar.bz2 and also expects
it to extract to output/toolchain/linux-2.6, but if you tar
custom kernel sources directory can be anything, etc. linux-git.
In that case buildroot would extract it to output/toolchain/linux-git.
So fix this behaviour, by using tar strip-directory/component.

Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoNew package: fbgrab
Daniel Nyström [Thu, 9 Dec 2010 15:28:29 +0000 (16:28 +0100)]
New package: fbgrab

FBGrab is a framebuffer screenshot program, capturing the linux
frambuffer and converting it to a png-picture.

[Peter: drop zlib dep, add uninstall]
Signed-off-by: Daniel Nyström <daniel.nystrom@timeterminal.se>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agodirectfb-examples: rework target installation rule to match package infrastructure
Lionel Landwerlin [Thu, 9 Dec 2010 09:55:14 +0000 (10:55 +0100)]
directfb-examples: rework target installation rule to match package infrastructure

Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agobzip2: ensure target directories exist before copying into
Lionel Landwerlin [Thu, 9 Dec 2010 09:55:13 +0000 (10:55 +0100)]
bzip2: ensure target directories exist before copying into

Also simply installation rules a little

[Peter: leave in busybox install fix]
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoat: ensure startup script is well installed
Lionel Landwerlin [Thu, 9 Dec 2010 09:55:12 +0000 (10:55 +0100)]
at: ensure startup script is well installed

In case /etc/init.d does not exist.

[Peter: use install -D]
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>