Commit Graph

474 Commits

Author SHA1 Message Date
Gustavo Zacarias
323eec4c3c busybox: add mdev patch for 1.21.0
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-02-05 14:33:45 +01:00
Gustavo Zacarias
198388ba4c busybox: add 1.21.x series
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-01-21 23:38:24 +01:00
Gustavo Zacarias
e7ac4d3987 busybox: add ntp patch for 1.20.2
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-01-21 14:26:37 +01:00
Gustavo Zacarias
6f62ce55f0 busybox: remove deprecated 1.18.x
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-12-10 21:51:19 +01:00
Arnout Vandecappelle
5e0f1e1fcf busybox: fix link with tirpc
Busybox does partial linking of its modules before linking everything
together into the binary.  Those partial links are done without the
standard libraries, but that also means -ltirpc can't be found.  In
addition, this probably fails horribly with static linking (untested).

The problem is that the LDFLAGS are also used in the partial links.
So instead, use CFLAGS_busybox, which is only used for the busybox
link step.  Also make sure that this is passed through the environment,
not on the command line, so the busybox Makefile can still append to
it.

Fixes e.g.
http://autobuild.buildroot.net/results/e8351e3ba86fdcdb2999548658271a6fde0526a9

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-11-21 11:07:35 +01:00
Thomas Petazzoni
7266e7630d busybox: add support to link against libtirpc when available
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-11-06 08:20:16 +01:00
Thomas Petazzoni
8f579792f1 busybox: don't force FEATURE_NFS_MOUNT
Instead of making the Busybox configuration more complicated by trying
to adjust it depending on whether RPC is available or not (which gets
complicated when RPC support can be provided by libtirpc), simplify
things by letting the user enable FEATURE_NFS_MOUNT or not depending
on whether RPC support is available or not.

Our default configuration do not enable FEATURE_NFS_MOUNT, so users
will not face any build problems by default. Only if they explicitly
enable FEATURE_NFS_MOUNT will they have to make sure that the
toolchain has RPC support, or that libtirpc is enabled (support for
this added in a followup patch).

[Peter: remove from CONFIGURE_CMDS as well]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-11-04 01:11:02 +01:00
Peter Korsgaard
6fce747d08 busybox: add 1.20.2 upstream fixes
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-10-29 13:51:40 +01:00
Peter Korsgaard
9ec1c5d9d3 busybox: add 1.19.4 / 1.20.2 fixes
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-09-04 13:08:19 +02:00
Danomi Manchego
3a887b7eb8 busybox: add license info
Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-08-15 12:02:48 +02:00
Maxime Ripard
c92aacd330 Rework of the init system
Since we have now two uncompatible init systems, and we want only one of
them at the same time in use in the rootfs, we need to select a
particular init system. This patch also adds $(PKG)_INSTALL_INIT_SYSTEMD
and $(PKG)_INSTALL_INIT_SYSV hooks that are called when the matching
init systems are selected to install properly the init scripts of the
package.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-30 23:12:17 +02:00
Arnout Vandecappelle (Essensium/Mind)
e1502ebc0c all packages: rename XXXTARGETS to xxx-package
Also remove the redundant $(call ...).

This is a purely mechanical change, performed with
find package linux toolchain boot -name \*.mk | \
  xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \
               -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \
               -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/'

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-17 20:23:05 +02:00
Gustavo Zacarias
aaa8125a93 busybox: bump 1.20.x series to 1.20.2
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-07-02 20:24:21 +02:00
Gustavo Zacarias
afc7b62c87 busybox 1.20.1: add patches for mke2fs and ps
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-06-26 23:03:44 +02:00
Gustavo Zacarias
64835258f7 busybox 1.20.1: add patches for ash, ifupdown, man and tar
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-06-10 21:40:43 +02:00
Peter Korsgaard
8a1e83823d busybox: bump 1.20.x version
Bugfix release.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-05-28 09:25:17 +02:00
Gustavo Zacarias
7a41ddd3fb busybox: add 1.20.0 patch for mdev and update buildsys patch
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-05-20 19:54:03 +02:00
Gustavo Zacarias
55547775aa busybox: add 1.20.0 patches for find and volume_id
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-05-19 20:55:40 +02:00
Fabio Porcedda
07639ff186 busybox: add watchdog daemon startup script
Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-05-06 22:43:52 +02:00
Peter Korsgaard
308e476a73 busybox: 1.20.0 buildsys fix
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-04-29 17:06:10 +02:00
Gustavo Zacarias
b59f9e1562 busybox: add new 1.20.0, remove deprecated, mark 1.18.x deprecated
Add version 1.20.0, remove deprecated 1.16.x & 1.17.x versions and mark
1.18.x as deprecated.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-04-29 10:51:14 +02:00
Luca Ceresoli
1a994d58af Remove stray $ character from a bunch of init scripts
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-03-15 22:11:25 +01:00
Peter Korsgaard
7a7bd4b873 busybox: bump 1.19.x stable version
Identical to 1.19.3 + patches.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-14 10:51:12 +01:00
Maxime Ripard
c7746857d1 Convert busybox to the device declaration method
Busybox used to declare and create files even if the package was not
enabled through the device table. Remove the entries for busybox in the
device table and move them to the package declaration.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-01 23:04:49 +01:00
Peter Korsgaard
0e80ba1779 busybox: add 1.19.3 mdev fix
For details, see
http://lists.busybox.net/pipermail/busybox/2012-January/077236.html

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-01-30 14:44:06 +01:00
Thomas Petazzoni
b12dfaf15c busybox: enable CONFIG_FEATURE_MDEV_RENAME
Our default mdev.conf file in package/busybox has lines like:

  pcm.*           root:audio 660 =snd/
  event[0-9]+     root:root 640 =input/

that are used to create the device is the appropriate /dev
subdirectory. However, this feature requires
CONFIG_FEATURE_MDEV_RENAME to be enabled, otherwise mdev complains
with:

  mdev: bad line 25

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-01-02 22:49:44 +01:00
Peter Korsgaard
2d7d697fbf busybox: add 1.19.3 for wget redirect handling
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-12-18 22:00:33 +01:00
Peter Korsgaard
468f1cac8a busybox: remove old unused quirk handling
The definition of these variables were removed back in June
(7d814728 / f1e4aac4).

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-11-23 23:36:32 +01:00
Thomas De Schampheleire
96474df156 busybox: rename busybox-update to busybox-update-config
The original name busybox-update is confusing as it only updates a
configuration file.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-11-11 20:14:22 +01:00
Gustavo Zacarias
9d885487ea busybox: add 1.19.3 getty and modinfo fixes
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-11-02 09:34:34 +01:00
Peter Korsgaard
f3c4d8e533 busybox: bump 1.19.x stable version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-10-29 15:00:22 +02:00
Philippe Pepiot
9d7c922c5c busybox: Fix syntax error when installing S10mdev
Signed-off-by: Philippe Pepiot <phil@philpep.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-10-26 23:17:42 +02:00
Peter Korsgaard
6161049aed busybox: only install S01logging / S10mdev if not present in fs skeleton
To allow custom syslogd / mdev configutations.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-10-18 15:04:23 +02:00
Gustavo Zacarias
41ea5c9ff3 busybox: add 1.19.2 tftp fix
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-10-08 13:45:57 +02:00
Thomas Petazzoni
0849e8193e package: remove useless arguments from GENTARGETS
Thanks to the pkgparentdir and pkgname functions, we can rewrite the
GENTARGETS macro in a way that avoids the need for each package to
repeat its name and the directory in which it is present.

[Peter: pkgdir->pkgparentdir]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-29 23:09:58 +02:00
Peter Korsgaard
f83cacf3b5 busybox: add 1.19.2 tail fix
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-26 21:35:12 +02:00
Gustavo Zacarias
fa7e650710 busybox: add new 1.19.2 fixes and drop stale config
Drop stale config file for busybox 1.13.x
Add build system and syslogd fixes for 1.19.2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-17 07:59:10 +02:00
Peter Korsgaard
d97542c6d8 busybox: add 1.19.2 fixes for chpasswd, crond and inetd.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-11 22:36:36 +02:00
Gustavo Zacarias
3f346b7b85 busybox: add 1.19.x branch and cleanup
Add busybox version 1.19.2 for the 1.19.x branch.
Remove deprecated 1.15.x branch.
Mark 1.16.x and 1.17.x branches deprecated as suggested by Thomas.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-06 21:53:25 +02:00
Peter Korsgaard
4e3ae5ccab busybox: BR2_PACKAGE_BUSYBOX_SHOW_OTHER: remove conditional check
It is already within an 'if BR2_PACKAGE_BUSYBOX' section.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-27 21:10:13 +02:00
Benoit Mauduit
80eeabc55d busybox: Add busybox-xconfig and busybox-gconfig rules
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-24 23:57:16 +02:00
Peter Korsgaard
4ec2e3bb53 busybox: busybox-1.18.x.config: enable blkid applet
Needed by usbmount.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-21 22:45:49 +02:00
H Hartley Sweeten
72eb844be6 Fix colon location in S01logging script
The S01logging script currently displays the start/stop messages like this:

Start logging :OK

The normal form for these messages is:

Start logging: OK

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-13 08:14:41 +02:00
Luca Ceresoli
fc71f7e6f2 busybox: provide /etc/mdev.conf if mdev is used
Without an mdev.conf file installed, mdev generates some /dev entries in
an incorrect or non-standard way. Some examples:
 1. /dev/null has permissions 660, but it should be accessible to normal
    users;
 2. alsa devices get created in /dev, not /dev/snd as is more common,
    and as the default value of BR2_PACKAGE_ALSA_LIB_DEVDIR suggests;
 3. event<N> files are created in /dev, not /dev/input.

This mdev.conf is a selection from the examples provided in the busybox
sources with minor tweaks.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-11 13:41:25 +02:00
Peter Korsgaard
abf7af17e9 busybox: only install S01logging if syslogd applet is enabled
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-04 21:03:37 +02:00
Maxime Ripard
ad501b6634 Rework the logging daemons startup
The logging mechanism startup being in inittab, it isn't easy to
overcharge the default policy. With this patch, the startup of the
syslog daemon is moved to an init.d script, that can easily be
overwritten.

[Peter: use install -D]
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-04 20:57:10 +02:00
Maxime Ripard
7d814728ae Remove obsolete code in busybox.mk
Remove this quirk since the tested code is no longer present in busybox
since 1.10.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-04 10:18:21 +02:00
Maxime Ripard
f1e4aac40e busybox: remove quirk for old unsupported versions
This code is no longer useful, since the oldest version supported by
Builroot is 1.16.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-04 08:13:48 +02:00
Thomas Petazzoni
85e54a6b77 busybox: adjust configuration for non-MMU targets
The swaponoff applet doesn't build (and doesn't make sense) on non-MMU
platforms.

The ash shell cannot build on non-MMU platforms (because it uses
fork()), so select the hush shell instead.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-06-12 21:52:52 +02:00
Thomas Petazzoni
837a85e70c busybox: tune config according to BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-06-12 21:52:19 +02:00
Peter Korsgaard
47d8534c12 busybox: bump 1.18.x version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-06-12 20:41:57 +02:00
Gustavo Zacarias
e860d5f5d1 busybox: add hush patch for version 1.18.4
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-16 15:20:22 +02:00
Yegor Yefremov
726b15f64a Create menu entry to select device creation method
Four methods for the creation of device files in /dev are now
proposed:

 - static method uses device table as before
 - devtmpfs method enables this feature in kernel
 - mdev method adds mdev starting script to the file system
    and selects mdev itself for installation
 - udev method selects udev for installation

All dynamic methods are based on devtmpfs, so one doesn't need to care
about /dev folder.

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>
2011-05-09 14:20:03 +02:00
Peter Korsgaard
2c97608387 busybox: ensure source gets downloaded/extracted/patched before -menuconfig
Closes #3511

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-28 21:33:26 +02:00
Peter Korsgaard
27c152db06 busybox: bump 1.18.x stable version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-13 21:08:26 +01:00
Peter Korsgaard
03a5df1353 busybox: 1.18.3 cksum fix
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-12 00:03:52 +01:00
Gustavo Zacarias
eb2ebf9490 busybox 1.18.3: add patches for klogd and menuconfig
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-10 14:39:57 +01:00
Gustavo Zacarias
85a9a4d01e busybox 1.18.3: add wget and build system patches
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-10 20:14:33 +01:00
Gustavo Zacarias
a5f97bb41c busybox: bump to version 1.18.3
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-09 22:43:25 +01:00
Peter Korsgaard
9f31e2ffa0 busybox: 1.18.2 fixes for ping, tar and udhcp
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-06 21:48:53 +01:00
Peter Korsgaard
3fa18d27d3 busybox: add 1.18.2 libbb fix
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-04 19:49:50 +01:00
Gustavo Zacarias
9384f00cce busybox: add 1.18.2 modprobe fix
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-04 19:49:33 +01:00
Peter Korsgaard
87cb38b928 busybox: 1.18.2 fix for wc
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-24 17:04:28 +01:00
Peter Korsgaard
dea0b13403 busybox: add 1.18.2 fixes
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-19 09:08:45 +01:00
Kim Jae-hui
0705e448a4 busybox: fix busybox-menuconfig after 69df644f5
Closes #3109

Pass the correct -C <dir> option to make menuconfig.

Signed-off-by: Kim Jae-hui <twinkle.j4k@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-18 09:23:40 +01:00
Peter Korsgaard
a7f298dcba busybox: bump 1.18.x version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-16 20:12:38 +01:00
Mike Frysinger
ca2b65a651 busybox: let buildroot handle stripping
For some ABI's (like FLAT), we cannot strip busybox as the file format
does not support it and strip will abort with errors like 'File format
not recognized'.  Since the toplevel already takes care of stripping
things, simply disable the busybox step.

Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-11 10:50:13 +01:00
Mike Frysinger
69df644f5c busybox: unify duplicated build steps
This does set a few more vars in some steps that weren't set before, but
they should be harmless in the contexts in question.  And the resulting
save in duplication is nice.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-11 10:49:47 +01:00
Gustavo Zacarias
49318cb92d busybox: add/update 1.18.1 fixes for hush, mkswap, modprobe, tftp and procps
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-11 00:18:22 +01:00
Peter Korsgaard
bd891474cc busybox: 1.18.1 fixes for bzip2 and cpio
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-30 08:45:29 +01:00
Gustavo Zacarias
4ee01c268d busybox 1.18.1: add hush fix
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-22 23:47:13 +01:00
Peter Korsgaard
c482c5ab6f busybox: get rid of BR2_PACKAGE_BUSYBOX_FULLINSTALL
As discussed on IRC, this only needs to be disabled for very specific
configurations, and it can nowadays be done with a custom busybox
.config (CONFIG_INSTALL_APPLET_DONT), so get rid of the option.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-21 20:25:29 +01:00
Peter Korsgaard
a7472011ae busybox: clarify BR2_PACKAGE_BUSYBOX_FULLINSTALL description
Explicitly explain what the (default) install target does, so people who
don't know busybox details understands what the option does.

Notice: Busybox can be configured to create hard links or shell wrappers
instead, but by default symlinks are used.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-21 14:23:09 +01:00
Peter Korsgaard
5366b4fa99 busybox: bump 1.18.x version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-21 09:39:33 +01:00
Lionel Landwerlin
274e34af3b busybox: move udhcp script from skeleton to package
Since udhcpc is part of busybox, it seems logical to move the udhcpc
script from skeleton to busybox.

[Peter: only install if not available in skeleton]
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-13 00:29:23 +01:00
Peter Korsgaard
bf5c0c8ab0 busybox: default to 1.18
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-11 02:20:52 +01:00
Peter Korsgaard
bee91f710a busybox: add 1.18.0 runsvdir fix
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-11 02:19:57 +01:00
Gustavo Zacarias
51f3f96498 busybox: add 1.18.0, remove 1.13.x and 1.14.x, mark 1.15.x as deprecated
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-11 02:18:42 +01:00
Peter Korsgaard
3ac0c241d5 busybox: bump 1.17.x stable version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-11-23 12:20:23 +01:00
Gustavo Zacarias
0758f63b3f busybox: add 1.17.3 ls fix
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-11-19 10:31:21 +01:00
Peter Korsgaard
3ad0fac1b0 busybox: 1.17.3 iproute fix
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-11-05 16:34:15 +01:00
Peter Korsgaard
19e306338e busybox: additional 1.17.3 fixes
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-10-29 13:32:02 +02:00
Peter Korsgaard
6644da4087 busybox: 1.17.3 sort fix
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-10-23 14:48:26 +02:00
Peter Korsgaard
6156924c2b busybox: bump 1.17.x version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-10-11 14:24:25 +02:00
Peter Korsgaard
a2fcdacad6 busybox: 1.17.x.config: enable microcom applet
So we can get rid of the deprecated microcom package.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-10-05 23:14:35 +02:00
Peter Korsgaard
45b776f201 busybox: additional 1.17.2 fixes
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-05 22:52:22 +02:00
Gustavo Zacarias
f661b023ab busybox: Bump to 1.17.2
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-05 22:51:37 +02:00
Peter Korsgaard
9ed8308d58 busybox: additional 1.17.1 fixes
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-08-25 16:35:21 +02:00
Gustavo Zacarias
a22d4082ea Update busybox 1.17.1 fixes
New shell_common fix and sed fix.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
2010-08-11 18:01:54 +02:00
Peter Korsgaard
a10c153208 busybox: 1.17.1 mktemp fix
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-29 23:47:44 +02:00
Peter Korsgaard
ebf21166b7 uClibc: remove old 0.9.28 support
Not supported upstream and needs complicated workaround for the NPTL stuff.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-29 17:02:29 +02:00
Peter Korsgaard
deb51ad988 busybox: bump 1.17.x version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-26 10:03:42 +02:00
Gustavo Zacarias
d8a41bb536 busybox: fix cflags
Pass CFLAGS as env rather than opt to allow the build system to tweak them.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22 18:13:00 +02:00
Peter Korsgaard
e23ca1da6d busybox: additional 1.17.0 fixes
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22 18:11:40 +02:00
Dmytro Milinevskyy
d9119c0bc5 move default skeleton to fs/ and drop busybox skeleton
[Peter: fixup patch, adjust for busybox.mk changes]
Signed-off-by: Dmytro Milinevskyy <milinevskyy@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-18 23:08:55 +02:00
Peter Korsgaard
12659c1176 busybox: 1.17.0 dos2unix fix
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-18 21:30:15 +02:00
Peter Korsgaard
7add5f57f9 busybox: default to v1.17.x
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-12 15:44:43 +02:00
Peter Korsgaard
3877542498 busbox: add 1.17.0 upstream fixes
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-12 14:16:38 +02:00
Gustavo Zacarias
3169aae85e busybox: add 1.17.0, convert to gentargets, drop 1.12, deprecate 1.13 and 1.15
Closes #2167

[Peter: fix CONFIG_ID workaround for old uClibcs]
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-12 13:32:38 +02:00
Thomas Petazzoni
a1c8fa41f6 Update all packages to quote $(TARGET_CC)
Now that TARGET_CC contains several space-separated words, it must be
used quoted everywhere.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-07 08:20:21 +02:00
Peter Korsgaard
f4b7efe504 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>
2010-06-14 09:47:49 +02:00
Peter Korsgaard
6ed87eac98 busybox: bump 1.16.x version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-14 09:45:38 +02:00
Peter Korsgaard
7bb2b4826e busybox: 1.16.1 fixes for dhcpd and sed
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-16 22:29:41 +02:00
Thomas Petazzoni
b65e735291 busybox: disable MTD utils in default configuration
The MTD utils require MTD headers in the toolchain, and in several
external toolchains, they are not present. In order to make the build
work by default, let's disable the MTD Busybox applets in our default
configuration.

Fixes bug #1669

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-07 21:27:24 +02:00
Peter Korsgaard
7548e5a707 busybox: 1.16.1 fixes for ash and cpio
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-01 21:19:19 +02:00
Grant Edwards
532e1fb5d3 busybox: pass EXTRA_LDFLAGS for external toolchains
Closes #1321

[Peter: Rework patch to make it apply to git]
Signed-off-by: Grant Edwards <grant.b.edwards@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-01 20:57:28 +02:00
Peter Korsgaard
fd3194a1c6 Merge branch 'codesourcery-toolchain-support' of git://git.busybox.net/~tpetazzoni/git/buildroot 2010-04-21 10:40:30 +02:00
Peter Korsgaard
f935368cc0 busybox: add 1.16.1 sed fix
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-20 20:15:33 +02:00
Peter Korsgaard
b0432db697 busybox: get rid of unused initramfs.mk file
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-20 13:20:56 +02:00
Thomas Petazzoni
55098e5048 busybox: make sure architecture flags are used at link time
When compiling Busybox, according to readelf -A, all object files were
properly compiled according to the select architecture (-march=armv4t
for example), but the final busybox binary could be of a different
architecture (ARMv5t even if ARMv4t was selected).

This patch changes the way we configure/compile Busybox so that our
CFLAGS aren't anymore passed through the make EXTRA_CFLAGS variable,
but through the .config CONFIG_EXTRA_CFLAGS variable. Unfortunately,
those variables don't have exactly the same semantic for the Busybox
build system.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-17 02:10:58 +02:00
Peter Korsgaard
9f018b77ff busybox: 1.16.1 dnsd / hwclock fixes
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-14 20:41:15 +02:00
Thomas Petazzoni
02bc426214 Get rid of all usages of BR2_RECENT
Since BR2_RECENT was enabled by default, we do not want entries marked
BR2_RECENT (and thus appearing by default in Buildroot) to disappear.

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-12 15:26:37 +02:00
Thomas Petazzoni
7a0263525f Remove BR2_PREFER_IMA
This option is barely used, no-one is maintaining it or extending
it. So let's remove it.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-11 05:59:59 +02:00
Thomas Petazzoni
f840a2b28c busybox initramfs: do not use the IMAGE variable
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-09 11:04:35 +02:00
Peter Korsgaard
3ef9b6969c busybox: respect BR2_PREFER_STATIC_LIB
Build static version if requested in BR config.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-05 13:29:01 +02:00
Peter Korsgaard
b5e844815f busybox: indent sub options
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-02 12:29:37 +02:00
Peter Korsgaard
daf938aa66 busybox: bump 1.16.x stable version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-03-29 11:29:30 +02:00
Peter Korsgaard
d6a2fa87b8 busybox: additional 1.16.0 fixes
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-03-22 15:19:42 +01:00
Peter Korsgaard
bff5db81be busybox: 1.16.0 beep fix
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-03-18 23:09:05 +01:00
Peter Korsgaard
0a66aa169a busybox: 1.16.0 tail fix
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-03-12 23:19:57 +01:00
Peter Korsgaard
32ae5854dd busybox: additional 1.16.0 fixes
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-03-08 23:07:52 +01:00
Peter Korsgaard
88075cc4c6 Revert "busybox: add upstream 1.16 fix"
This reverts commit 1d7b6f65c6.

The fsync patch tries to add the same lines already added by
busybox-1.16.0-compat.patch, so skip it.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-26 15:27:54 +01:00
Thomas Petazzoni
1d7b6f65c6 busybox: add upstream 1.16 fix
Fixes https://bugs.busybox.net/show_bug.cgi?id=1177, available at
http://busybox.net/downloads/fixes-1.16.0/busybox-1.16.0-fsync.patch.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-02-26 08:59:16 +01:00
Peter Korsgaard
a080cc0ff4 busybox: add 1.16.0 fixes
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-24 09:13:43 +01:00
Peter Korsgaard
fbf84d42b6 busybox: add 1.16.x specific defconfig
Closes #1003.

Several config options have gotten renamed in 1.16, making the 1.13.x
defconfig not enable the stuff we want.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-01-31 22:13:45 +01:00
Peter Korsgaard
99f74cbec5 busybox: bump version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-01-26 08:36:28 +01:00
Peter Korsgaard
617aa4995a busybox: bump 1.15.x stable version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-12 23:41:16 +01:00
Peter Korsgaard
bf4d2d862e busybox: 1.15.2 patches
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-04 09:24:01 +01:00
Peter Korsgaard
4e385ee794 busybox: 1.15.2 flash_eraseall fix for modern kernel headers
86cfb70ca upstream.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-28 15:05:52 +01:00
Peter Korsgaard
57922bfbf3 busybox: look at kernel headers for include files as well
E.G. for flash_* applets.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-28 14:25:13 +01:00
Peter Korsgaard
bbbdf45f0e package: show packages with busybox alternatives if busybox is disabled
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-27 14:44:47 +01:00
Peter Korsgaard
524b203588 busybox: invert hide option
Invert the BR2_PACKAGE_BUSYBOX_HIDE_OTHERS option to use positive logic,
renaming it to _SHOW_OTHERS.

Positive logic is simpler to understand, and it makes all{,package}config
do the right thing.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-15 10:18:51 +02:00
Peter Korsgaard
6ef1705c42 busybox: bump 1.15.x stable version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-08 21:11:13 +02:00
Peter Korsgaard
78145a624c busybox: 1.15.1 find fix
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-30 07:27:01 +02:00
Peter Korsgaard
abd76618a4 busybox: 1.15.1 lineedit fix
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-29 11:52:50 +02:00
Peter Korsgaard
255c8ea89c busybox: additional 1.15.1 fixes
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-27 23:17:43 +02:00
Peter Korsgaard
8a83e8d7b8 busybox: 1.15.1 fixes
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-22 23:20:55 +02:00
Thomas Petazzoni
397fe5cc0b Remove the "project" feature
The "project" feature was designed to allow to several projects to be
built inside the same Buildroot source tree and allowing the toolchain
and non-configurable packages to be shared between the different
projects on the same architecture. While being interesting in theory,
this feature adds a level of complexity to Buildroot, both from an
user perspective and from a developer perspective, while one of the
main Buildroot strengh is to be simple. Moreover, this feature is only
seldomly used by our users.

From a user-level perspective, this for example allows to remove the
project_build_ARCH directory, which was very confusing. The
autotools-stamps directory is also removed, since these stamps are
back at their normal location.

Description of the changes involved :

 * project/, directory removed

 * Makefile

    - Don't include project/Makefile.in and project/project.mk anymore

    - Grab a copy of the contents of project/Makefile.in at the
      location it was imported, but remove the definition related to
      PROJECT_BUILD_DIR. The TARGET_DIR is now in
      $(BUILD_DIR)/target_dir

    - Remove the creation/removal of the $(PROJECT_BUILD_DIR) and
      $(PROJECT_BUILD_DIR)/autotools-stamps directories

    - Don't make world depends on target-host-info. This target was
      defined by project/project.mk to customize /etc/issue,
      /etc/hostname and create /etc/br-version depending on the
      project definitions. We can of course imagine re-adding such a
      feature later.

    - Replace PROJECT_BUILD_DIR by BUILD_DIR everywhere

    - Remove the update, log and lognr.$(PROJECT) target, they were
      specific to the project feature.

 * package/Makefile.autotools.in

    - Replace PROJECT_BUILD_DIR by BUILD_DIR for the location of the
      configure cache

    - Move the INSTALL_TARGET and HOOK_POST_INSTALL stamps to the same
      directory as the other stamps (i.e, in the package directory).

 * package/Makefile.in

    - Replace PROJECT_BUILD_DIR by BUILD_DIR for the location of the
      configure cache

 * package/at/at.mk,
   package/busybox/busybox.mk,
   package/busybox/initramfs.mk,
   package/customize/customize.mk,
   package/linux-fusion/linux-fusion.mk,
   package/ltp-testsuite/ltp-testsuite.mk,
   package/nfs-utils/nfs-utils.mk,
   target/cpio/cpioroot.mk,
   target/cramfs/cramfs.mk,
   target/device/Atmel/DataFlashBoot/DataflashBoot.mk,
   target/device/Atmel/Makefile.in,
   target/device/Atmel/at91bootstrap/at91bootstrap.mk,
   target/device/KwikByte/Makefile.in,
   target/ext2/ext2root.mk,
   target/initramfs/initramfs.mk,
   target/iso9660/iso9660.mk,
   target/jffs2/jffs2root.mk,
   target/linux/Makefile.in,
   target/romfs/romfs.mk,
   target/squashfs/squashfsroot.mk,
   target/tar/tarroot.mk,
   target/ubifs/ubifsroot.mk

    - Replace PROJECT_BUILD_DIR by BUILD_DIR

 * target/device/Config.in

    - Do not include project/Config.in anymore

 * target/linux/Makefile.in.advanced

    - Replace PROJECT_BUILD_DIR by BUILD_DIR

    - Store the stamps file in $(STAMP_DIR) instead of
      $(PROJECT_BUILD_DIR)/autotools-stamps

 * target/u-boot/Makefile.in

    - Replace PROJECT_BUILD_DIR by BUILD_DIR

    - Remove $(PROJECT) from the U-Boot target binary name

    - Remove the insertion in the configuration of the project name as
      the hostname

    - The u-boot-autoscript target now generates
      $(U_BOOT_AUTOSCRIPT).img instead of
      $(U_BOOT_AUTOSCRIPT).$(PROJECT)

 * toolchain/gcc/gcc-uclibc-3.x.mk
   toolchain/gcc/gcc-uclibc-4.x.mk

    - Move the stamps files to $(STAMP_DIR)

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-09-16 20:28:25 +02:00
Peter Korsgaard
b3ee84e407 busybox: bump 1.14.x version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-16 08:51:20 +02:00
Peter Korsgaard
6804b484a9 busybox: don't default to long gone file for snapshot config
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-15 14:16:40 +02:00
Peter Korsgaard
f76d8a3fd4 busybox: bump 1.15.x version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-12 20:17:34 +02:00
Peter Korsgaard
848b76f2fe busybox: 1.15.0 fixes
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-10 10:51:38 +02:00
Peter Korsgaard
f39dbdea73 busybox: 1.14.3 fixes
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-10 10:51:15 +02:00
Peter Korsgaard
0642da7818 Merge branch 'qstrip' of git://git.busybox.net/~tpetazzoni/git/buildroot 2009-09-05 15:24:12 +02:00
Thomas Petazzoni
3c35d55ea9 packages: use qstrip
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-09-05 14:43:17 +02:00
Peter Korsgaard
6538b1d1e7 busybox: 1.15.0 inetd fix
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-05 08:43:53 +02:00
Will Newton
422ce6536b package: Remove unnecessary dependencies on uclibc.
A C library will have been built by the toolchain makefiles, so there is no
need for packages to explicitly depend on uclibc.

Signed-off-by: Will Newton <will.newton@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-03 20:22:38 +02:00
Peter Korsgaard
01f783dc09 busybox: add 1.15.0
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-01 13:26:51 +02:00
Peter Korsgaard
4ae691ecb9 busybox: also enable ipv6 support in ifupdown if ipv6 support is enabled
Reported by: Chris Smith <chris.smith@tandberg.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-08-24 23:27:53 +02:00
Peter Korsgaard
1c559c3154 busybox: bump 1.14.x version
Fixes various problems.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-08-04 07:18:50 +02:00