Commit Graph

9683 Commits

Author SHA1 Message Date
Thomas Petazzoni
33518020ba package: add a PRE_PATCH_HOOKS hook point
This will be useful to integrate Xenomai and RTAI into Buildroot, so
that they can patch the kernel before the normal patching process
starts.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-20 22:18:14 +02:00
Peter Korsgaard
8ca82530b8 kernel-headers: fix 3.0 header exports for headers with __packed
Fixes E.G. mtd/ubi-user.h, which otherwise breaks busybox 1.9 builds
with ubi applets.

Upstream post 3.0 and discussed here: https://lkml.org/lkml/2011/6/22/25

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-20 21:38:53 +02:00
Peter Korsgaard
dcb43a0eb0 barebox: patch-kernel.sh is no more
Thanks to Sven Neumann for noticing.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-19 10:13:37 +02:00
Peter Korsgaard
358601f851 CHANGES: update with recent changes
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-18 23:01:33 +02:00
Thomas Petazzoni
8797a9cd1f Add support for the RTAI real-time extension
[Peter: fix rtai Config.in]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-18 23:00:07 +02:00
Thomas Petazzoni
a473a616d2 package: change ordering of steps
Currently, the dependency chain is :

 configure -> patch
 patch -> extract
 extract -> depends
 depends -> source + dependencies ready

This is a problem for RTAI, as :

 * In linux/linux-ext-rtai.mk, we need the RTAI source code to be
   extracted/patched by the RTAI package, so we need to have a
   dependency on RTAI.

 * The RTAI package cannot have its configure step executed before the
   Linux kernel is built, because it needs the kernel source code to
   be extracted and configured.

Therefore, we have a sort of circular dependency. We solve this
circular dependency by having the RTAI kernel part depending on
rtai-patch, and having the RTAI userspace part depending on the linux
package. However, for this to work, we have to modify the dependency
chain to:

 configure -> patch + depends
 patch -> extract
 extract -> source
 depends -> dependencies ready

Which means that dependencies are guaranteed to be built not when the
package is extracted, but when the package is configured. Which is
technically more correct that what we were doing in the past.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-18 23:00:07 +02:00
Thomas Petazzoni
4b78a50089 xenomai: add support to keep or remove skins
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-18 23:00:07 +02:00
Thomas Petazzoni
60d4822052 xenomai: add support to keep or remove Analogy utilities and libs
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-18 23:00:07 +02:00
Thomas Petazzoni
832ff5c9c0 xenomai: add support to keep or remove RT-CAN utilities
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-18 23:00:07 +02:00
Thomas Petazzoni
638ee5cd48 xenomai: add support to keep or remove testsuite programs
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-18 23:00:06 +02:00
Thomas De Schampheleire
956d4ab0f5 Add xenomai real-time Framework to buildroot
[Fixes by Thomas, including comments from Arnout:
  * Use AUTOTARGETS instead of GENTARGETS

  * Use $(KERNEL_ARCH) instead of $(BR2_ARCH) as argument to the
    prepare-kernel.sh script. This allows the arch name to be fixed
    with the usual sed expressions and the quotes to be stripped.

  * Add the --verbose option to prepare-kernel.sh. This allows to get
    some clear error message when no Xenomai patch has been found for
    the current kernel version.

  * Improve the help texts as suggested by Arnout, and remove the
    now useless README file.

  * Add a BR2_PACKAGE_XENOMAI_SMP option, instead of poking inside the
    kernel configuration to find out whether SMP is enabled or
    not. This cannot work because: 1) the kernel might be built
    outside of Buildroot and 2) if the kernel is built inside
    Buildroot, it is built *after* Xenomai, so the kernel
    configuration file is typically not yet present.

  * Simplify the ARM subarchitecture selection as suggested by Arnout.

  * Remove the documentation and development files according to
    Buildroot standards (using BR2_HAVE_DOCUMENTATION and
    BR2_HAVE_DEVFILES).

  * Simplify the /etc/ld.so.conf modification logic.
]

[Peter: whitespace fixes]
Signed-off-by: Benoit Mauduit <benoit.mauduit@openwide.fr>
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-18 22:59:44 +02:00
Thomas De Schampheleire
3011d23518 linux: Add Linux Kernel extensions menu
Add a kernel sub-menu (called "Linux Kernel Extensions"), which makes
possible to patch it or tweak the kernel build step.

 * All linux/linux-ext-*.mk files will be read by the make process.
 * The menu can be customized in "linux/Config.ext.in".

[Peter: small fixes]
Signed-off-by: Benoit Mauduit <benoit.mauduit@openwide.fr>
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-18 22:59:20 +02:00
Peter Korsgaard
ad1fd97785 u-boot: clarify network settings submenu, disable override by default
Make it clear that these options override the board defconfig, and
don't enable it by default.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-18 22:12:34 +02:00
Peter Korsgaard
ec9ec06b56 boot: get rid of toplevel submenus
Sub options are indented anyway, so no need for empty menus / force people
to enter sub menus to see configuration options.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-18 22:09:42 +02:00
Jean-Christophe PLAGNIOL-VILLARD
661c18bffd barebox: add support for custom version, tarball, git and patch dir
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-18 22:06:51 +02:00
Thomas Petazzoni
2455c89bab python: bump to 2.7.2
This is mostly a mechanical bump, with a refresh of all the patches to
accomodate the offsets, and some minor conflict resolution.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-18 21:05:10 +02:00
Thomas Petazzoni
a21642c7eb python: fix build by adding some more patches
The removal of -L flags from TARGET_LDFLAGS in
7e3e8ec040 has trigerred some more
issues with Python, requiring some more hacky fixes.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-18 21:05:01 +02:00
Peter Korsgaard
16d6e9b342 Makefile.autotools.in: fix autoreconf libtool patching after libtool move
Commit 20f8a7dec6 (support: move libtool patches in support/libtool)
missed the autoreconf variant of the libtool patching, breaking the build
for packages needing both autoreconf and libtool patching.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-17 14:16:42 +02:00
Peter Korsgaard
cbdb0a0922 tslib: drop redundant configure options
And cleanup while we're at it.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-17 14:03:33 +02:00
Thomas Petazzoni
102a93bdca support: move package/gnuconfig to support/gnuconfig
The CONFIG_UPDATE macro is no longer defined in
package/gnuconfig/gnuconfig.mk, but instead in
package/Makefile.autotools.in. It it also changed a little bit to take
the directory of the package sources as argument, and the AUTOTARGETS
infrastructure is updated to use this macro.

[Peter: drop echo in CONFIG_UPDATE]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-17 08:22:12 +02:00
Thomas Petazzoni
56da3859c7 support: move kconfig stuff from package/config to support/kconfig
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-17 08:17:06 +02:00
Thomas Petazzoni
59a326b934 support: move patch-kernel.sh and rename it
The name "patch-kernel.sh" is a bit stupid, since this script is used
to patch everything in Buildroot, not only kernel trees.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-17 08:15:32 +02:00
Thomas Petazzoni
20f8a7dec6 support: move libtool patches in support/libtool
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-17 08:14:56 +02:00
Thomas Petazzoni
f082c7c5cf support: move scripts/ to a new support/ directory
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-17 08:14:11 +02:00
Thomas Petazzoni
3e304db0f0 scripts/mkmakefile: fix typo
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-17 08:13:16 +02:00
Thomas Petazzoni
8adad451a3 scripts: remove old, unmaintained, unused scripts
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-17 08:12:39 +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
27b58e3972 qt: bump version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-17 07:51:10 +02:00
Peter Korsgaard
25c117fa2a fuse: bump version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-15 15:34:19 +02:00
Yegor Yefremov
e849ff5d33 iw: bump to 3.1
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-13 23:44:59 +02:00
Yegor Yefremov
ab9a76efff openssh: bump to 5.9p1
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-13 23:41:04 +02:00
Yegor Yefremov
307c006695 lzop : bump to 1.03
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-13 23:39:29 +02:00
Darius Augulis
9136457992 libevent: bump to version 2.0.13
Signed-off-by: Darius Augulis <augulis.darius@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-13 23:36:42 +02:00
Gustavo Zacarias
c961e963ff iptables: bump to version 1.4.12.1
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-13 23:31:59 +02:00
Gustavo Zacarias
1a17d9f60a gmp: bump to version 5.0.2
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-13 23:31:32 +02:00
Gustavo Zacarias
60eb1eef16 mpfr: bump to version 3.0.1_p4
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-13 23:31:14 +02:00
Gustavo Zacarias
b7fe77e43f usbutils: bump to version 004
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-13 23:30:37 +02:00
Gustavo Zacarias
065762c091 ipset: bump to version 6.9.1
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-13 23:30:21 +02:00
Gustavo Zacarias
4a54dafcd2 ipsec-tools: bump to version 0.8.0
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-13 23:30:07 +02:00
Gustavo Zacarias
fcc55064e1 mpd: bump to version 0.16.4
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-13 23:29:50 +02:00
Peter Korsgaard
94349b4e59 portaudio: disable parallel build
The portaudio build system contains a race condition, which gets triggered
by high BR2_JLEVEL settings - It tries to use libportaudio.la before it is
created:

make[3]: *** No rule to make target `../../../lib/libportaudio.la',
needed by `libportaudiocpp.la'.  Stop.

Fix it by disabling parallel build.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-13 21:45:03 +02:00
Sven Neumann
c71b56b8c1 samba: fix linking of smbd with avahi support
Expliticly link with -lpthread if smbd is compiled with
avahi support. Otherwise the binary will fail to run.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-13 21:32:14 +02:00
Sven Neumann
b25b711e4a samba: bump to 3.5.11
Bump to version 3.5.11 and also update the download location.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-13 21:31:55 +02:00
Peter Korsgaard
ab6b9e77fe uClibc: add patches to unbreak 0.9.32 on powerpc e500
Patches from Jason Woodward, posted on the uClibc list back in July.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-13 16:02:38 +02:00
Peter Korsgaard
3e4d029219 barebox: bump version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-13 08:54:39 +02:00
Peter Korsgaard
227eebae00 CHANGES: update with recent changes
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-13 00:46:06 +02:00
Yegor Yefremov
a50f6ef29e openssl: bump to 1.0.0e
Changes between 1.0.0d and 1.0.0e [6 Sep 2011]

  *) Fix bug where CRLs with nextUpdate in the past are sometimes accepted
     by initialising X509_STORE_CTX properly. (CVE-2011-3207)
     [Kaspar Brand <ossl@velox.ch>]

  *) Fix SSL memory handling for (EC)DH ciphersuites, in particular
     for multi-threaded use of ECDH. (CVE-2011-3210)
     [Adam Langley (Google)]

  *) Fix x509_name_ex_d2i memory leak on bad inputs.
     [Bodo Moeller]

  *) Remove hard coded ecdsaWithSHA1 signature tests in ssl code and check
     signature public key algorithm by using OID xref utilities instead.
     Before this you could only use some ECC ciphersuites with SHA1 only.
     [Steve Henson]

  *) Add protection against ECDSA timing attacks as mentioned in the paper
     by Billy Bob Brumley and Nicola Tuveri, see:

	http://eprint.iacr.org/2011/232.pdf

     [Billy Bob Brumley and Nicola Tuveri]

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-13 00:17:15 +02:00
Subramaniam C.A
d1a9698bec ext-toolchain: fix download url
The website for downloading the toolchain has changed from
http://www.codesourcery.com to http://sourcery.mentor.com

Signed-off-by: Subramaniam C.A <subramaniam.ca@ti.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-12 23:58:22 +02:00
Murat Demirten
a991e3e143 package: add portaudio
PortAudio is a free, cross-platform, open-source, audio I/O library.

[Peter: fix whitespace, dependencies, alsa-lib name]
Signed-off-by: Murat Demirten <mdemirten@yh.com.tr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-12 22:36:13 +02:00
Peter Korsgaard
d5b35e2c70 musepack: disable parallel build
The musepack build system contains a race condition, which gets triggered by
high BR2_JLEVEL settings - It tries to link against libmpcdec before it is
created:

Linking C executable mpcgain
/scratch/peko/host/usr/lib/gcc/arm-unknown-linux-uclibcgnueabi/4.4.6/../../../../arm-unknown-linux-uclibcgnueabi/bin/ld: cannot find -lmpcdec
collect2: ld returned 1 exit status
make[3]: *** [mpcgain/mpcgain] Error 1

Fix it by disabling parallel build.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-12 13:57:14 +02:00