buildroot.git
15 years agoltrace: fix build for powerpc
Peter Korsgaard [Fri, 2 Oct 2009 08:33:29 +0000 (10:33 +0200)]
ltrace: fix build for powerpc

ltrace wants ARCH=ppc when building for powerpc.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
15 years agopython: cleanup
Peter Korsgaard [Fri, 2 Oct 2009 08:24:54 +0000 (10:24 +0200)]
python: cleanup

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
15 years agoliblockfile: fix target-install dependencies
Peter Korsgaard [Fri, 2 Oct 2009 08:09:13 +0000 (10:09 +0200)]
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>
15 years agodnsmasq: remove unneeded post install hook
Peter Korsgaard [Fri, 2 Oct 2009 07:37:18 +0000 (09:37 +0200)]
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>
15 years agolibuuid: cleanup
Peter Korsgaard [Fri, 2 Oct 2009 07:33:01 +0000 (09:33 +0200)]
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>
15 years agolibuuid: fix target-install dependencies
Peter Korsgaard [Fri, 2 Oct 2009 07:26:23 +0000 (09:26 +0200)]
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>
15 years agodependencies: check for 'patch'
Peter Korsgaard [Fri, 2 Oct 2009 07:06:51 +0000 (09:06 +0200)]
dependencies: check for 'patch'

We need patch for patch-kernel.sh, so verify that it's available
before building.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
15 years agomdnsresponder: remove package
Peter Korsgaard [Thu, 1 Oct 2009 20:32:44 +0000 (22:32 +0200)]
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>
15 years agoimagemagick: fix build
Peter Korsgaard [Thu, 1 Oct 2009 20:11:59 +0000 (22:11 +0200)]
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>
15 years agomdnsresponder: fix -source target
Peter Korsgaard [Thu, 1 Oct 2009 19:40:05 +0000 (21:40 +0200)]
mdnsresponder: fix -source target

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
15 years agobuildroot: silence ./configure step when building with 'make -s'
Peter Korsgaard [Thu, 1 Oct 2009 19:24:42 +0000 (21:24 +0200)]
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>
15 years agobuildroot: reinstate /etc/{hostname,issue} kconfig when using generic target
Peter Korsgaard [Wed, 30 Sep 2009 19:53:22 +0000 (21:53 +0200)]
buildroot: reinstate /etc/{hostname,issue} kconfig when using generic target

These got lost in the recent cleanup, but are handy for minimal rootfs
customization.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
15 years agoMakefile: reinstate /etc/br-version
Peter Korsgaard [Wed, 30 Sep 2009 15:40:24 +0000 (17:40 +0200)]
Makefile: reinstate /etc/br-version

Got lost in the recent cleanup, but is handy to know BR version.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
15 years agoMakefile: be more quiet when make -s is used
Peter Korsgaard [Wed, 30 Sep 2009 15:39:44 +0000 (17:39 +0200)]
Makefile: be more quiet when make -s is used

Somehow got lost in the recent reorganisation.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
15 years agozlib: Replace negative logic in Makefile with positive
Michael Roth [Tue, 29 Sep 2009 22:36:03 +0000 (00:36 +0200)]
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>
15 years agoFix download directory in default configs
Michael Roth [Fri, 25 Sep 2009 14:23:54 +0000 (16:23 +0200)]
Fix download directory in default configs

Commit a07d6b9d56955bfe0165b5f4ea6d3ed7a92ecff6 changed the meaning
of $(BASE_DIR). Previously it was the top level buildroot directory,
now it is the 'output' directory.
As an side effect, the download directory 'dl' was moved to 'output/dl'.

In commit 416323e93442646e344a4e914776520c5e552fa0 the default download
directory was moved back to the top level of buildroot.

So the various default configurations should reflect this. Fix them.

Signed-off-by: Michael Roth <mroth@nessie.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
15 years agodependencies: check for >= make 3.81
Peter Korsgaard [Wed, 30 Sep 2009 07:03:40 +0000 (09:03 +0200)]
dependencies: check for >= make 3.81

Reported by Andrew Dyer <amdyer@gmail.com> and
Lionel Landwerlin <lionel.landwerlin@openwide.fr>.

Seems like make 3.80 has problems with our Makefile.autotools.in
infrastructure.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
15 years agobusybox: 1.15.1 find fix
Peter Korsgaard [Wed, 30 Sep 2009 05:27:01 +0000 (07:27 +0200)]
busybox: 1.15.1 find fix

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
15 years agobusybox: 1.15.1 lineedit fix
Peter Korsgaard [Tue, 29 Sep 2009 09:52:50 +0000 (11:52 +0200)]
busybox: 1.15.1 lineedit fix
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
15 years agoCHANGES: add swfdec package
Peter Korsgaard [Tue, 29 Sep 2009 09:45:50 +0000 (11:45 +0200)]
CHANGES: add swfdec package

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
15 years agopango: needs host version of pango for pango-querymodules
Peter Korsgaard [Tue, 29 Sep 2009 09:44:41 +0000 (11:44 +0200)]
pango: needs host version of pango for pango-querymodules

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
15 years agoAdd Swfdec Free flash library
Emmanuel Riou [Mon, 28 Sep 2009 11:03:43 +0000 (12:03 +0100)]
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>
15 years agopackage: add gvfs
Sven Neumann [Sun, 27 Sep 2009 21:19:40 +0000 (23:19 +0200)]
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>
15 years agobusybox: additional 1.15.1 fixes
Peter Korsgaard [Sun, 27 Sep 2009 21:17:43 +0000 (23:17 +0200)]
busybox: additional 1.15.1 fixes

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
15 years agoshared-mime-info: target compilation needs target versions of libglib2/libxml2
Peter Korsgaard [Sun, 27 Sep 2009 20:39:30 +0000 (22:39 +0200)]
shared-mime-info: target compilation needs target versions of libglib2/libxml2

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
15 years agodbus-glib: tighten dbus expat dependency
Peter Korsgaard [Sun, 27 Sep 2009 19:46:43 +0000 (21:46 +0200)]
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>
15 years agodbus: prefer expat if available even if libxml2 also is
Peter Korsgaard [Sun, 27 Sep 2009 19:45:11 +0000 (21:45 +0200)]
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>
15 years agokernel-headers: 2.6.30.x: fix build error in ndelay() on mips
Peter Korsgaard [Fri, 25 Sep 2009 08:01:19 +0000 (10:01 +0200)]
kernel-headers: 2.6.30.x: fix build error in ndelay() on mips

Reported by Dominic Mason <dominic@opusvl.com>.

From mainline 3cb3a66cf7559d9c.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
15 years agokernel-headers: bump 2.6.27/30/31 stable versions
Peter Korsgaard [Fri, 25 Sep 2009 07:58:43 +0000 (09:58 +0200)]
kernel-headers: bump 2.6.27/30/31 stable versions

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
15 years agompfr: use patch-kernel to apply downloaded patch
Peter Korsgaard [Thu, 24 Sep 2009 15:14:31 +0000 (17:14 +0200)]
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>
15 years agoAdd i830 graphics driver to DirectFB
Ormund Williams [Thu, 24 Sep 2009 01:13:52 +0000 (21:13 -0400)]
Add i830 graphics driver to DirectFB

Signed-off-by: Ormund Williams <ormundw@panix.com>[A
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
15 years agopackage: fix reference to host glib-genmarshal
Peter Korsgaard [Wed, 23 Sep 2009 12:55:52 +0000 (14:55 +0200)]
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>
15 years agoCHANGES: update list of new/fixed/updated packages
Peter Korsgaard [Wed, 23 Sep 2009 12:50:25 +0000 (14:50 +0200)]
CHANGES: update list of new/fixed/updated packages

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
15 years agoopenssl: use generic support for avr32
Peter Korsgaard [Wed, 23 Sep 2009 12:44:23 +0000 (14:44 +0200)]
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>
15 years agoRemove some fragments left over from the 'qstrip' transition
Michael Roth [Wed, 23 Sep 2009 10:24:50 +0000 (12:24 +0200)]
Remove some fragments left over from the 'qstrip' transition

Commit af2390c0f437dbb26a31150eb7d526e1d0bdfd1a overlooked some
old comment fragments.

Signed-off-by: Michael Roth <mroth@nessie.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
15 years agoMakefile: Remove ancient 'sourceball' target
Michael Roth [Wed, 23 Sep 2009 10:04:00 +0000 (12:04 +0200)]
Makefile: Remove ancient 'sourceball' target

Signed-off-by: Michael Roth <mroth@nessie.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
15 years agoAdd a config option for gcc tls support, rather than disabling it blindly
Austin Foxley [Sun, 20 Sep 2009 23:33:38 +0000 (16:33 -0700)]
Add a config option for gcc tls support, rather than disabling it blindly

Defaulted to yes, but blocked it from gcc 4.4.x since the disable was
originally added because of problems with its c++ support reportedly.

Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
15 years agosyslinux: update to v3.82
Anders Darander [Mon, 21 Sep 2009 08:14:55 +0000 (10:14 +0200)]
syslinux: update to v3.82

Signed-off-by: Anders Darander <ad@datarespons.se>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
15 years agoRemove unneeded trailing slash from TOPDIR
Michael Roth [Tue, 22 Sep 2009 23:30:34 +0000 (01:30 +0200)]
Remove unneeded trailing slash from TOPDIR

Signed-off-by: Michael Roth <mroth@nessie.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
15 years ago.gitignore: Update to the new directory hierachy
Michael Roth [Tue, 22 Sep 2009 23:30:23 +0000 (01:30 +0200)]
.gitignore: Update to the new directory hierachy

Signed-off-by: Michael Roth <mroth@nessie.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
15 years agoMove download directory 'dl' back to the top hierachy of buildroot
Michael Roth [Tue, 22 Sep 2009 23:30:12 +0000 (01:30 +0200)]
Move download directory 'dl' back to the top hierachy of buildroot

Signed-off-by: Michael Roth <mroth@nessie.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
15 years agorename TOOL_BUILD_DIR to TOOLCHAIN_DIR
Michael Roth [Tue, 22 Sep 2009 23:30:00 +0000 (01:30 +0200)]
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>
15 years agoChange the default BR2_DL_DIR location
H Hartley Sweeten [Wed, 23 Sep 2009 06:46:52 +0000 (08:46 +0200)]
Change the default BR2_DL_DIR location

Change to default Download dir so that different 'make O=<directory>'
commands will use the same location by default without having to
create a symlink in <directory> or having to export BUILDROOT_DL_DIR.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
15 years agobusybox: 1.15.1 fixes
Peter Korsgaard [Tue, 22 Sep 2009 21:20:55 +0000 (23:20 +0200)]
busybox: 1.15.1 fixes

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
15 years agosamba: fix dependencies
Sven Neumann [Mon, 21 Sep 2009 16:21:53 +0000 (18:21 +0200)]
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>
15 years agosamba: add option to install libsmbclient
Sven Neumann [Mon, 21 Sep 2009 21:26:51 +0000 (23:26 +0200)]
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>
15 years agosamba: explicitly link with -pthread if avahi support is enabled
Sven Neumann [Mon, 21 Sep 2009 16:48:10 +0000 (18:48 +0200)]
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>
15 years agolibmicrohttpd: cleanup Config.in
Peter Korsgaard [Mon, 21 Sep 2009 15:46:06 +0000 (17:46 +0200)]
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>
15 years agoCHANGES: add #609 / #615 covered by Will's pull request
Peter Korsgaard [Mon, 21 Sep 2009 15:42:22 +0000 (17:42 +0200)]
CHANGES: add #609 / #615 covered by Will's pull request

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
15 years agopython: Don't delete .py files unless asked.
Will Newton [Thu, 17 Sep 2009 16:45:11 +0000 (17:45 +0100)]
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>
15 years agolibmicrohttpd: New package.
Will Newton [Tue, 15 Sep 2009 12:37:54 +0000 (13:37 +0100)]
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>
15 years agopackage/Makefile.in: Use appropriate paths for host pkg-config.
Will Newton [Tue, 25 Aug 2009 12:03:33 +0000 (13:03 +0100)]
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>
15 years agopackage/Makefile.autotools.in: Add $(PKG)_AUTORECONF_OPT variable.
Will Newton [Mon, 24 Aug 2009 14:53:25 +0000 (15:53 +0100)]
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>
15 years agoautoconf: Bump version to 2.64.
Will Newton [Mon, 24 Aug 2009 14:50:32 +0000 (15:50 +0100)]
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>
15 years agoiptables: fix disable-ipv6 option
Olaf Rempel [Sun, 20 Sep 2009 11:54:02 +0000 (13:54 +0200)]
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>
15 years agoAdd SDL_sound package
Evan Zelkowitz [Sun, 20 Sep 2009 08:02:44 +0000 (10:02 +0200)]
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>
15 years agotarget: update default /etc/issue and /etc/hostname
Peter Korsgaard [Sat, 19 Sep 2009 19:37:25 +0000 (21:37 +0200)]
target: update default /etc/issue and /etc/hostname

Adjust default /etc/issue to print 'Welcome to Buildroot' like the
recently removed BR2_BANNER did, and adjust default hostname to be
'buildroot' instead of uclibc as we now support external glibc
toolchains as well.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
15 years agolibevent: only install event_rpcgen.py if python support is enabled
Peter Korsgaard [Sat, 19 Sep 2009 19:31:57 +0000 (21:31 +0200)]
libevent: only install event_rpcgen.py if python support is enabled

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
15 years agolibevent: Bump version and clean up makefile.
Will Newton [Tue, 11 Aug 2009 15:35:23 +0000 (16:35 +0100)]
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>
15 years agoCHANGES: add #619
Peter Korsgaard [Sat, 19 Sep 2009 17:33:51 +0000 (19:33 +0200)]
CHANGES: add #619

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
15 years agopackage/: remove unused / unreferenced udhcp package
Peter Korsgaard [Sat, 19 Sep 2009 17:28:07 +0000 (19:28 +0200)]
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>
15 years agopackage/: hide more programs with busybox alternatives by default
Peter Korsgaard [Sat, 19 Sep 2009 17:25:05 +0000 (19:25 +0200)]
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>
15 years agoMerge branch 'huge-cleanup' of git://git.busybox.net/~tpetazzoni/git/buildroot
Peter Korsgaard [Sat, 19 Sep 2009 12:47:35 +0000 (14:47 +0200)]
Merge branch 'huge-cleanup' of git://git.busybox.net/~tpetazzoni/git/buildroot

15 years agonetkittelnet: depends on netkitbase (and in term RPC support)
Peter Korsgaard [Sat, 19 Sep 2009 07:46:55 +0000 (09:46 +0200)]
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>
15 years agodocumentation: update after major changes
Thomas Petazzoni [Fri, 11 Sep 2009 18:40:42 +0000 (20:40 +0200)]
documentation: update after major changes

 * Remove the huge section describing the design of the removed
   "project" feature

 * Update all references to the output directory hierarchy to match
   the new one

 * Add new sections on how to rebuild single packages and how to
   create board support

 * Other updates, clarifications, reorganizations

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
15 years agoRename the output directories
Thomas Petazzoni [Fri, 31 Jul 2009 08:31:39 +0000 (10:31 +0200)]
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>
15 years agoRemove BR2_TOPDIR_PREFIX and BR2_TOPDIR_SUFFIX
Thomas Petazzoni [Fri, 31 Jul 2009 08:26:28 +0000 (10:26 +0200)]
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>
15 years agoBy default, put the output in an output/ directory
Thomas Petazzoni [Fri, 31 Jul 2009 08:24:32 +0000 (10:24 +0200)]
By default, put the output in an output/ directory

Instead of putting all the build-related stuff as a mess in the
Buildroot sources, group them in an output/ directory.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
15 years agoRemove the BOARD/LOCAL feature
Thomas Petazzoni [Fri, 31 Jul 2009 08:19:50 +0000 (10:19 +0200)]
Remove the BOARD/LOCAL feature

This can be achieved by adding a new target in target/device/, and I
will later propose a mechanism to add external boards and packages, so
that our users not willing to get their target-specific or
package-specific things merged can keep them cleanly separated from
Buildroot tree.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
15 years agoRemove the "project" feature
Thomas Petazzoni [Sat, 5 Sep 2009 13:49:30 +0000 (15:49 +0200)]
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>
15 years agobusybox: bump 1.14.x version
Peter Korsgaard [Wed, 16 Sep 2009 06:51:20 +0000 (08:51 +0200)]
busybox: bump 1.14.x version

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
15 years agokernel-headers: bump 2.6.27.x / 2.6.30.x stable versions
Peter Korsgaard [Wed, 16 Sep 2009 06:50:17 +0000 (08:50 +0200)]
kernel-headers: bump 2.6.27.x / 2.6.30.x stable versions

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
15 years agoiptables: use multipurpose binaries and bump version
Olaf Rempel [Wed, 16 Sep 2009 06:39:26 +0000 (08:39 +0200)]
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>
15 years agobusybox: don't default to long gone file for snapshot config
Peter Korsgaard [Tue, 15 Sep 2009 12:16:40 +0000 (14:16 +0200)]
busybox: don't default to long gone file for snapshot config

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
15 years agotarget/device/Atmel: get rid of unused files
Peter Korsgaard [Tue, 15 Sep 2009 07:20:30 +0000 (09:20 +0200)]
target/device/Atmel: get rid of unused files

No references to these anywhere in the tree.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
15 years agoDNS resolv problem with glibc
Anders Darander [Tue, 15 Sep 2009 06:13:10 +0000 (08:13 +0200)]
DNS resolv problem with glibc

Fix problem with dns resolv, by copying the libnss_dns.so to the rootfs.

Using glibc from external toolchain, name resolving does not work,
unless libnss_dns.so is available on the target.

Signed-off-by: Anders Darander <ad@datarespons.se>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
15 years agosquashfs: fix for mksquashfs 4.0 race condition
Peter Korsgaard [Mon, 14 Sep 2009 13:54:24 +0000 (15:54 +0200)]
squashfs: fix for mksquashfs 4.0 race condition

Fix for the race condition in mksquashfs recently seen.
Patch by Phillip Lougher.

See http://thread.gmane.org/gmane.comp.file-systems.squashfs.devel/76
for details.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
15 years agobusybox: bump 1.15.x version
Peter Korsgaard [Sat, 12 Sep 2009 18:17:34 +0000 (20:17 +0200)]
busybox: bump 1.15.x version

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
15 years agodivine: new package
Sven Neumann [Fri, 11 Sep 2009 10:47:50 +0000 (12:47 +0200)]
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>
15 years agoradvd: bump version
Peter Korsgaard [Thu, 10 Sep 2009 17:51:55 +0000 (19:51 +0200)]
radvd: bump version

Fixes segfault issues with plug/unplug and other misc fixes.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
15 years agobusybox: 1.15.0 fixes
Peter Korsgaard [Thu, 10 Sep 2009 08:51:38 +0000 (10:51 +0200)]
busybox: 1.15.0 fixes

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
15 years agobusybox: 1.14.3 fixes
Peter Korsgaard [Thu, 10 Sep 2009 08:51:15 +0000 (10:51 +0200)]
busybox: 1.14.3 fixes

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
15 years agotoolchain/gcc: make 4.3.4 default
Peter Korsgaard [Thu, 10 Sep 2009 08:32:45 +0000 (10:32 +0200)]
toolchain/gcc: make 4.3.4 default

There still seems to be some issues with 4.4.x and C++.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
15 years agokernel-headers: bump 2.6.27.x stable version
Peter Korsgaard [Thu, 10 Sep 2009 08:31:30 +0000 (10:31 +0200)]
kernel-headers: bump 2.6.27.x stable version

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
15 years agokernel-headers: add 2.6.31
Peter Korsgaard [Thu, 10 Sep 2009 08:30:54 +0000 (10:30 +0200)]
kernel-headers: add 2.6.31

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
15 years agocoreutils: fix rename-with-trailing-slash bug override variable name
Peter Korsgaard [Thu, 10 Sep 2009 07:21:48 +0000 (09:21 +0200)]
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>
15 years agokismet: bump version and convert to Makefile.autotools.in format
Gustavo Zacarias [Tue, 1 Sep 2009 17:01:40 +0000 (14:01 -0300)]
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>
15 years agokernel-headers: bump 2.6.27.x / 2.6.30.x stable versions
Peter Korsgaard [Wed, 9 Sep 2009 07:53:59 +0000 (09:53 +0200)]
kernel-headers: bump 2.6.27.x / 2.6.30.x stable versions

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
15 years agoMerge branch 'for-2009.11' of git://git.busybox.net/~tpetazzoni/git/buildroot
Peter Korsgaard [Mon, 7 Sep 2009 23:01:29 +0000 (01:01 +0200)]
Merge branch 'for-2009.11' of git://git.busybox.net/~tpetazzoni/git/buildroot

15 years agoAnnounce the first Buildroot Developer Day
Thomas Petazzoni [Mon, 7 Sep 2009 21:45:39 +0000 (23:45 +0200)]
Announce the first Buildroot Developer Day

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
15 years agobuildroot: add basic Bazaar support
Sven Neumann [Fri, 7 Aug 2009 09:57:54 +0000 (11:57 +0200)]
buildroot: add basic Bazaar support

This change adds the config options BR2_BZR_CO and BR2_BZR_UP that
allow to configure the commands for doing a checkout/update from
a Bazaar repository.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
15 years agoMerge branch 'qstrip' of git://git.busybox.net/~tpetazzoni/git/buildroot
Peter Korsgaard [Sat, 5 Sep 2009 13:24:12 +0000 (15:24 +0200)]
Merge branch 'qstrip' of git://git.busybox.net/~tpetazzoni/git/buildroot

15 years agoscript: use qstrip
Thomas Petazzoni [Sat, 5 Sep 2009 13:00:37 +0000 (15:00 +0200)]
script: use qstrip

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
15 years agotoolchain: use qstrip
Thomas Petazzoni [Thu, 30 Jul 2009 15:35:26 +0000 (17:35 +0200)]
toolchain: use qstrip

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
15 years agotarget: use qstrip
Thomas Petazzoni [Thu, 30 Jul 2009 15:35:13 +0000 (17:35 +0200)]
target: use qstrip

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
15 years agoproject: use qstrip
Thomas Petazzoni [Thu, 30 Jul 2009 15:32:07 +0000 (17:32 +0200)]
project: use qstrip

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
15 years agopackages: use qstrip
Thomas Petazzoni [Thu, 30 Jul 2009 15:31:51 +0000 (17:31 +0200)]
packages: use qstrip

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
15 years agomakefile: use qstrip
Thomas Petazzoni [Thu, 30 Jul 2009 15:28:20 +0000 (17:28 +0200)]
makefile: use qstrip

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
15 years agomakefile: new qstrip make function
Thomas Petazzoni [Thu, 30 Jul 2009 15:26:49 +0000 (17:26 +0200)]
makefile: new qstrip make function

Define a qstrip function that strips double quotes and then
whitespaces around a given string. This is a very commonly needed
thing, and having a function allows to remove a large quantity of
hand-written definitions, followed by a dummy comment to make text
editors not crazy because of the unmatching double quote.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
15 years agobusybox: 1.15.0 inetd fix
Peter Korsgaard [Sat, 5 Sep 2009 06:43:53 +0000 (08:43 +0200)]
busybox: 1.15.0 inetd fix

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>