Commit Graph

3372 Commits

Author SHA1 Message Date
Thomas Petazzoni
fd3800c197 Remove BR2_TOPDIR_PREFIX and BR2_TOPDIR_SUFFIX
The same effect can be done using out-of-tree build with O=

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-09-16 20:33:27 +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
Olaf Rempel
27cf8114bf iptables: use multipurpose binaries and bump version
Closes #587

- bump version to 1.4.4
- iptables-optional-ipv6.patch no longer needed (included in upstream)
- use ipXtables-multi binaries with symlinks to ipXtables, ipXtables-save,
  ipXtables-restore instead of 3 distinct binaries

Signed-off-by: Olaf Rempel <razzor@kopf-tisch.de>
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-16 08:47:38 +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
Sven Neumann
f1a0066b3d divine: new package
DiVine is the DirectFB virtual input extension.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-11 13:47:22 +02:00
Peter Korsgaard
c4bd271661 radvd: bump version
Fixes segfault issues with plug/unplug and other misc fixes.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-10 19:51:55 +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
dfca1b2e0e coreutils: fix rename-with-trailing-slash bug override variable name
The variable controlling if coreutils thinks the system has the
rename-with-trailing-slash bug is called
gl_cv_func_rename_trailing_slash_bug and not vb_cv_..

Forcing this off works around a bug in coreutils configure, which
otherwise tries to compile Windows-only workaround code.

Reported-by: Stephen Rodgers <hwstar@rodgers.sdcoxmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-10 09:25:55 +02:00
Gustavo Zacarias
57f3b11d11 kismet: bump version and convert to Makefile.autotools.in format
Closes #487

* Bump kismet from 2007-10-R1 to 2009-06-R1 (newcore: nicer, more features)
* Migrate to Makefile.autotools.in
* Introduce new options to just install the server, client, drone or
  combination

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-09 16:40:19 +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
Sven Neumann
7b66a9435b directfb: update to 1.4.2, add option for pxa3xx driver
Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-03 21:19:07 +02:00
Sven Neumann
7ee403d3c2 libglib2: bump version to 2.20.5
Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-03 21:18:29 +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
Daniel Mack
32518793e1 libarchive package added
See http://code.google.com/p/libarchive/

[Peter: removed conditional target install, added wchar dependency]

Signed-off-by: Daniel Mack <daniel@caiaq.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-02 10:00:51 +02:00
Gustavo Zacarias
74834991a8 dnsmasq: misc fixes
Closes #527

* convert to Makefile.autotools.in format
* Bump to version 2.50 fixes security issues CVE 2009-2957 and 2009-2958.
* fix dbus paths and dependencies
* Install manpage conditionally
* Introduce new DHCP server option

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Daniele Salvatore Albano <d.albano@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-01 23:05:30 +02:00
Peter Korsgaard
6b0d895f64 xdata_xcursor-themes: -source target should only download, not extract
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-01 17:00:29 +02:00
Peter Korsgaard
f38fe3a1a3 sdl_net: rename back to SDL_net
It turns out that renaming SDL_net to sdl_net (688c388ce7) isn't
such a good idea, as the name is also used for the tarball filename to
download.

Instead go back to use SDL_net again, and simply add an sdl_net alias.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-01 16:44:06 +02:00
Peter Korsgaard
129c2d1e1d gtk2-themes: fix typo
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-01 15:46:44 +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
49c47f55a8 util-linux: use := instead of = to stop recursion
Unbreaks util-linux together with busybox

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-08-31 22:11:36 +02:00
Kelvin Cheung
cc8a917598 ctorrent: build with ssl support if available
Closes #557

Build with openssl support if that is enabled.

Signed-off-by: Kelvin Cheung <keguang.zhang@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-08-31 07:23:59 +02:00
Peter Korsgaard
014df317d4 util-linux: fix build with locale in toolchain
Closes #529.

util-linux needs to link with libintl when locale support is available /
requested in the toolchain, similar to how it is done for avahi.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-08-30 22:08:21 +02:00
Peter Korsgaard
621e8726f9 util-linux: fix libblkid detection
We don't have libblkid in BR, so make sure the configure script doesn't
detect it if it is installed on the host.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-08-30 21:59:55 +02:00
Peter Korsgaard
8ed829a179 buildroot: fix remaining references to SDL_net instead of sdl_net
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-08-29 17:21:52 +02:00
Peter Korsgaard
688c388ce7 sdl_net: use sdl_net instead of SDL_net as make target
As suggested by Julien Boibessot <julien.boibessot@free.fr>.

The other SDL extensions use sdl_xx, and not SDL_xx, so rename sdl_net
to match.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-08-28 15:30:51 +02:00
Peter Korsgaard
717aaab9e8 package/Makefile.in: use := for INSTALL
So it doesn't get reevaluated every time and for consistency with FLEX/BISON.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-08-26 09:52: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
Thomas Petazzoni
8bc2fbe6dc Merge branch 'alsa-utils-fix' into for-2009.08
Conflicts:
	CHANGES
2009-08-20 00:10:26 +02:00
Thomas Petazzoni
350b6c6e4b alsa-utils: fix build for x86 on x86-64
alsa-utils included two ugly patches for ARM and AVR32 to fix build
issues encountered with ncurses. In fact these build issues were
caused by the fact that alsa-utils was using ncurses5-config of the
host instead of the one installed in $(STAGING_DIR).

Therefore, these two patches are removed, and we instead pass
ac_cv_prog_ncurses5_config to the ./configure script.

This commit solves bug #569, reported by Simon Pasch, who also
contributed this fix.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-08-20 00:07:27 +02:00
Thomas Petazzoni
843c592a7c libsoup: enable autoreconf
To get the libtool patch to make some effect, an autoreconfiguration
is necessary.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-08-10 20:22:31 +02:00
Thomas Petazzoni
5cecbb7fba libxslt: tell ./configure where libxml is
libxslt is currently configured with --with-libxml-include-prefix,
which allows libxslt ./configure to find libxml headers. However, the
build of libxslt fails because it doesn't find the library itself.

Therefore, instead of using --with-libxml-include-prefix, we switch to
the more generic --with-libxml-prefix.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-08-10 20:21:13 +02:00
Thomas Petazzoni
26e37dd3c4 webkit: select cairo PNG feature
Webkit currently depends on libgtk2, which itself depends on
Cairo. However, the dependency of libgtk2 is only on
BR2_PACKAGE_CAIRO, BR2_PACKAGE_CAIRO_PS and
BR2_PACKAGE_CAIRO_PDF. While this might be enough for libgtk2 to build
and work, Webkit makes direct use of the PNG functionnalities of
Cairo. If this functionnality is not available in Cairo, the Webkit
build complains that cairo_surface_write_to_png_stream() is not
defined.

Therefore, we make sure that WebKit selects BR2_PACKAGE_CAIRO_PNG.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-08-10 20:17:20 +02:00
Thomas Petazzoni
7df179ae00 webkit: disable the libtool patch
The version of Webkit packaged in Buildroot uses libtool 2.x, for
which our package/buildroot-libtool.patch does not apply. So we
disable this patch. However, on my system, the lack of libtool
modification prevents the final linking to succeed (due to libtool
trying to link target code with host libraries). This will have to be
fixed separatly.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-08-10 20:14:55 +02:00
Thomas Petazzoni
7e62e8ec72 Remove --without-html-dir from DISABLE_DOCUMENTATION
In an attempt to disable the compilation and installation of
documentation of gtk packages, a DISABLE_DOCUMENTATION variable
containing --without-html-dir has been added to
package/Makefile.in. This variable is used by
package/Makefile.autotools.in so that --without-html-dir is in effect
passed to all autotools-based packaging relying on the
Makefile.autotools.in infrastructure.

Unfortunately, --without-html-dir doesn't work. It leads libglib2
./configure script to think that HTML_DIR is "no", which leads to the
installation of the documentation in $(STAGING_DIR)no (yes, with the
"no" suffix at the end). The issue is that --with-html-dir is not an
enable/disable type of option, it's an option that only allows to pass
a PATH for documentation installation.

As we don't want the documentation to be installed in this odd
$(STAGING_DIR)no directory, we simply get rid of this option.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-08-08 20:21:58 +02:00
Jean-Christian de Rivaz
3de4ce5b32 Update dbus to version 1.2.16
Signed-off-by: Jean-Christian de Rivaz <jc@eclis.ch>
2009-08-08 19:07:21 +02:00
Sven Neumann
7ad7a89244 directfb: remove unnecessary dependency on libungif
The GIF image provider in DirectFB is self-contained and doesn't
need libungif.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
2009-08-07 19:03:42 +02:00
Sven Neumann
dfc4deffd4 directfb: allow to enable debug and trace support
This change adds two new options, BR2_PACKAGE_DIRECTFB_DEBUG
to enable lots of debugging output from DirectFB and
BR2_PACKAGE_DIRECTFB_TRACE to enable support for call traces
in case of a crash.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
2009-08-07 19:03:34 +02:00
Will Newton
5e64f5057b berkeleydb: Update config.{sub,guess} in configure step.
Some architectures may need updates to the configure helper scripts
before it is possible to safely configure.

Signed-off-by: Will Newton <will.newton@gmail.com>
2009-08-07 19:01:18 +02:00
Will Newton
da28297091 enchant: Fix dependencies.
Enchant requires C++ support, libglib2 and pkg-config.

Signed-off-by: Will Newton <will.newton@gmail.com>
2009-08-07 19:00:40 +02:00
Nigel Kukard
9f96221e5e Build neon with SSL support if available 2009-08-05 12:11:08 +00:00
Peter Korsgaard
fe370d6695 Merge branch 'popt-versoin-update' of git://git.busybox.net/~nkukard/git/buildroot 2009-08-05 13:48:52 +02:00
Peter Korsgaard
ccc42efe22 libuuid: add -source and -clean targets
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-08-05 13:46:05 +02:00
Daniel Mack
b6718de1ec e2fsprogs: factor out libuuid support
Add a new target for libuuid so it can be built without e2fsprogs.

Signed-off-by: Daniel Mack <daniel@caiaq.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-08-05 13:35:25 +02:00
Peter Korsgaard
4838289a13 Merge branch 'gzip-fix' of git://git.busybox.net/~tpetazzoni/git/buildroot 2009-08-05 09:22:45 +02:00
Thomas Petazzoni
27c667c782 gzip: add patch to fix glibc build
Recent glibc versions introduced a futimens() function, that gzip
already implemented. So waiting for a proper usage of this function in
gzip, we rename the gzip internal function to gz_futimens().

Patch inspired by
http://lists.pld-linux.org/mailman/pipermail/pld-cvs-commit/Week-of-Mon-20070514/155476.html

Fixes bug #537

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-08-04 23:55:28 +02:00