buildroot.git
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.

16 years agoExternal toolchain C++ cross-compiler fix
Peter Korsgaard [Mon, 3 Nov 2008 10:37:27 +0000 (10:37 -0000)]
External toolchain C++ cross-compiler fix

External toolchain C++ cross-compiler fix

package/Makefile.in resets CXX to "" in TARGET_CONFIGURE_OPTS if
BR2_GCC_CROSS_CXX is not set to 'y'. However, when using an external
toolchain, BR2_GCC_CROSS_CXX is not set even if the toolchain has a
C++ cross-compiler.

This patch adds a new BR2_GCC_CROSS_CXX option in the external
toolchain configuration menu, so that just like BR2_INET_RPC,
BR2_INET_IPV6 and the others, it can be set according to the external
toolchain configuration.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
16 years agoMore external toolchain fixes
Peter Korsgaard [Mon, 3 Nov 2008 10:32:59 +0000 (10:32 -0000)]
More external toolchain fixes

Fix issues with binary external toolchains

Fix two problems encountered while using an external binary toolchain
generated by crosstool-ng:

 - Don't remove the ending / in LIB_DIR, otherwise find $LIB_DIR
   -maxdepth 1 doesn't find any file in the case LIB_DIR is a symbolic
   link and not a directory.

   For some reason, find -maxdepth 1 doesn't have the same behaviour
   on directories and symbolic links. Demonstration:

   $ mkdir foobar
   $ touch foobar/t1
   $ touch foobar/t2
   $ ln -s foobar barfoo
   $ find foobar -maxdepth 1 -name 't*'
   foobar/t1
   foobar/t2
   $ find barfoo -maxdepth 1 -name 't*'
   $ find barfoo/ -maxdepth 1 -name 't*'
   barfoo/t1
   barfoo/t2

 * Make sure the libraries are writable, otherwise the strip operation
   might fail. The library files may not be writable if the toolchain
   is not writable (which may happen if one wants to prevent anyone
   from overwriting the toolchain, which is done by crosstool-ng, for
   example).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
16 years agoExternal toolchain support improvements
Peter Korsgaard [Mon, 3 Nov 2008 10:18:39 +0000 (10:18 -0000)]
External toolchain support improvements

Improve external toolchain support

 * Do not put kernel-headers in the dependencies of BASE_TARGETS in
   the case where BR2_TOOLCHAIN_SOURCE is not y. The kernel headers
   are already supposed to be part of the external toolchain, so
   there's no need to download, extract and install them.

 * In the configuration system, don't display the kernel headers
   version selection list when an external toolchain is selected. This
   is implemented by moving the source
   "toolchain/kernel-headers/Config.in" inside the if
   BR2_TOOLCHAIN_SOURCE in toolchain/Config.in.2.

 * Change the description and help message of the BR2_LARGEFILE,
   BR2_INET_IPV6, BR2_INET_RPC, and BR2_SOFT_FLOAT option in
   toolchain/external-toolchain/Config.in. In the case of an external
   toolchain, the semantic of these options is not to enable large
   file support, IPV6 or RPC (since the toolchain is already compiled,
   it has been decided previously). Their semantic is to let Buildroot
   know about the characteristics of the external toolchain being
   used.

   As an improvement, we could guess these values automatically:

    - for BR2_LARGEFILE, look at the value of __UCLIBC_HAS_LFS__ in
      bits/uClibc_config.h in the libc headers directory.

    - for BR2_INET_RPC, look at the value of __UCLIBC_HAS_RPC__ in the
      same file

    - for BR2_INET_IPV6, look at the value of __UCLIBC_HAS_IPV6__ in
      the same file

    - for BR2_SOFT_FLOAT, look at the output of $(CC) -v 2>&1 | grep
      -- "--with-float=soft"

   But I'm not sure how this would be possible, since these values are
   used at configuration-time by other configuration options, not only
   at build time.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
16 years agomkdosfs: cleanup target install handling
Peter Korsgaard [Mon, 3 Nov 2008 06:16:36 +0000 (06:16 -0000)]
mkdosfs: cleanup target install handling

closes #5834.

16 years agopackage/: remove more 'default n' (see r22874)
Peter Korsgaard [Sun, 2 Nov 2008 20:21:59 +0000 (20:21 -0000)]
package/: remove more 'default n' (see r22874)

16 years agosdl-image: convert to Makefile.autotools.in format
Peter Korsgaard [Sun, 2 Nov 2008 19:21:21 +0000 (19:21 -0000)]
sdl-image: convert to Makefile.autotools.in format

16 years agolibpng: fix Makefile.autotools.in fallout
Peter Korsgaard [Sun, 2 Nov 2008 19:21:17 +0000 (19:21 -0000)]
libpng: fix Makefile.autotools.in fallout

libpng used to have the 'png' Makefile alias, which some packages used
in their dependencies list.

With the move to Makefile.autotools.in this is now gone, so update the
packages to match.

16 years agosyslinux: fix download url
Peter Korsgaard [Sun, 2 Nov 2008 19:21:12 +0000 (19:21 -0000)]
syslinux: fix download url

16 years agobusybox: additional 1.12.1 patches
Peter Korsgaard [Sun, 2 Nov 2008 13:06:44 +0000 (13:06 -0000)]
busybox: additional 1.12.1 patches

16 years agoFixes for Qt from Markus Heidelberg
Arnar Mar Sigurðsson [Sun, 2 Nov 2008 02:16:53 +0000 (02:16 -0000)]
Fixes for Qt from Markus Heidelberg

16 years agoUpdate valka target
Arnar Mar Sigurðsson [Fri, 31 Oct 2008 17:22:59 +0000 (17:22 -0000)]
Update valka target

16 years agoAdd options to select what gfx and mouse drivers are compiled in.
Arnar Mar Sigurðsson [Fri, 31 Oct 2008 17:17:23 +0000 (17:17 -0000)]
Add options to select what gfx and mouse drivers are compiled in.
Note to tslib users: You now have to select the tslib mouse driver to build it.

16 years agoFix zlib install broken by previous commit. Sorry
Thiago A. Corrêa [Fri, 31 Oct 2008 16:37:01 +0000 (16:37 -0000)]
Fix zlib install broken by previous commit. Sorry

16 years agopackage/lite/lite.mk: Bounce version
Daniel Laird [Fri, 31 Oct 2008 14:04:31 +0000 (14:04 -0000)]
package/lite/lite.mk: Bounce version

Bounce version.

Signed-off-by: Thomas Petazzoni<>
Signed-off-by: Daniel Laird <daniel.j.laird@nxp.com>
16 years agopciutils may depend on zlib. Based on Bernhard's git repository.
Thiago A. Corrêa [Fri, 31 Oct 2008 12:41:02 +0000 (12:41 -0000)]
pciutils may depend on zlib. Based on Bernhard's git repository.

16 years agoImprove pciutils based on Bernhard Reutner-Fischer's git repository (http://repo...
Thiago A. Corrêa [Fri, 31 Oct 2008 12:14:39 +0000 (12:14 -0000)]
Improve pciutils based on Bernhard Reutner-Fischer's git repository (repo.or.cz/w/buildroot.git?a=tree;f=package/pciutils;hb=HEAD). Thanks

16 years agoMake sure directories are created during install to STAGING_DIR and TARGET_DIR. Thank...
Thiago A. Corrêa [Fri, 31 Oct 2008 12:10:10 +0000 (12:10 -0000)]
Make sure directories are created during install to STAGING_DIR and TARGET_DIR. Thanks to Thomas Petazzoni and Bernhard Reutner-Fischer.

16 years agoFix bug #0005884 - pciutils depends on zlib
Thiago A. Corrêa [Fri, 31 Oct 2008 04:03:27 +0000 (04:03 -0000)]
Fix bug #0005884 - pciutils depends on zlib

16 years agoMinor cleanups. Use touch for stamp-files
Thiago A. Corrêa [Fri, 31 Oct 2008 03:55:03 +0000 (03:55 -0000)]
Minor cleanups. Use touch  for stamp-files

16 years agofix wrong variable name for SQL. Signed-off-by: Markus Heidelberg <markus.heidelberg...
Thiago A. Corrêa [Fri, 31 Oct 2008 02:17:30 +0000 (02:17 -0000)]
fix wrong variable name for SQL. Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>

16 years agoBump ntp version
Arnar Mar Sigurðsson [Fri, 31 Oct 2008 01:44:32 +0000 (01:44 -0000)]
Bump ntp version

16 years ago2 gcc patches from Atmel's buildroot
Arnar Mar Sigurðsson [Fri, 31 Oct 2008 01:41:31 +0000 (01:41 -0000)]
2 gcc patches from Atmel's buildroot

16 years agopython: add $(STAGING_DIR)/usr/lib to PYTHON_MODULES_LIB so that
Wade Berrier [Thu, 30 Oct 2008 17:21:18 +0000 (17:21 -0000)]
python: add $(STAGING_DIR)/usr/lib to PYTHON_MODULES_LIB so that
 modules build correctly (particularly readline)

16 years agolinux: skip installing modules if modules are disabled in kernel config
Hans-Christian Egtvedt [Thu, 30 Oct 2008 14:56:58 +0000 (14:56 -0000)]
linux: skip installing modules if modules are disabled in kernel config

This patch will check if CONFIG_MODULES is set in the kernel .config, if not
yes then it will skip installing the modules.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
16 years agolinux: make touch also create the dependency file when installing modules
Hans-Christian Egtvedt [Thu, 30 Oct 2008 14:22:11 +0000 (14:22 -0000)]
linux: make touch also create the dependency file when installing modules

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
16 years agolinux: fix typo in status printout
Hans-Christian Egtvedt [Thu, 30 Oct 2008 14:02:47 +0000 (14:02 -0000)]
linux: fix typo in status printout

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
16 years agolinux: add probing for kernel version when installing modules
Hans-Christian Egtvedt [Thu, 30 Oct 2008 14:02:05 +0000 (14:02 -0000)]
linux: add probing for kernel version when installing modules

This patch will ask the kernel for the specific version before doing
modules_install, that way Buildroot will know which directories to remove and
what parameters to use for depmod. Needed when compiling a kernel grabbed from
GIT or vendor specific releases.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
16 years agoqtopia4: fix wrong compilation of qmake
Peter Korsgaard [Wed, 29 Oct 2008 20:40:51 +0000 (20:40 -0000)]
qtopia4: fix wrong compilation of qmake

Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
16 years agopackage/libpng/libpng.mk: Change to autotools.in format
Daniel Laird [Wed, 29 Oct 2008 12:49:38 +0000 (12:49 -0000)]
package/libpng/libpng.mk: Change to autotools.in format

Move libpng into the new era.....

Signed-off-by: Daniel Laird <daniel.j.laird@nxp.com>
16 years agobind: use strchr() instead of index()
Peter Korsgaard [Wed, 29 Oct 2008 07:35:03 +0000 (07:35 -0000)]
bind: use strchr() instead of index()

16 years agoqtopia4: fix adjustment of qmake.conf
Peter Korsgaard [Tue, 28 Oct 2008 09:40:28 +0000 (09:40 -0000)]
qtopia4: fix adjustment of qmake.conf

Extend the regexp to match spaces and also tabs to replace the qmake
variables with the proper buildroot values. Also use TARGET_AR and
TARGET_STRIP instead of using TARGET_CROSS and set a variable for
qmake.conf to shorten the command line.

Patch by Markus Heidelberg

16 years agoqtopia4: fix use of pkg-config
Peter Korsgaard [Tue, 28 Oct 2008 09:40:25 +0000 (09:40 -0000)]
qtopia4: fix use of pkg-config

When cross compiling, Qt sets PKG_CONFIG in its own configure script to
an empty string. That leads to not using pkg-config. To avoid that, use
the configure option -force-pkg-config. Also set environment variables
for pkg-config defined in TARGET_CONFIGURE_OPTS.

Patch by Markus Heidelberg.

See http://buildroot.uclibc.org/lists/buildroot/2008-October/011324.html
for more details.

16 years agoFix matchbox build
Peter Korsgaard [Mon, 27 Oct 2008 15:15:52 +0000 (15:15 -0000)]
Fix matchbox build

Fix matchbox build

This patch fixes various failures in the Matchbox build:

 * libmatchbox and matchbox-panel were using a now legacy index()
   function, which is not part of every uClibc build nowadays
   (depending on the configuration). As this function doesn't exist
   anymore in all builds, use strchr() instead, which is the
   recommended replacement for index(). Two patches, one for
   libmatchbox, one for matchbox-panel, are added to fix this problem.

   Closes bug http://bugs.uclibc.org/view.php?id=5484

 * Do not override the CFLAGS and LDFLAGS values, they are already set
   by TARGET_CONFIGURE_OPTS. It caused build failures.

 * Mangle the library paths in the .la file of libmatchbox, after
   installation in the staging dir.

It would probably be nice to switch Matchbox over to the new
Makefile.autotools.in.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
16 years agoStrip gettext libraries on the target
Peter Korsgaard [Mon, 27 Oct 2008 09:45:44 +0000 (09:45 -0000)]
Strip gettext libraries on the target

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
16 years agoStrip libgtk2 in the target
Peter Korsgaard [Mon, 27 Oct 2008 09:45:41 +0000 (09:45 -0000)]
Strip libgtk2 in the target

Rely on the sane default values of Makefile.autotools.in for the
staging and target installs. The immediate benefit is that the target
install will use install-strip instead of install, leading to a quite
nice size reduction in the libraries.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
16 years agoStrip pango libraries on the target
Peter Korsgaard [Mon, 27 Oct 2008 09:45:38 +0000 (09:45 -0000)]
Strip pango libraries on the target

Use the predefined INSTALL_STAGING_OPT and INSTALL_TARGET_OPT
behaviour of Makefile.autotools.in, so that installation on the target
is done using install-strip.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
16 years agoFix strange problems in pango configure target
Peter Korsgaard [Mon, 27 Oct 2008 09:45:34 +0000 (09:45 -0000)]
Fix strange problems in pango configure target

The configure target of pango had strange characters in it, preventing
compilation to work. Remove them, they just seem to be mistakes.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
16 years agolibglib2: remove $(DISABLE_NLS) from configure options
Peter Korsgaard [Sun, 26 Oct 2008 20:02:36 +0000 (20:02 -0000)]
libglib2: remove $(DISABLE_NLS) from configure options

The configure option --disable-nls is not supported anymore in glib
since version 2.0, see file ChangeLog.pre-2-0 line 544.

Patch by Markus Heidelberg.