buildroot.git
15 years agotoolchain/binutils: let make expand wildcards instead of the shell
Peter Korsgaard [Fri, 5 Dec 2008 15:27:38 +0000 (15:27 -0000)]
toolchain/binutils: let make expand wildcards instead of the shell

Based on f97ce837 in Bernhard's tree.

15 years agolibiconv: use BR2_GNU_MIRROR
Peter Korsgaard [Fri, 5 Dec 2008 15:27:35 +0000 (15:27 -0000)]
libiconv: use BR2_GNU_MIRROR

15 years agotoolchain/binutils: add 2.18.50.0.3
Peter Korsgaard [Fri, 5 Dec 2008 15:27:33 +0000 (15:27 -0000)]
toolchain/binutils: add 2.18.50.0.3

Based on b2b5d9f2 in Bernhard's tree.

15 years agotoolchain/*: use CONFIG_UPDATE
Peter Korsgaard [Fri, 5 Dec 2008 15:27:26 +0000 (15:27 -0000)]
toolchain/*: use CONFIG_UPDATE

Based on e0e0945e in Bernhard's tree.

15 years agosamba: predefine a autoconf result for enums with negative values
Hans-Christian Egtvedt [Fri, 5 Dec 2008 14:46:56 +0000 (14:46 -0000)]
samba: predefine a autoconf result for enums with negative values

The configure script tries to find out if enums can be negative, this is not
supported when cross compiling, since it tries to run the binary. This commit
sets the test to yes, i.e. negative enums are possible.

15 years agolibusb: use 0.1.12-10 from snapshot.debian.net
Peter Korsgaard [Fri, 5 Dec 2008 10:22:52 +0000 (10:22 -0000)]
libusb: use 0.1.12-10 from snapshot.debian.net

15 years agolibvorbis: tremor depends on host-autoconf and host-automake
Hans-Christian Egtvedt [Fri, 5 Dec 2008 09:47:16 +0000 (09:47 -0000)]
libvorbis: tremor depends on host-autoconf and host-automake

This patch adds host-autoconf and host-automake as dependencies to tremor, this
is needed for it to compile.

15 years agoalsa-lib: bump version to 1.0.18
Hans-Christian Egtvedt [Fri, 5 Dec 2008 09:46:17 +0000 (09:46 -0000)]
alsa-lib: bump version to 1.0.18

15 years agoqtopia4: make build verbose or silent depending on user input
Hans-Christian Egtvedt [Thu, 4 Dec 2008 16:50:05 +0000 (16:50 -0000)]
qtopia4: make build verbose or silent depending on user input

This will make Qt compile silent unless the user specifies V=1 or VERBOSE=1
when running make.

15 years agomplayer: set charset explisit to US-ASCII to ease intl compile
Hans-Christian Egtvedt [Thu, 4 Dec 2008 16:49:06 +0000 (16:49 -0000)]
mplayer: set charset explisit to US-ASCII to ease intl compile

This patch set the charset selected by mplayer to US-ASCII because mplayer
configure script have problems detecting working cross compiled iconv tools

15 years agotslib: add dependency to hsot-autoconf and host-automake
Hans-Christian Egtvedt [Thu, 4 Dec 2008 16:47:19 +0000 (16:47 -0000)]
tslib: add dependency to hsot-autoconf and host-automake

Tslib uses autoconf and automake during configure section, make sure it is
available before building tslib.

15 years agotslib: use more robust $@ when touching target instead of explisit name
Hans-Christian Egtvedt [Thu, 4 Dec 2008 16:43:54 +0000 (16:43 -0000)]
tslib: use more robust $@ when touching target instead of explisit name

15 years agoavahi: add dependency to host-autoconf
Hans-Christian Egtvedt [Thu, 4 Dec 2008 16:13:08 +0000 (16:13 -0000)]
avahi: add dependency to host-autoconf

Avahi uses autoconf during ./configure, make sure it is available and used
before building avahi.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
15 years agoalsa-util: bump version to 1.0.18 and add patches for this version
Hans-Christian Egtvedt [Thu, 4 Dec 2008 16:10:44 +0000 (16:10 -0000)]
alsa-util: bump version to 1.0.18 and add patches for this version

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
15 years agoalsa-utils: add dependency to libintl if libintl is enabled
Hans-Christian Egtvedt [Thu, 4 Dec 2008 16:10:06 +0000 (16:10 -0000)]
alsa-utils: add dependency to libintl if libintl is enabled

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
15 years agomdadm/dmraid: bump version
Peter Korsgaard [Thu, 4 Dec 2008 14:16:54 +0000 (14:16 -0000)]
mdadm/dmraid: bump version

Patch by: Charles Duffy <Charles_Duffy@messageone.com>

Both mdadm and dmraid packages refer to upstream versions which are no
longer available.

15 years agobusybox: 1.13.1 ip fix
Peter Korsgaard [Thu, 4 Dec 2008 13:21:36 +0000 (13:21 -0000)]
busybox: 1.13.1 ip fix

15 years agoifplugd: don't overwrite target etc/init.d/ifplugd.*
Peter Korsgaard [Thu, 4 Dec 2008 12:14:57 +0000 (12:14 -0000)]
ifplugd: don't overwrite target etc/init.d/ifplugd.*

install-strip unconditionally overwrites $(TARGET_DIR)/etc/init.d/ifplugd.*,
so the check in _HOOK_POST_INSTALL is useless.

Fix it by using install-exec and manually stripping the target binaries
instead.

15 years agoFix comment about autoconf configuration/compilation/installation for
Thomas Petazzoni [Wed, 3 Dec 2008 13:36:45 +0000 (13:36 -0000)]
Fix comment about autoconf configuration/compilation/installation for
the target (and not the host).

15 years agoLiboil is a library of simple functions that are optimized for various
Thomas Petazzoni [Wed, 3 Dec 2008 09:02:46 +0000 (09:02 -0000)]
Liboil is a library of simple functions that are optimized for various
CPUs. It is required by various GStreamer plugins.

Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
Modifications by Thomas Petazzoni:

 - Remove the glib2 dependency, which is only necessary to build a few
   examples. If glib2 is enabled in the configuration, then we still
   depend on it in order to build the examples, but that's just
   pedantic, not so useful.

 - Remove the oil-bugreport program installed to the target by
   install-strip.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
15 years agoCompiling current SVN fails with the following error for me:
Thomas Petazzoni [Tue, 2 Dec 2008 22:26:00 +0000 (22:26 -0000)]
Compiling current SVN fails with the following error for me:

 cc1: warnings being treated as errors
 buildroot/buildroot/build_powerpc/makedevs/makedevs.c: In function main:
 buildroot/buildroot/build_powerpc/makedevs/makedevs.c:531: error:
 ignoring return value of system, declared with attribute warn_unused_result

This change adds a simple warning if system() fails.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
15 years agosamba: bump version to 3.0.33
Hans-Christian Egtvedt [Tue, 2 Dec 2008 14:46:38 +0000 (14:46 -0000)]
samba: bump version to 3.0.33

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
15 years agotarget/cramfs/cramfs.mk: Fix device table not being passed to mkcramfs
Peter Korsgaard [Tue, 2 Dec 2008 09:15:08 +0000 (09:15 -0000)]
target/cramfs/cramfs.mk: Fix device table not being passed to mkcramfs

While mkcramfs was being patched to support a device table, the target device table was not being passed to the mkcramfs options. This patch fixes that

Signed-off-by: Jared Holzman <j.holzman@genesysdesign.com.au>
15 years agohaserl: fix shared cache interaction issue
Peter Korsgaard [Mon, 1 Dec 2008 15:10:47 +0000 (15:10 -0000)]
haserl: fix shared cache interaction issue

The ac_cv_path_install override is needed to strip the target binary for
haserl 0.8.0, but it doesn't interact nicely with the shared cache, so
disable the cache for now.

Longer term we should probably forget about install-strip and do the
strip/cleanup/mklibs stuff as a post processing step before the target
filesystem rules are run.

15 years agouclibc 0.9.30: defconfig: enable UCLIBC_HAS_LONG_DOUBLE_MATH
Peter Korsgaard [Mon, 1 Dec 2008 14:53:22 +0000 (14:53 -0000)]
uclibc 0.9.30: defconfig: enable UCLIBC_HAS_LONG_DOUBLE_MATH

15 years agouClibc: set 0.9.30 as default
Hans-Christian Egtvedt [Mon, 1 Dec 2008 14:23:57 +0000 (14:23 -0000)]
uClibc: set 0.9.30 as default

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
15 years agouClibc: add a default config for 0.9.30
Hans-Christian Egtvedt [Mon, 1 Dec 2008 14:23:09 +0000 (14:23 -0000)]
uClibc: add a default config for 0.9.30

Courtesy Bernhard Reutner-Fischer GIT repository at
http://repo.or.cz/w/buildroot.git

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
15 years agostrace: fix lower case no to NO when setting STRACE_AUTORECONF
Hans-Christian Egtvedt [Mon, 1 Dec 2008 13:49:23 +0000 (13:49 -0000)]
strace: fix lower case no to NO when setting STRACE_AUTORECONF

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
15 years agomplayer: use $(if ...) to add dependencies to mplayer
Hans-Christian Egtvedt [Mon, 1 Dec 2008 13:33:33 +0000 (13:33 -0000)]
mplayer: use $(if ...) to add dependencies to mplayer

This patch will add needed libraries with $(if ...) syntax. This should ease
readability and make it easy for others to spot where the depencies are added.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
15 years agomplayer: remove not needed $(strip ...) calls in Makefile
Hans-Christian Egtvedt [Mon, 1 Dec 2008 13:08:43 +0000 (13:08 -0000)]
mplayer: remove not needed $(strip ...) calls in Makefile

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
15 years agoqtopia4: remove explisit include and library directories from configure call
Hans-Christian Egtvedt [Mon, 1 Dec 2008 13:06:02 +0000 (13:06 -0000)]
qtopia4: remove explisit include and library directories from configure call

This patch removes -I and -L from ./configure since it breaks cross-compiling.
The inclusion of -I and -L will confuse the host compiler when compiling the
host tools.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
15 years agouClibc: add uClibc 0.9.30 to kconfig and Makefile
Hans-Christian Egtvedt [Mon, 1 Dec 2008 13:02:22 +0000 (13:02 -0000)]
uClibc: add uClibc 0.9.30 to kconfig and Makefile

This patch adds uClibc versino 0.9.30 to the list of selectable versions. The
version identification for snapshot is also updated to reflect 0.9.30.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
15 years agomplayer: make sure alsa-lib is installed before mplayer
Hans-Christian Egtvedt [Mon, 1 Dec 2008 12:53:09 +0000 (12:53 -0000)]
mplayer: make sure alsa-lib is installed before mplayer

This patch adds alsa-lib to a dependency for mplayer if it is selected in
kconfig.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
15 years agomplayer: add dependency libraries to a variable
Hans-Christian Egtvedt [Mon, 1 Dec 2008 12:48:58 +0000 (12:48 -0000)]
mplayer: add dependency libraries to a variable

This patch will put dependency libraries in a variable and add this to the
dependencies to build mplayer. This is done to ease adding new libraries in the
future.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
15 years agomplayer: disable ivtv video output
Hans-Christian Egtvedt [Mon, 1 Dec 2008 12:32:50 +0000 (12:32 -0000)]
mplayer: disable ivtv video output

This patch disabled ivtv video output, since it does not compile with Linux
kernel 2.6.27 headers.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
15 years agofakeroot: use 1.9.5 from snapshot.debian.net
Peter Korsgaard [Mon, 1 Dec 2008 09:08:04 +0000 (09:08 -0000)]
fakeroot: use 1.9.5 from snapshot.debian.net

15 years agodnsmasq: bump version
Peter Korsgaard [Mon, 1 Dec 2008 09:08:01 +0000 (09:08 -0000)]
dnsmasq: bump version

15 years agoi2c-tools: bump version
Peter Korsgaard [Mon, 1 Dec 2008 09:07:58 +0000 (09:07 -0000)]
i2c-tools: bump version

15 years agokernel-headers: bump 2.6.26.x / 2.6.27.x version
Peter Korsgaard [Sun, 30 Nov 2008 09:52:06 +0000 (09:52 -0000)]
kernel-headers: bump 2.6.26.x / 2.6.27.x version

15 years agokernel-headers: also show 2.6.26 if deprecated is enabled, but recent isn't
Peter Korsgaard [Sun, 30 Nov 2008 09:51:57 +0000 (09:51 -0000)]
kernel-headers: also show 2.6.26 if deprecated is enabled, but recent isn't

15 years agoAdd support for AT91SAM9G20 & -EK
Ulf Samuelsson [Sat, 29 Nov 2008 22:00:29 +0000 (22:00 -0000)]
Add support for AT91SAM9G20 & -EK

15 years agoAdd AT91 support for 2.6.27.7 and 2.6.28-rc6
Ulf Samuelsson [Sat, 29 Nov 2008 21:58:48 +0000 (21:58 -0000)]
Add AT91 support for 2.6.27.7 and 2.6.28-rc6

15 years agoUpdate Linux versions
Ulf Samuelsson [Sat, 29 Nov 2008 21:56:25 +0000 (21:56 -0000)]
Update Linux versions

15 years agobusybox: bump 1.12.x / 1.13.x versions
Peter Korsgaard [Sat, 29 Nov 2008 20:12:17 +0000 (20:12 -0000)]
busybox: bump 1.12.x / 1.13.x versions

16 years agoAdding Central config.cache options
Daniel Laird [Fri, 28 Nov 2008 14:20:47 +0000 (14:20 -0000)]
Adding Central config.cache options

The following changes allow for use of a central configure cache
file.  This speeds up configuration of packages.
Its use is configurable at the top level (BR2_CONFIG_CACHE - default n).
Old style makefiles can use it if they use the following MACRO in makefiles:
$(AUTO_CONFIGURE_TARGET) see my change to directfb.mk.
New style Autotools.in will use it if you set the global option.
However you can enable the global option and on a per package overrule it by doing
the following: $(PKGNAME)_USE_CONFIG_CACHE = NO see fontconfig.mk for an example
of this.
Finally I have removed a few config variable settings which indicated no CXX compiler
as this is wrong and breaks the build when using this central cache.

 Config.in                        |    8 ++++++++
 package/Makefile.autotools.in    |    5 ++++-
 package/Makefile.in              |   28 +++++++++++++++++++++++++++-
 package/atk/atk.mk               |    2 +-
 package/directfb/directfb.mk     |    7 +------
 package/fontconfig/fontconfig.mk |    3 +++
 package/libglib2/libglib2.mk     |    2 +-
 package/libgtk2/libgtk2.mk       |    1 -
 8 files changed, 45 insertions(+), 11 deletions(-)

I would appreciate feedback on this change (I have been testing for 2-3 weeks)
But I can never test all cases!  If you enable the BR2_CONFIG_CACHE option some
Makefile.autotools.in based packages may now break - I cannot build them all.
In this case you may need to remove config options that are being hardcoded all
over the place (like gtk saying we have 2 CXX compiler) or disable the use
of CONFIG CACHE file like I have done in fontconfig.
I can build all packages required to get WebKit on DirectFB up and running
and it runs fine.
I will try to resolve any issues this creates as fast as I can.

Signed-off-by: Daniel Laird <daniel.j.laird@nxp.com>
16 years agobusybox: updated 1.13.0 ash fix
Peter Korsgaard [Fri, 28 Nov 2008 08:19:23 +0000 (08:19 -0000)]
busybox: updated 1.13.0 ash fix

16 years agobusybox: updated 1.13.0 ash fix
Peter Korsgaard [Sat, 22 Nov 2008 06:49:33 +0000 (06:49 -0000)]
busybox: updated 1.13.0 ash fix

16 years agolockfile-progs: remove unneeded $(strip)
Peter Korsgaard [Sat, 22 Nov 2008 06:49:30 +0000 (06:49 -0000)]
lockfile-progs: remove unneeded $(strip)

16 years agoRevert r24000: "Fix external toolchain build"
Peter Korsgaard [Fri, 21 Nov 2008 14:51:10 +0000 (14:51 -0000)]
Revert r24000: "Fix external toolchain build"

This breaks builds with internal toolchain, so let's revert this until we find
a proper solution.

16 years agobusybox: fixup id applet on 1.13.0 for old uclibc versions
Peter Korsgaard [Fri, 21 Nov 2008 14:36:48 +0000 (14:36 -0000)]
busybox: fixup id applet on 1.13.0 for old uclibc versions

The id applet in 1.13.0 only compiles with uclibc < 0.9.30 if the
busybox internal passwd/grp functions are used.

Therefore, automatically enable CONFIG_USE_BB_PWD_GRP if that situation
is detected and warn the user.

16 years agobusybox: 1.13.0 ash fix
Peter Korsgaard [Fri, 21 Nov 2008 10:59:01 +0000 (10:59 -0000)]
busybox: 1.13.0 ash fix

16 years agobusybox: 1.13.0 klogd fix
Peter Korsgaard [Thu, 20 Nov 2008 06:49:20 +0000 (06:49 -0000)]
busybox: 1.13.0 klogd fix

16 years agosdl_ttf: provide path to freetype includes
Peter Korsgaard [Wed, 19 Nov 2008 10:44:24 +0000 (10:44 -0000)]
sdl_ttf: provide path to freetype includes

closes #6374.

16 years agolockfile-progs: fix patch-kernel invocation
Peter Korsgaard [Wed, 19 Nov 2008 10:16:40 +0000 (10:16 -0000)]
lockfile-progs: fix patch-kernel invocation

Patch by Roberto A. Foglietta.

Closes #6364

16 years agobusybox: updated 1.13.0 id patch (only error out if needed)
Peter Korsgaard [Mon, 17 Nov 2008 07:40:14 +0000 (07:40 -0000)]
busybox: updated 1.13.0 id patch (only error out if needed)

16 years agobusybox: 1.13.0 id patch (check)
Peter Korsgaard [Sun, 16 Nov 2008 17:22:08 +0000 (17:22 -0000)]
busybox: 1.13.0 id patch (check)

16 years agomplayer, vlc: move into multimedia category
Peter Korsgaard [Sat, 15 Nov 2008 21:33:14 +0000 (21:33 -0000)]
mplayer, vlc: move into multimedia category

Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
16 years agopackage/audio: rename audio category to multimedia
Peter Korsgaard [Sat, 15 Nov 2008 21:33:07 +0000 (21:33 -0000)]
package/audio: rename audio category to multimedia

Prepare for the merge of audio and video packages. Many packages cannot
properly be assigned to either audio or video, because they have support
for both (libogg, mplayer, vlc).

Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
16 years agobusybox: disable id applet for 1.13.x
Peter Korsgaard [Sat, 15 Nov 2008 21:25:29 +0000 (21:25 -0000)]
busybox: disable id applet for 1.13.x

busybox 1.13.0 id applet doesn't compile with uclibc 0.9.29 / 0.9.28, so
disable it for now.

16 years agontp.sysvinit: fix 'restart' (don't exit on failed commands with set -e)
Wade Berrier [Fri, 14 Nov 2008 22:52:48 +0000 (22:52 -0000)]
ntp.sysvinit: fix 'restart' (don't exit on failed commands with set -e)

16 years agolinux: remove unused BR2_LINUX_BOARD_PATCH
Peter Korsgaard [Fri, 14 Nov 2008 13:39:58 +0000 (13:39 -0000)]
linux: remove unused BR2_LINUX_BOARD_PATCH

Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
16 years agolzo: add $(DISABLE_LARGEFILE) to configure options
Peter Korsgaard [Fri, 14 Nov 2008 13:39:46 +0000 (13:39 -0000)]
lzo: add $(DISABLE_LARGEFILE) to configure options

Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
16 years agolibogg: convert to Makefile.autotools.in
Peter Korsgaard [Fri, 14 Nov 2008 13:03:01 +0000 (13:03 -0000)]
libogg: convert to Makefile.autotools.in

Also remove --enable-shared and --enable-static as it's default
and --disable-oggtest and $(DISABLE_NLS) as they are not supported.

Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
16 years agopackage: Kconfig: use menu instead of menuconfig for sub menus
Peter Korsgaard [Fri, 14 Nov 2008 12:59:14 +0000 (12:59 -0000)]
package: Kconfig: use menu instead of menuconfig for sub menus

As discussed on the list - These things should normally not be
(un)selectable.

16 years agoFix build. Use TARGET_CONFIGURE_OPTS as environment rather than as argument of make...
Thiago A. CorrĂȘa [Fri, 14 Nov 2008 11:06:01 +0000 (11:06 -0000)]
Fix build. Use TARGET_CONFIGURE_OPTS as environment rather than as argument of make to avoid overwriting dropbear's CFLAGS

16 years agotarget/Config.in.toolchain: cleanup
Peter Korsgaard [Fri, 14 Nov 2008 10:06:44 +0000 (10:06 -0000)]
target/Config.in.toolchain: cleanup

16 years agodropbear: bump version
Peter Korsgaard [Fri, 14 Nov 2008 08:47:04 +0000 (08:47 -0000)]
dropbear: bump version

16 years agobusybox: add 1.13.x, mark older as deprecated
Peter Korsgaard [Thu, 13 Nov 2008 16:32:56 +0000 (16:32 -0000)]
busybox: add 1.13.x, mark older as deprecated

16 years agobusybox: bump 1.12.x version
Peter Korsgaard [Thu, 13 Nov 2008 16:32:52 +0000 (16:32 -0000)]
busybox: bump 1.12.x version

16 years agoAdd a parallel compilation fix for fontconfig
Thomas Petazzoni [Tue, 11 Nov 2008 19:38:10 +0000 (19:38 -0000)]
Add a parallel compilation fix for fontconfig

This patch adds a patch to fix bug
https://bugs.freedesktop.org/show_bug.cgi?id=16464 affecting parallel
compilation of fontconfig.

The patch is the one proposed in the bugzilla entry, available at
https://bugs.freedesktop.org/attachment.cgi?id=17294.

Without this patch, the compilation (at BR2_JLEVEL > 1) of fontconfig
sometimes fails with:

In file included from fc-case.c:25:
../src/fcint.h:118:21: error: fcalias.h: No such file or directory

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
16 years agoFix the mtd package with regard to external toolchain use.
Thomas Petazzoni [Tue, 11 Nov 2008 19:00:32 +0000 (19:00 -0000)]
Fix the mtd package with regard to external toolchain use.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
16 years agoFix Qtopia build issues
Thomas Petazzoni [Tue, 11 Nov 2008 18:35:43 +0000 (18:35 -0000)]
Fix Qtopia build issues

This patch fixes two Qtopia build issues, encountered while trying to
use system implementation of zlib, freetype, jpeg and libpng :

 * The build process doesn't look in $(STAGING_DIR)/usr/include for
   includes and $(STAGING_DIR)/usr/lib. Same problem as the patch
   currently floating around adding LDFLAGS to TARGET_CONFIGURE_OPTS,
   but as Qtopia doesn't use TARGET_CONFIGURE_OPTS, we need a specific
   fix here. So we use the -I and -L options of Qtopia's configure
   script.

 * The build process doesn't use pkg-config to get the header path for
   Freetype headers (located in $(STAGING_DIR)/usr/include/freetype2
   and not directly in $(STAGING_DIR)/usr/include/). There was already
   a fix for this, consisting in adding $(FREETYPE_DIR)/include to the
   -I path of Qtopia's configure. This patch modifies this fix to use
   $(STAGING_DIR)/usr/include/freetype2 instead, which looks more
   coherent with how all the packages are built (using $(STAGING_DIR)
   as the reference to get headers and libraries).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
16 years agoFix external toolchain build
Thomas Petazzoni [Tue, 11 Nov 2008 18:32:31 +0000 (18:32 -0000)]
Fix external toolchain build

This patch is a new version of a patch already sent several times on
the mailing-list, committed and reverted a few times by Daniel Laird,
due to several imperfections. This version is a new try at finding a
solution that works for everybody. Hopefully it'll work :-)

The original problem is that external toolchain builds failed because
packages couldn't find their dependent libraries at configure time and
could not be linked with them. To fix these two problems, two things
are added:

 * The TARGET_LDFLAGS variable was exposed as LDFLAGS at ./configure
   time thanks to TARGET_CONFIGURE_OPTS. The TARGET_LDFLAGS variable
   contains -L options with the path in the STAGING_DIR for the
   libraries. It allows ./configure scripts to properly compile the
   small test programs testing whether a dependency is properly
   installed.

 * The TARGET_CFLAGS contains a new -Wl,--rpath-link option for both
   $(STAGING_DIR)/lib and $(STAGING_DIR)/usr/lib. It allows library
   depending on other libraries to link properly. The TARGET_CFLAGS is
   exposed as CFLAGS in TARGET_CONFIGURE_OPTS.

This new version fixes a problem encountered by hartleys
<hartleys@visionengravers.com> when building the kernel. The problem
was that the -Wl,--rpath-link options were added to LDFLAGS, while
there are options for the C compiler, not the ld linker. Moving them
to CFLAGS seems to fix the issue.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
16 years agopackage/tiff/tiff.mk: Change to Autotools.in format
Daniel Laird [Tue, 11 Nov 2008 11:43:27 +0000 (11:43 -0000)]
package/tiff/tiff.mk: Change to Autotools.in format

Bounce tiff into Autotools.in format.
Did not use install to target as this puts loads of executables into TARGET.
So just copied tiff.so instead.

Signed-off-by: Daniel Laird <daniel.j.laird@nxp.com>
16 years agopackage/freetype/freetype.mk: Add zib to dependencies
Daniel Laird [Tue, 11 Nov 2008 11:33:45 +0000 (11:33 -0000)]
package/freetype/freetype.mk: Add zib to dependencies

Looking into adding a configure cache to the build (like the GIT buildroot version)
This means that freetype needs to know about zlib so make
sure it had it as a dependency.
Also remove install rule for staging as it matches default.

Signed-off-by: Daniel Laird <daniel.j.laird@nxp.com>
16 years agoRemove .rej file included in the upstream tarball before patching
Hamish Moffatt [Mon, 10 Nov 2008 23:50:57 +0000 (23:50 -0000)]
Remove .rej file included in the upstream tarball before patching

16 years agorevert 23987 until proper implementation
Ivan Kuten [Mon, 10 Nov 2008 11:17:21 +0000 (11:17 -0000)]
revert 23987 until proper implementation

16 years agoDownload Kernel.org minor patches at the same time as full sources.
Ivan Kuten [Mon, 10 Nov 2008 10:45:46 +0000 (10:45 -0000)]
Download Kernel.org minor patches at the same time as full sources.

Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
16 years agoFix Grub tarball version as the current version has disappeared from
Thomas Petazzoni [Sat, 8 Nov 2008 22:24:39 +0000 (22:24 -0000)]
Fix Grub tarball version as the current version has disappeared from
Debian mirrors.

Patch provided by Roberto A. Foglietta <roberto.foglietta@gmail.com>

16 years agobusybox: basename 1.12.1 fix
Peter Korsgaard [Fri, 7 Nov 2008 10:16:55 +0000 (10:16 -0000)]
busybox: basename 1.12.1 fix

16 years agoMakefile: revert HOST_GLIB_BIN staging_dir fix (r23920,23923)
Peter Korsgaard [Fri, 7 Nov 2008 08:57:59 +0000 (08:57 -0000)]
Makefile: revert HOST_GLIB_BIN staging_dir fix (r23920,23923)

It causes more trouble than it's worth, and we should move to building those
host tools ourselves to not get into version issues anyway.

16 years agoMakefile.autotools.in: make MESSAGE output stand out
Peter Korsgaard [Fri, 7 Nov 2008 08:56:02 +0000 (08:56 -0000)]
Makefile.autotools.in: make MESSAGE output stand out

The following patch makes the MESSAGE Macro in Makefile.autotools.in
work.

I think it was originally intended to print the messages in bold type
but it doesn't appear to work correctly. This patch should work on all
platforms.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
(Fixed to not continously call tput)

16 years agopackage/Makefile.in: revert rpath setup for toolchains.
Daniel Laird [Fri, 7 Nov 2008 08:15:53 +0000 (08:15 -0000)]
package/Makefile.in: revert rpath setup for toolchains.

Revert the rpath patch, it looked good up until someone tried
to build a kernel as well.  This seems to break as a result.

Will post a new patch soon and see how that goes..

Signed-off-by: Daniel Laird <daniel.j.laird@nxp.com>
16 years agontp: add /etc/default/ntpd to control whether to start
Wade Berrier [Thu, 6 Nov 2008 21:11:54 +0000 (21:11 -0000)]
ntp: add /etc/default/ntpd to control whether to start
 ntpd and/or ntpdate.  Also specify options and servers.

16 years agopackage/Makefile.in: rpath setup for toolchains.
Daniel Laird [Thu, 6 Nov 2008 12:54:29 +0000 (12:54 -0000)]
package/Makefile.in: rpath setup for toolchains.

Apply the patch I posted some time ago that fixes
rpath issues with external toolchains.
Has been tested by users of buildroot and feedback looks good.

Signed-off-by: Thomas Petazzoni
Signed-off-by: Daniel Laird <daniel.j.laird@nxp.com>
16 years agoprboom: misc cleanups
Peter Korsgaard [Wed, 5 Nov 2008 15:47:09 +0000 (15:47 -0000)]
prboom: misc cleanups

As noted by Bernhard on irc.

16 years agoprboom: add a touch $@ to end of install target rule to install PrBoom only once
Hans-Christian Egtvedt [Wed, 5 Nov 2008 13:33:43 +0000 (13:33 -0000)]
prboom: add a touch $@ to end of install target rule to install PrBoom only once

Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
16 years agolinux26: make installation of modules rule depend on .depend_done
Hans-Christian Egtvedt [Wed, 5 Nov 2008 12:59:32 +0000 (12:59 -0000)]
linux26: make installation of modules rule depend on .depend_done

This patch will make the installation of modules rule depend on .depend_done instead of .configured to make sure make prepare is run before modules are installed.

Make kernelversion does not work before make prepare has been run.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
16 years agoBuild $(PROJECT_BUILD_DIR)/autotools-stamps with normal Makefile rules
Hans-Christian Egtvedt [Wed, 5 Nov 2008 11:39:46 +0000 (11:39 -0000)]
Build $(PROJECT_BUILD_DIR)/autotools-stamps with normal Makefile rules

This patch will add a rule to top level Makefile to depend on the
$(PROJECT_BUILD_DIR)/autotools-stamps as a required directory. Hence it will be
generated if missing in stead of made when the $(PROJECT_BUILD_DIR)/.root rule
is triggered.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
16 years agokernel-headers: bump 2.6.26 and 2.6.27 minor versions
Peter Korsgaard [Wed, 5 Nov 2008 11:11:43 +0000 (11:11 -0000)]
kernel-headers: bump 2.6.26 and 2.6.27 minor versions

16 years agoMove creation of $(PROJECT_BUILD_DIR)/autotools-stamps into top level Makefile
Hans-Christian Egtvedt [Wed, 5 Nov 2008 10:41:31 +0000 (10:41 -0000)]
Move creation of $(PROJECT_BUILD_DIR)/autotools-stamps into top level Makefile

This patch will create the autotools-stamps directory early in the build
process, thus making it possible for non Makefile.autotools.in packages to use
this directory to hold stamp files.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
16 years agomake: add gettext dependency to make rule instead of TARGETS
Hans-Christian Egtvedt [Wed, 5 Nov 2008 08:43:04 +0000 (08:43 -0000)]
make: add gettext dependency to make rule instead of TARGETS

This patch adds gettext dependency to make: rule instead of the TARGETS
variable if locale is selected. Just to conform with common syntax.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
16 years agomake: select gettext and libintl if locale is enabled
Hans-Christian Egtvedt [Wed, 5 Nov 2008 08:09:30 +0000 (08:09 -0000)]
make: select gettext and libintl if locale is enabled

This patch makes sure gettext and libintl are selected if locale support is
enabled. Gettext must also be compiled before make so appropriate headers are
available to make.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
16 years agomatchbox: fix prefix
Peter Korsgaard [Tue, 4 Nov 2008 22:29:02 +0000 (22:29 -0000)]
matchbox: fix prefix

Closes #5946.

16 years agomatchbox: fix mb-applet-startup-monitor compilation (TRUE/FALSE issue)
Peter Korsgaard [Tue, 4 Nov 2008 22:28:58 +0000 (22:28 -0000)]
matchbox: fix mb-applet-startup-monitor compilation (TRUE/FALSE issue)

16 years agoKernel build fix related to external toolchain use
Peter Korsgaard [Tue, 4 Nov 2008 19:58:48 +0000 (19:58 -0000)]
Kernel build fix related to external toolchain use

This patch prevents the user from select "linux (Same version as linux
headers)" as a choice for building the kernel when an external binary
toolchain is used, since "same version as linux headers" doesn't make
sense when an external toolchain is used.

It fixes the issue encountered by Hartley <hartleys@visionengravers.com>

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
16 years agoMakefile: glib-genmarshal: use BR2_STAGING_DIR instead of hardcoded staging_dir
Peter Korsgaard [Tue, 4 Nov 2008 12:50:38 +0000 (12:50 -0000)]
Makefile: glib-genmarshal: use BR2_STAGING_DIR instead of hardcoded staging_dir

16 years agonetsnmp: run CONFIG_UPDATE
Peter Korsgaard [Tue, 4 Nov 2008 11:31:58 +0000 (11:31 -0000)]
netsnmp: run CONFIG_UPDATE

Based on e068796d3 in Bernhards tree.

16 years agonetsnmp: bump version
Peter Korsgaard [Tue, 4 Nov 2008 11:26:52 +0000 (11:26 -0000)]
netsnmp: bump version

Based on fa86c12d in Bernhards tree.

16 years agoMakefile: ignore glib-genmarshal in staging_dir
Peter Korsgaard [Mon, 3 Nov 2008 20:11:03 +0000 (20:11 -0000)]
Makefile: ignore glib-genmarshal in staging_dir

HOST_GLIB is set to the path that contains the host glib tool set and is
used when building packages using glib. The buildroot top level Makefile
sets HOST_GLIB using which to find the path where glib-genmarshal is
located.

The problem is that a cross compiled version of glib-genmarshal is also
put in the build_ARCH/staging_dir/usr/bin directory when the package
libglib2 is built. This cross compiled version will typically not run on
the host system.

Fix it by ignoring staging_dir in the which output.

Closes #5934

jacmet: fixed to work correctly if it's only found in staging_dir.