Commit Graph

5173 Commits

Author SHA1 Message Date
Peter Korsgaard
ce85931015 docs/buildroot.html: misc small fixes and strip trailing spaces 2008-12-16 09:00:11 +00:00
Thomas Petazzoni
f3e8be761a Documentation fixes and updates
The biggest update is to document the Makefile.autotools.in way of
writing .mk files.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2008-12-15 22:35:09 +00:00
Thomas Petazzoni
6844445ef7 Mention another important benefit of Buildroot.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2008-12-15 22:14:02 +00:00
Thomas Petazzoni
c934e1aa18 Fix TARGET_PATH for external toolchain builds
TARGET_PATH didn't contain $(STAGING_DIR)/usr/bin, which means that
programs installed in $(STAGING_DIR)/usr/bin were not considered for
execution during Buildroot build process. This was a problem with host
automake/autoconf/libtool, which could not be found.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2008-12-15 22:07:38 +00:00
Peter Korsgaard
7fdbdfc559 avahi: make sure destination dirs exists 2008-12-15 16:09:03 +00:00
Peter Korsgaard
e2e4950b2d toolchain: use same gdb Config.in for internal/external toolchains
We used to use different gdb configs for internal and external toolchains
because mconf won't source the same file twice. This works, but is kind of
sub optimal, as people forget to keep them in sync.

Fix it to use the same file for both situations by shuffling around the
config options a bit. Should work identical to before (except for the newer
gdb versions available for ext).
2008-12-15 15:28:48 +00:00
Peter Korsgaard
060dca08f9 ifplugd: fix non-C++ build
The ifplugd configure script was checking for a C++ compiler, even
though it isn't used for anything.
2008-12-13 19:40:26 +00:00
Thomas Petazzoni
978d8dc53e Another external toolchain support solution
* In toolchain/external-toolchain/ext-tool.mk, copy the contents of
   the sysroot directory to the staging dir.

 * In package/Makefile.in, add a --sysroot CFLAGS pointing to the
   staging dir

 * Remove the CFLAGS and LDFLAGS definition from
   TARGET_CONFIGURE_OPTS. I haven't investigated exactly why, but with
   these options, DirectFB fails to build because it cannot find
   PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP, even if DirectFB's Makefile
   properly sets -D_GNU_SOURCE.

I have already sent this patch on December, 2nd to the mailing-list,
but got no feedback. So let's commit and see what happens :-)

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2008-12-13 16:15:50 +00:00
Peter Korsgaard
0dc552c134 menuconfig: don't prepend CONFIG_ to symbols in help text 2008-12-13 11:52:54 +00:00
Thomas Petazzoni
80ad247617 Bump PHP version to 5.2.7.
Patch provided by Gustavo Zacarias <gustavo@zacarias.com.ar>.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2008-12-13 11:01:21 +00:00
Thomas Petazzoni
c04e12dc85 Bump lighttpd to 1.4.20.
Initial patch provided by Gustavo Zacarias <gustavo@zacarias.com.ar>.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2008-12-13 10:55:48 +00:00
Hans-Christian Egtvedt
b3af19b799 samba: add a comment about why make proto is done before make
This patch adds a comment why make proto is needed before make.
2008-12-12 10:34:25 +00:00
Hans-Christian Egtvedt
eebacb875c samba: make proto first to allow parallel build afterwards
This patch fixes parallel build of Samba. The trick is to make proto before
executing a full make.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-12-12 09:29:37 +00:00
Hans-Christian Egtvedt
f02a0408dc samba: bump version to 3.2.5
This patch bumps Samba version to 3.2.5. In the process Samba now
depends on libiconv. This dependency is needed because Samba wants to use
various formats when talking to the different parts of the system.

Two new patches are introduced, one to double check if BSD functions are
available, and one to skip checking for glibc version. The use unsigned
enum patch could be removed since this can be supplied with a autoconf
variable.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-12-12 09:09:51 +00:00
Hans-Christian Egtvedt
2bb1785adb libiconv: strip installed library and remove the preloadable library
This patch is mainly for size reduction, removing more than half the
needed footprint.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-12-12 09:03:47 +00:00
Hans-Christian Egtvedt
be866bfcbc zlib: install using cp instead of install for zlib libraries
This patch will install zlib keeping the symlinks. The usage of
$(INSTALL) here did not take into account symbolic links.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-12-11 14:40:56 +00:00
Peter Korsgaard
9878bf1d8c busybox: 1.13.1 bindtodevice fix 2008-12-11 09:35:07 +00:00
Peter Korsgaard
0d99c9537c package/boa: hide if BR2_PACKAGE_BUSYBOX_HIDE_OTHERS 2008-12-11 00:33:30 +00:00
Peter Korsgaard
8c9f7c675b toolchain/kernel-headers: don't hide 2.6.27 if RECENT isn't enabled 2008-12-10 23:54:18 +00:00
Peter Korsgaard
cdd72cd08f busybox: additional 1.13.1 fixes 2008-12-10 13:46:19 +00:00
Eric Andersen
cbe9f1b8d2 bump 2008-12-09 20:00:31 +00:00
Hans-Christian Egtvedt
57aff861b0 binutils: revert bad commit 24343
This reverst the commit 24343, the original state was indeed correct. Blame
goes to my bad sight and too hasty decisions.
2008-12-09 11:38:52 +00:00
Hans-Christian Egtvedt
c7d2e4b0b3 binutils: fix typo for detecting if BINUTILS_NO_MPFR is not set
Make the ifndef check the actual variable, typo bug.
2008-12-09 10:09:15 +00:00
Hans-Christian Egtvedt
97dabc9ab7 qtopia4: add kconfig option to enable Phonon
This patch adds a kconfig option to enable Phonon when configuring Qt.

Phonon is the multimedia API from KDE 4 which has been integrated into
Qt 4.4. For playback under Linux the GStreamer multimedia framework is
used.

Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-12-08 18:00:54 +00:00
Hans-Christian Egtvedt
fdae8707d6 gst-plugins-ugly: add gstreamer ugly plugins
This patch adds the ugly plugins for gstreamer, for more information see
http://gstreamer.freedesktop.org/modules/gst-plugins-ugly.html
2008-12-08 17:57:26 +00:00
Hans-Christian Egtvedt
bb13448976 gst-plugins-good: add gstreamer good plugins
This patch adds the good plugins for gstreamer, see
http://gstreamer.freedesktop.org/modules/gst-plugins-good.html for more
information.
2008-12-08 17:55:29 +00:00
Hans-Christian Egtvedt
b535c860c9 gst-plugins-base: add gstreamer base plugins
This patch adds the basic plugins for gstreamer, see
http://gstreamer.freedesktop.org/modules/gst-plugins-base.html for more
information.
2008-12-08 17:52:24 +00:00
Hans-Christian Egtvedt
3904838369 gstreamer: add new multimedia package gstreamer
gstreamer is powerful framework for streaming media.
2008-12-08 17:48:31 +00:00
Hans-Christian Egtvedt
cd900a0d59 libtheora: add new multimedia package libtheora
libtheora is a library used by gstreamer when streaming Ogg multimedia.
2008-12-08 17:45:59 +00:00
Peter Korsgaard
7139678f78 make the default etc/init.d/S40network compatible with msh
msh is currently the only good choice for uClinux but it doesn't
understands shell functions.  In this case there is nothing to gain
by using shell functions anyway.

Signed-off-by: Nicolas Pitre <nico@cam.org>
2008-12-08 14:52:16 +00:00
Peter Korsgaard
8e436ee772 have zlib respect BR2_PREFER_STATIC_LIB
The ARM uClinux BFLT format apparently doesn't support shared libs nor
-fPIC.  So let's distinguish between shared and non shared builds by
having split rules for libz.a and libz.so based on BR2_PREFER_STATIC_LIB.

Signed-off-by: Nicolas Pitre <nico@cam.org>
2008-12-08 14:41:47 +00:00
Peter Korsgaard
38abffd280 udev: use $@ instead of hardcoding target name 2008-12-08 13:48:37 +00:00
Peter Korsgaard
7cb7952b40 target/initramfs: actually build initramfs target
Currently, BR2_TARGET_ROOTFS_INITRAMFS doesn't actually do anything,
as it doesn't alter $(TARGETS)

This change hooks up the TARGETS variable to INITRAMFS_TARGET (which
is only set if BR2_TARGET_ROOTFS_INITRAMFS=y), so that the initramfs
list is built.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
2008-12-08 13:42:04 +00:00
Peter Korsgaard
a7d06d10e4 package/freetype: default to 2.3.7 2008-12-08 13:42:01 +00:00
Peter Korsgaard
a222edcbcf package/udev: create base device nodes after mounting a new /dev
Currently, udev won't start for me, as we've just mounted a new /dev,
which is completely empty, and udevd requires a /dev/null.

This change manually creates the three base device nodes (zero, null
and console) so that udev can start.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
2008-12-08 13:41:59 +00:00
Peter Korsgaard
a8b501baee package/udev: fix CFLAGS for udev extras
If the udev extras are built without large file support in uClibc,
I get the following error:

 build_powerpc/staging_dir/usr/bin/powerpc-linux-uclibc-gcc -c -g -Wall
 -pipe -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -Wstrict-prototypes
 -Wsign-compare -Wshadow -Wchar-subscripts -Wmissing-declarations
 -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare
 -Wmissing-prototypes -Os ext.c -o ext.o
 In file included from build_powerpc/staging_dir/usr/include/stdio.h:28,
 from ext.c:19:
 build_powerpc/staging_dir/usr/include/features.h:382:4: error:
 #error It appears you have defined _FILE_OFFSET_BITS=64. Unfortunately,
 uClibc was built without large file support enabled.

Although the base udev package builds correctly, the extras pacakges
don't adjust their CFLAGS depending on BR2_LARGEFILE.

This change adds the required CFLAGS modifications to make the
extras build.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
2008-12-08 13:41:56 +00:00
Peter Korsgaard
47fc81ca4f package/udev: fix dependency for scsi_id
According to udev.mk, the scsi_id package depends on the libvolume_id
library, so add this dependency to Config.mk

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
2008-12-08 13:41:53 +00:00
Peter Korsgaard
6b2a59fdea toolchain/kernel-headers: bump 2.6.27.x version 2008-12-08 13:05:47 +00:00
Peter Korsgaard
326ae9c89b target/tar: remove unused cut'n'paste leftover 2008-12-08 09:07:01 +00:00
Peter Korsgaard
224c62ecf8 target: paths may need stripping
r24310 removed a few too many strips.
2008-12-08 09:06:59 +00:00
Peter Korsgaard
ffe33152e7 toolchain/gdb: 6.4 shouldn't be selectable for avr32 2008-12-08 08:54:14 +00:00
Peter Korsgaard
41d7b7087c toolchain/gdb: mark old versions as deprecated 2008-12-08 08:46:52 +00:00
Peter Korsgaard
5672e59075 toolchain/gdb: default to 6.8 2008-12-08 08:46:50 +00:00
Peter Korsgaard
4b72854dde target/: get rid of unneeded $(strip ..) 2008-12-08 08:15:58 +00:00
Peter Korsgaard
0db545ab18 docs/: get rid of unneeded $(strip ..) 2008-12-08 08:15:46 +00:00
Peter Korsgaard
0e14d4f7ff toolchain/: get rid of unneeded $(strip ..) 2008-12-08 08:15:42 +00:00
Peter Korsgaard
ac1d92c425 package/: get rid of unneeded $(strip ..) 2008-12-08 08:15:27 +00:00
Hans-Christian Egtvedt
6250131be1 Remove dead directories after moving audio and video to multimedia
This patch removes some empty directories which got left behind when audio and
video packages got moved into packages/multimedia directory.
2008-12-08 08:08:13 +00:00
Hamish Moffatt
f2824f303c Override the target-install target properly rather than installing as a post-build hook 2008-12-08 04:43:33 +00:00
Hamish Moffatt
f73e7d4611 Over-ride the target-install target rather than installing as a post-build
hook. Otherwise the wrong stamps are used and the library won't be reinstalled
if you clean out $(TARGET_DIR).
2008-12-08 04:41:19 +00:00