Commit Graph

5173 Commits

Author SHA1 Message Date
Peter Korsgaard
5bf6b74e22 kernel-headers: also show 2.6.26 if deprecated is enabled, but recent isn't 2008-11-30 09:51:57 +00:00
Ulf Samuelsson
1158bc9a25 Add support for AT91SAM9G20 & -EK 2008-11-29 22:00:29 +00:00
Ulf Samuelsson
074da836d2 Add AT91 support for 2.6.27.7 and 2.6.28-rc6 2008-11-29 21:58:48 +00:00
Ulf Samuelsson
4f1887e424 Update Linux versions 2008-11-29 21:56:25 +00:00
Peter Korsgaard
026a3581ae busybox: bump 1.12.x / 1.13.x versions 2008-11-29 20:12:17 +00:00
Daniel Laird
5432f26f0e 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>
2008-11-28 14:20:47 +00:00
Peter Korsgaard
b277d41ccc busybox: updated 1.13.0 ash fix 2008-11-28 08:19:23 +00:00
Peter Korsgaard
50def0e495 busybox: updated 1.13.0 ash fix 2008-11-22 06:49:33 +00:00
Peter Korsgaard
1776132d63 lockfile-progs: remove unneeded $(strip) 2008-11-22 06:49:30 +00:00
Peter Korsgaard
5098ee9c7f Revert r24000: "Fix external toolchain build"
This breaks builds with internal toolchain, so let's revert this until we find
a proper solution.
2008-11-21 14:51:10 +00:00
Peter Korsgaard
82569c48fe 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.
2008-11-21 14:36:48 +00:00
Peter Korsgaard
5d66e99e6c busybox: 1.13.0 ash fix 2008-11-21 10:59:01 +00:00
Peter Korsgaard
8bd30c75c9 busybox: 1.13.0 klogd fix 2008-11-20 06:49:20 +00:00
Peter Korsgaard
a3829e90a7 sdl_ttf: provide path to freetype includes
closes #6374.
2008-11-19 10:44:24 +00:00
Peter Korsgaard
249292e42c lockfile-progs: fix patch-kernel invocation
Patch by Roberto A. Foglietta.

Closes #6364
2008-11-19 10:16:40 +00:00
Peter Korsgaard
cec630f8f4 busybox: updated 1.13.0 id patch (only error out if needed) 2008-11-17 07:40:14 +00:00
Peter Korsgaard
687edf150f busybox: 1.13.0 id patch (check) 2008-11-16 17:22:08 +00:00
Peter Korsgaard
50f2a3981f mplayer, vlc: move into multimedia category
Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
2008-11-15 21:33:14 +00:00
Peter Korsgaard
e7df5afeb9 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>
2008-11-15 21:33:07 +00:00
Peter Korsgaard
4190cc1c41 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.
2008-11-15 21:25:29 +00:00
Wade Berrier
2e81da88be ntp.sysvinit: fix 'restart' (don't exit on failed commands with set -e) 2008-11-14 22:52:48 +00:00
Peter Korsgaard
193508d257 linux: remove unused BR2_LINUX_BOARD_PATCH
Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
2008-11-14 13:39:58 +00:00
Peter Korsgaard
325dd736b4 lzo: add $(DISABLE_LARGEFILE) to configure options
Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
2008-11-14 13:39:46 +00:00
Peter Korsgaard
7ed2b6d975 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>
2008-11-14 13:03:01 +00:00
Peter Korsgaard
9f07b39f65 package: Kconfig: use menu instead of menuconfig for sub menus
As discussed on the list - These things should normally not be
(un)selectable.
2008-11-14 12:59:14 +00:00
Thiago A. Corrêa
8033ef6fe2 Fix build. Use TARGET_CONFIGURE_OPTS as environment rather than as argument of make to avoid overwriting dropbear's CFLAGS 2008-11-14 11:06:01 +00:00
Peter Korsgaard
204821c56c target/Config.in.toolchain: cleanup 2008-11-14 10:06:44 +00:00
Peter Korsgaard
0eba4ce2fd dropbear: bump version 2008-11-14 08:47:04 +00:00
Peter Korsgaard
767577e504 busybox: add 1.13.x, mark older as deprecated 2008-11-13 16:32:56 +00:00
Peter Korsgaard
be4f829719 busybox: bump 1.12.x version 2008-11-13 16:32:52 +00:00
Thomas Petazzoni
14520e6fa3 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>
2008-11-11 19:38:10 +00:00
Thomas Petazzoni
b741302a01 Fix the mtd package with regard to external toolchain use.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2008-11-11 19:00:32 +00:00
Thomas Petazzoni
418c84b24b 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>
2008-11-11 18:35:43 +00:00
Thomas Petazzoni
60d39dbb3f 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>
2008-11-11 18:32:31 +00:00
Daniel Laird
9844a8ea2c 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>
2008-11-11 11:43:27 +00:00
Daniel Laird
931445daf5 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>
2008-11-11 11:33:45 +00:00
Hamish Moffatt
3a0052c506 Remove .rej file included in the upstream tarball before patching 2008-11-10 23:50:57 +00:00
Ivan Kuten
da6f419424 revert 23987 until proper implementation 2008-11-10 11:17:21 +00:00
Ivan Kuten
1f370768bc Download Kernel.org minor patches at the same time as full sources.
Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
2008-11-10 10:45:46 +00:00
Thomas Petazzoni
f5ca546b76 Fix Grub tarball version as the current version has disappeared from
Debian mirrors.

Patch provided by Roberto A. Foglietta <roberto.foglietta@gmail.com>
2008-11-08 22:24:39 +00:00
Peter Korsgaard
c4dbac60ae busybox: basename 1.12.1 fix 2008-11-07 10:16:55 +00:00
Peter Korsgaard
95e165c2bc 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.
2008-11-07 08:57:59 +00:00
Peter Korsgaard
b444685399 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)
2008-11-07 08:56:02 +00:00
Daniel Laird
2dbf951819 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>
2008-11-07 08:15:53 +00:00
Wade Berrier
8586e2a51b ntp: add /etc/default/ntpd to control whether to start
ntpd and/or ntpdate.  Also specify options and servers.
2008-11-06 21:11:54 +00:00
Daniel Laird
fd3bb17cbb 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>
2008-11-06 12:54:29 +00:00
Peter Korsgaard
bf0b23bd24 prboom: misc cleanups
As noted by Bernhard on irc.
2008-11-05 15:47:09 +00:00
Hans-Christian Egtvedt
3fe3437ed6 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>
2008-11-05 13:33:43 +00:00
Hans-Christian Egtvedt
12b5b0124b 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>
2008-11-05 12:59:32 +00:00
Hans-Christian Egtvedt
7167dedea2 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>
2008-11-05 11:39:46 +00:00