Commit Graph

8217 Commits

Author SHA1 Message Date
Peter Korsgaard
d0c3d1cf43 sed: get rid of host-sed variant
And all the infrastructure surrounding it. A broken sed implementation
is quite rare nowadays, as seen by the fact that the current host-sed
support has been broken for a while, so just get rid of it.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-30 23:09:39 +02:00
Yann E. MORIN
57bc22c6b7 package/tcl: fix for POSIX compliance
Using two '=' for string comparison is a bashism.
Revert to using one, as stated in POSIX 1003.1-2008.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-30 22:09:01 +02:00
Yann E. MORIN
855fdcaed1 scripts: fix for POSIX compliance
Using two '=' for string comparison is a bashism.
Revert to using one, as stated in POSIX 1003.1-2008.

Of the three affected scripts, two are explicitly called vi #!/bin/bash.
Those two do not _need_ the fix, but gets it nonetheless, in case we
later switch to a POSIX-compliant shell for those scripts.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-30 22:08:58 +02:00
Yann E. MORIN
5c6320f1b5 skeleton: fix atstk1005, ststk100x and atngw100 for POSIX compliance
Using two '=' for string comparison is a bashism.
Revert to using one, as stated in POSIX 1003.1-2008.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-30 22:08:56 +02:00
Yann E. MORIN
d12bc6294a toolchain: fix helpers for POSIX compliance
Using two '=' for string comparison is a bashism.
Revert to using one, as stated in POSIX 1003.1-2008.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-30 22:08:54 +02:00
Gustavo Zacarias
b8ce1fb184 quagga: bump version, fix conflicting options, enhance help
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-30 21:50:43 +02:00
Peter Korsgaard
9f36bd4976 CHANGES: alpha/cris/ia64/sparc64 support removed
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-30 14:44:36 +02:00
Peter Korsgaard
c4eb25ff3d Merge branch 'for-2010.11/remove-deprecated-arch' of git://git.busybox.net/~tpetazzoni/git/buildroot 2010-09-30 14:41:38 +02:00
Yann E. MORIN
d487168c71 Makefile: Force make to run serially in the top-level Makefile
The top-level Makefile can be executed in parallel, as it causes problems.
We can force make to be not parallel.

It's been reported many times, and recent discussions on IRC with kos_tom,
and user nick-named knee, led to this patch.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-30 14:37:01 +02:00
Martin Banky
82ab8b3b31 cvs: convert to autotargets
[Peter: no strip, remove _BINARY vars]
Signed-off-by: Martin Banky <Martin.Banky@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-30 14:17:15 +02:00
Martin Banky
299f7820de acpid: convert to gentargets and bump to 2.0.6
Also, added acpi_listen to the target. It was being stripped, but not
copied.

acpi_listen is a simple shell-friendly tool which connects to acpid and
listens for events. When an event occurs, acpi_listen will print it on
stdout.

[Peter: no strip, install/remove man pages, add uninstall]
Signed-off-by: Martin Banky <Martin.Banky@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-29 22:54:53 +02:00
Peter Korsgaard
ccb974d7ea lockfile-progs: cleanup install/uninstall
Install/uninstall all programs (including mail-*), and use install -D
to copy to target.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-29 22:40:31 +02:00
Martin Banky
9793ea5661 lockfile-progs: convert to gentargets and bump to 0.1.15
[Peter: no strip, remove unused _BINARY var]
Signed-off-by: Martin Banky <Martin.Banky@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-29 22:35:43 +02:00
Martin Banky
ed947b383f liberation: convert to gentargets and bump to 1.06.0.20100721
Signed-off-by: Martin Banky <Martin.Banky@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-29 22:30:35 +02:00
Martin Banky
aca1958b8b gadgets-test: convert to gentargets
[Peter: fix aio dependency, add uninstall]
Signed-off-by: Martin Banky <Martin.Banky@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-29 22:26:45 +02:00
Martin Banky
e3da887298 fconfig: convert to gentargets and bump to 20080329
[Peter: no strip, remove _BINARY vars, add homepage URL]
Signed-off-by: Martin Banky <Martin.Banky@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-29 22:14:27 +02:00
Peter Korsgaard
799c132823 libdaemon; bump version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-29 21:04:57 +02:00
Peter Korsgaard
7477b474da dosfstools: needs largefile support
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-29 14:47:04 +02:00
Peter Korsgaard
0a7f1bf51a Merge branch 'for-2010.11/kernel-image-formats' of git://git.busybox.net/~tpetazzoni/git/buildroot 2010-09-29 12:36:07 +02:00
Thomas Petazzoni
96652637cc linux: fix uImage location on AVR32
On most architectures, the kernel image can be found in
arch/<ARCH>/boot, but on AVR32, it's in arch/<ARCH>/boot/images.

Issue initially reported by Joachim Pihl
<joachim.pihl@sensordevelopments.com>.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-09-29 00:14:21 +02:00
Thomas Petazzoni
b626dc0791 linux: restrict output image formats to the appropriate arches
Some Linux kernel output image formats are available on some archs,
some not. For example 'uImage' is not supported on MIPS, so let's
prevent the user from making this selection.

Issue initially reported by Choi, David <David.Choi@Micrel.Com>.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-09-29 00:14:21 +02:00
Yegor Yefremov
3f1d79d379 fix buildroot.html typos
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-28 14:46:55 +02:00
Peter Korsgaard
3e5e39a8a2 barebox/u-boot/linux: don't error out on missing config when make source
As it breaks 'make allyesconfig; make source', used for the source mirror.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-28 14:43:25 +02:00
Peter Korsgaard
a70d443483 docs/news.html: typo, fix Thomas' family name
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-28 14:03:51 +02:00
Peter Korsgaard
332ec387e2 news.html: Announce developer day in Cambridge, UK
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-28 12:06:55 +02:00
Peter Korsgaard
d5576fd2f0 dropbear: fix xauth tweak since dbcec2b2
The recent conversion to new-style hooks didn't actually enable the
xauth tweaking. Also rename to FIX_XAUTH as it just tweaks the path,
it doesn't disable anything.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-28 09:22:19 +02:00
Martin Banky
3a19ee499b hdparm: convert to gentargets and bump to 9.32
[Peter: remove stripping, get rid of _BINARY variables]
Signed-off-by: Martin Banky <Martin.Banky@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-27 23:24:11 +02:00
Peter Korsgaard
e4fe19c9b4 lm-sensors: full install, install into staging, make bins configurable
Use make install to install so we get libraries and man pages if enabled,
install into staging so other programs can find libsensors and add kconfig
options for each of the available programs.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-27 23:14:31 +02:00
Martin Banky
fe35fdcdec lm-sensors: convert to gentargets and bump to 3.1.2
[Peter: remove stripping]
Signed-off-by: Martin Banky <Martin.Banky@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-27 22:48:13 +02:00
Peter Korsgaard
1110062e46 docs/buildroot.html: document Makefile wrapper in output dir
For out-of-tree builds.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-27 22:34:11 +02:00
Peter Korsgaard
677ae6f6a5 docs/buildroot.html: minor tweaks
- We have gconfig as well nowadays
- Variables like BUILDROOT_DL_DIR can also be set permanently in the
  environment, and not just passed to make every time.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-27 22:19:37 +02:00
Peter Korsgaard
edfb1264ef CHANGES: update with recent development
Add changes from no-install-strip branch and add #2563.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-27 22:08:39 +02:00
Peter Korsgaard
e611747255 Merge branch 'for-2010.11/no-install-strip' of git://git.busybox.net/~tpetazzoni/git/buildroot 2010-09-27 18:08:51 +02:00
Peter Korsgaard
ed6bdad8a6 vsftpd: convert to gentargets, bump version and fix build
vsftpd didn't build, and wasn't using the gentargets infrastructure.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-27 17:55:18 +02:00
Thomas Petazzoni
478ea1a12d packages: remove unneeded _INSTALL_TARGET_OPT definitions
Now that <pkg>_INSTALL_TARGET_OPT always defaults to
'DESTDIR=$(TARGET_DIR) install', we can remove the
<pkg>_INSTALL_TARGET_OPT definition from a lot of packages.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-09-27 15:32:32 +02:00
Thomas Petazzoni
55ade5c796 autotargets: don't use install-strip
Many packages using the AUTOTARGETS infrastructure do not support the
install-strip target. Moreover, we are already stripping all binary
files in the $(TARGET_DIR) anyway, so using install-strip is a bit
useless.

So, we use "make install" in all cases, and let Buildroot do the
stripping of the binaries if BR2_ENABLE_DEBUG is not set.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-09-27 15:24:39 +02:00
Peter Korsgaard
a0b6710b88 u-boot: pass ARCH/CROSS_COMPILE when running make <board>_config
Gets rid of a bunch of (ignored) errors about missing cross compiler.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-27 12:37:45 +02:00
Peter Korsgaard
fa0d2d142c thttpd: don't use parallel make
The thttpd build system isn't safe for parallel makes, as sometimes
match.o isn't built by the time it is referenced.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-27 09:58:45 +02:00
Peter Korsgaard
7e7fce1b02 linux/kernel-headers: bump 2.6.32.x / 2.6.35.x stable versions
And add missing 2.6.35 patch.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-27 09:20:27 +02:00
Yann E. MORIN
aefad5317f Makefile: generate a Makefile wrapper in $(O)
If building out-of-tree, add a Makefile wrapper that calls-out to the real
Makefile with proper args.

Avoids having to pass -C and O= every time we call make.

This is highly inspired from how the Linux kernel does it, and portions of
it have been used. We can't use exactly the same implementation as the
kernel does, because:

 - the script writing the wrapper has been expunged of the few lines
   that were too kernel-related: in buildroot we do not need the version
   string in the wrapper, and we do not have a patchlevel version;

 - "in-tree build" does not have the same meaning for the kernel and for
   buildroot: for the kernel, $(O) point to the $(TOPDIR), while for
   buildroot $(O) points to $(TOPDIR)/output.

For more complete explanations, see:
  http://lists.busybox.net/pipermail/buildroot/2010-September/037815.html

[Peter: minor tweaks]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-26 23:47:07 +02:00
Martin Banky
0f9da87c1d axel: convert to gentargets and bump to 2.4
[Peter: fix build with locale, pass LDFLAGS, simplify install]
Signed-off-by: Martin Banky <Martin.Banky@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-26 23:11:43 +02:00
Martin Banky
f09275968c logrotate: convert to gentargets and bump to 3.7.9
[Peter: pass LDFLAGS, remove manpages, get rid _BINARY vars only used once]
Signed-off-by: Martin Banky <Martin.Banky@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-26 22:53:22 +02:00
Martin Banky
231449e1d5 hwdata: convert to gentargets and bump to 0.230
[Peter: get rid of unused vars, use install -D]
Signed-off-by: Martin Banky <Martin.Banky@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-26 22:35:05 +02:00
Martin Banky
3d840536cc dosfstools: convert to gentargets and bump to 3.0.10
[Peter: pass LDFLAGS, remove stripping]
Signed-off-by: Martin Banky <Martin.Banky@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-26 22:25:06 +02:00
Peter Korsgaard
91e32e23f0 hotplug: mark as deprecated
It's ancient (+5yrs), no upstream and stuff like this is better handled
through mdev/udev nowadays.

It will be removed after 2010.11 unless someone complains.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-26 22:15:17 +02:00
Martin Banky
d4f1332110 bsdiff: convert to gentargets
[Peter: cleanup build, install and uninstall targets]
Signed-off-by: Martin Banky <Martin.Banky@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-26 21:54:13 +02:00
Peter Korsgaard
85fac9e0c8 boa: convert to autotargets
Based on Martin's patch to convert to gentargets.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-26 21:11:32 +02:00
Peter Korsgaard
789f61379a fbset: misc cleanup
Use install -D so it doesn't fail if usr/sbin doesn't exist, remove
unneeded stripping and move target cleanup to _UNINSTALL_TARGET_CMDS.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-26 20:54:34 +02:00
Martin Banky
b850ce811f fbset: convert to gentargets
Signed-off-by: Martin Banky <Martin.Banky@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-26 20:52:25 +02:00
Peter Korsgaard
1114b47774 ezxml: misc fixes
Install into target as well, and use install -D instead of cp, to handle
missing usr/include / usr/lib.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-26 14:34:43 +02:00