Commit Graph

3414 Commits

Author SHA1 Message Date
Peter Korsgaard
b9df3aefc6 liblockfile: fix target-install dependencies
liblockfile.so.1.0 gets installed into /usr/lib, not /lib, so the target
install make target is always considered out-of-date.

Do various cleanups while we're here.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-02 10:09:13 +02:00
Peter Korsgaard
0b61765444 dnsmasq: remove unneeded post install hook
Makefile.autotools.in already cleans up man pages if configured to do so.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-02 09:37:18 +02:00
Peter Korsgaard
076f06e0f5 libuuid: cleanup
Got rid of LIBUUID_TARGET_DIR, and made sure staging install is only
done once.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-02 09:33:01 +02:00
Peter Korsgaard
4e3f0e4f67 libuuid: fix target-install dependencies
libuuid.so gets installed into /usr/lib, not /lib, so the target
install make target is always considered out-of-date.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-02 09:26:23 +02:00
Peter Korsgaard
8a19a79565 mdnsresponder: remove package
The source target was broken until very recently, and it doesn't build
as it tries to use the host compiler for the client stuff, so there
cannot be many users of it.

People should use avahi instead nowadays, so so just remove it instead
of hacking it to work.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-01 22:36:14 +02:00
Peter Korsgaard
01ca437954 imagemagick: fix build
Fix various breakage in the imagemagick build:
- libWand.* is now called libMagickWand.*
- libMagic.* is now called libMagickCore.*
- References to wrong version numbers in directories
- Libraries missing from clean target

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-01 22:11:59 +02:00
Peter Korsgaard
6a0a14d4e4 mdnsresponder: fix -source target
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-01 21:40:05 +02:00
Peter Korsgaard
3fdf0bffb8 buildroot: silence ./configure step when building with 'make -s'
We have been passing -q to ./configure when using 'make -s' for
packages using Makefile.autotools.in for some time. Do the same
for packages using autotools, but not using the
Makefile.autotools.in infrastructure, taking care to not do it
for packages with hand written configure scripts.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-01 21:24:42 +02:00
Michael Roth
72a119c84b zlib: Replace negative logic in Makefile with positive
Positive logic is easier to read and understand than something
like 'if not option=yes then foo else bar'.

Signed-off-by: Michael Roth <mroth@nessie.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-30 11:52:56 +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
b5cbb760ad pango: needs host version of pango for pango-querymodules
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-29 11:44:41 +02:00
Emmanuel Riou
19dde3a7aa Add Swfdec Free flash library
Peter: fixed kconfig (missing/wrong dependencies, text, trailing spaces)
and makefile typo (ohost-pkgconfig).

Signed-off-by: Emmanuel Riou <riou.emmanuel@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-29 11:34:26 +02:00
Sven Neumann
bc95b3ad3b package: add gvfs
Closes #303.

Peter: Fix Kconfig (largefile, expat, indentation)

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-27 23:21: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
aa59f70425 shared-mime-info: target compilation needs target versions of libglib2/libxml2
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-27 22:39:30 +02:00
Peter Korsgaard
a6dfb9265b dbus-glib: tighten dbus expat dependency
Depend on dbus being compiled with expat support and not just on expat
being enabled, as you can have expat enabled and still compile dbus
with libxml2 support instead.

While we're at it, only show comment about unforfilled dependencies if
dbus is enabled.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-27 21:46:43 +02:00
Peter Korsgaard
91717c0148 dbus: prefer expat if available even if libxml2 also is
dbus-glib needs dbus to be compiled with expat support, so prefer that
mode even if libxml2 is also enabled.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-27 21:45:11 +02:00
Peter Korsgaard
bdccd7b2e6 mpfr: use patch-kernel to apply downloaded patch
Reported by Emmanuel Riou <riou.emmanuel@googlemail.com>.

With the recent change to use $(TOPDIR)/dl as default for $(DL_DIR)
(416323e93), DL_DIR is now a relative path (./dl), which breaks the
mpfr patch handling as it changes dir.

Fix is by using patch-kernel instead of calling patch, which does
the right thing.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-24 17:14:31 +02:00
Ormund Williams
1f09b42f50 Add i830 graphics driver to DirectFB
Signed-off-by: Ormund Williams <ormundw@panix.com>[A
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-24 12:20:40 +02:00
Peter Korsgaard
04bef3eb55 package: fix reference to host glib-genmarshal
Reported by Sven Neumann <s.neumann@raumfeld.com>

Use LIBGLIB2_HOST_BINARY instead of the non-existing $(HOST_GLIB)
variable to refer to the host version of glib-genmarshal.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-23 14:57:12 +02:00
Peter Korsgaard
db5e305867 openssl: use generic support for avr32
Upstream openssl doesn't have avr32 support, and we dropped the
avr32 optimization patch some time ago.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-23 14:44:23 +02:00
Michael Roth
cb5710c538 rename TOOL_BUILD_DIR to TOOLCHAIN_DIR
To reflect the new output directory hierachy rename the Makefile variable
TOOL_BUILD_DIR to TOOLCHAIN_DIR.

Signed-off-by: Michael Roth <mroth@nessie.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-23 09:15:27 +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
Sven Neumann
e7da301b42 samba: fix dependencies
The samba configure scripts detects the presence of fam and avahi
headers in order to decide whether support for fam and/or avahi should
be built into samba. This patch adds the missing dependencies so that
fam and/or avahi are built before samba if they are selected in buildroot.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-21 23:28:23 +02:00
Sven Neumann
1d9178db29 samba: add option to install libsmbclient
Closes #301

The libsmbclient library is part of the samba package. It can be used
to build applications that access Samba shares without the need to
mount them. Currently the library is explicitly not installed by
buildroot. Here's a patch that adds a config option to install it.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-21 23:26:51 +02:00
Sven Neumann
5fda7023ff samba: explicitly link with -pthread if avahi support is enabled
The avahi-client library makes use of threads. We need to link the
smbd binary with -pthread if avahi support is enabled. Otherwise the
binary will crash at startup.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-21 21:25:00 +02:00
Peter Korsgaard
c5388a1c62 libmicrohttpd: cleanup Config.in
- 'n' is default, so no need to mention it explicit
- Add homepage URL

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-21 17:46:06 +02:00
Will Newton
0c2b9a4a2d python: Don't delete .py files unless asked.
If we have set BR2_PACKAGE_PYTHON_PY_ONLY or BR2_PACKAGE_PYTHON_PY_PYC
we want .py files to be left on the target, whatever the value of
BR2_PACKAGE_PYTHON_DEV.

Signed-off-by: Will Newton <will.newton@gmail.com>
2009-09-20 19:34:48 +01:00
Will Newton
1a9015f5d5 libmicrohttpd: New package.
libmicrohttpd is a library that allows embedding an HTTP server into
an application with a small code and memory footprint.

Signed-off-by: Will Newton <will.newton@gmail.com>
2009-09-20 19:34:41 +01:00
Will Newton
51173980cd package/Makefile.in: Use appropriate paths for host pkg-config.
PKG_CONFIG_PATH adds a path to the pkg-config search path, but this is not
enough when we are building host tools - the host pkg-config default path
is still used, and this will pick up .pc files in the staging_dir tree.

PKG_CONFIG_LIBDIR overrides the pkg-config default path and ensures only
host .pc files are found. This fixes a pango build failure when building
for the host with cairo PNG support enabled.

Signed-off-by: Will Newton <will.newton@gmail.com>
2009-09-20 19:34:27 +01:00
Will Newton
bf5e693d75 package/Makefile.autotools.in: Add $(PKG)_AUTORECONF_OPT variable.
Allow options to be passed to the autoreconf script if necessary.

Signed-off-by: Will Newton <will.newton@gmail.com>
2009-09-20 19:34:21 +01:00
Will Newton
b7f689ae2d autoconf: Bump version to 2.64.
This release of autoconf brings a number of bug fixes, including a change
to the autoreconf script to pass the correct include path parameter to
aclocal.

Signed-off-by: Will Newton <will.newton@gmail.com>
2009-09-20 19:34:03 +01:00
Olaf Rempel
1fe7bbb34d iptables: fix disable-ipv6 option
- bumb version to v1.4.5
- add fix for --disable-ipv6 option
  (upstream bug: http://bugzilla.netfilter.org/show_bug.cgi?id=608)

Signed-off-by: Olaf Rempel <razzor@kopf-tisch.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-20 14:44:12 +02:00
Evan Zelkowitz
8e8354d4db Add SDL_sound package
Closes #477

Peter: minor tweaks:
 - sdl_snd -> sdl_sound
 - cleaned up help text
 - don't transform binary name
 - add option to keep playsound/playsound_simple - Off by default
 - fix uninstall when BR2_HAVE_DEVFILES isn't enabled

Signed-off-by: Evan Zelkowitz <evan.zelkowitz@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-20 10:05:15 +02:00
Peter Korsgaard
515b511d41 libevent: only install event_rpcgen.py if python support is enabled
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-19 21:31:57 +02:00
Will Newton
a07032e117 libevent: Bump version and clean up makefile.
Closes #565

- Bump version from 1.2 to 1.4.12
- Clean up makefile and use Makefile.autotools.in.

Signed-off-by: Will Newton <will.newton@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-19 21:25:56 +02:00
Peter Korsgaard
72cdec0a43 package/: remove unused / unreferenced udhcp package
Udhcp got integrated into busybox a long time ago, and the udhcp package
wasn't even included in package/Config.in, so it couldn't be used.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-19 19:28:07 +02:00
Peter Korsgaard
797551c8ce package/: hide more programs with busybox alternatives by default
Hide netkitbase / netkittelnet / tftp / devmem2 when
BR2_PACKAGE_BUSYBOX_HIDE_OTHERS is enabled.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-19 19:25:05 +02:00
Peter Korsgaard
fe06da781b Merge branch 'huge-cleanup' of git://git.busybox.net/~tpetazzoni/git/buildroot 2009-09-19 14:47:35 +02:00
Peter Korsgaard
f5239c327e netkittelnet: depends on netkitbase (and in term RPC support)
Closes #617

netkittelnet needs netkitbase, which in term needs RPC support in
toolchain, so adjust Kconfig dependencies to ensure this.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-19 09:46:55 +02:00
Thomas Petazzoni
3b2a803d28 Rename the output directories
In the output directory, we now have

 - build/    where all the packages are built
 - images/   where the final kernel and rootfs images are stored
 - staging/  the staging directory (containing the development files
             and libraries compiled for the target)
 - target/   which contains the target root filesystem
 - host/     which contains all the host programs
 - stamps/   which contains the stamps files

Therefore, the build_ARCH and toolchain_build_ARCH have been
removed. People willing to use the same Buildroot sources to compile
for different architectures are invited to use the O= command line
option for out-of-tree compilation.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-09-16 20:33:31 +02:00
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