Commit Graph

7838 Commits

Author SHA1 Message Date
Thomas Petazzoni
2ae84ac85f binutils,gcc: use correct --prefix
The cross binutils and cross gcc are actually going to be executed
from $(STAGING_DIR)/usr, so the correct prefix is $(STAGING_DIR)/usr
and not /usr.

This also fixes what is known as the "AVR32 toolchain build failure",
which was due to the fact that the prefix directory wasn't writable
(since it was /usr).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-27 22:56:36 +02:00
Peter Korsgaard
f2860bbc8e Merge branch 'fix-gxx-on-target' of git://git.busybox.net/~tpetazzoni/git/buildroot 2010-07-27 22:46:18 +02:00
Peter Korsgaard
f806d3430c Merge branch 'fix-gcc-on-target' of git://git.busybox.net/~tpetazzoni/git/buildroot 2010-07-27 22:43:04 +02:00
Thomas Petazzoni
454b70d03a target-g++: fix build
Just as we did to fix target-gcc, pass CXX_FOR_TARGET when building
target g++, and remove useless copies of g++ and c++.

Tested on ARM by compiling a simple C++ program using <iostream> on
the target and running it.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-27 22:32:02 +02:00
Thomas Petazzoni
fed6a2a6ea target-gcc: remove useless copies of gcc
When doing the "make install" of target, three identical copies of gcc
are installed in $(TARGET_DIR)/usr/bin:

  039adcc582c365f12ba6fc5f96098128  arm-unknown-linux-uclibcgnueabi-gcc
  039adcc582c365f12ba6fc5f96098128  arm-unknown-linux-uclibcgnueabi-gcc-4.3.5
  039adcc582c365f12ba6fc5f96098128  gcc

This patch removes the first two copies and keeps only the common "gcc" one.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-27 18:23:32 +02:00
Thomas Petazzoni
4e62eeed19 target-gcc: no need to strip binaries, remove .la files and doc
This is done in a global way by the target-finalize target of the main
Makefile.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-27 18:23:32 +02:00
Thomas Petazzoni
f43054d841 target-gcc: fix build
Now that $(STAGING_DIR)/usr/bin is no longer in the PATH, we need to
pass the absolute paths to $(TARGET_CC) when building the target gcc
compiler.

This commit fixes the target gcc build problem reported on the list. I
have successfully been able to build a target gcc for ARM, use it to
compile a hello world application on the target and run this
application.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-27 18:23:16 +02:00
Thomas Petazzoni
5e8e1cdb60 target-gcc: Get rid of TARGET_GCC_FLAGS
This variable is used only once, so let's just hardcode its value at
its call site.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-27 18:22:44 +02:00
Peter Korsgaard
c43f21339e at: fix configure cache issue with flex
Make sure flex is built before at if enabled, so it correctly detects
it and doesn't populate tgt-config.cache with invalid values.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-27 10:02:06 +02:00
Peter Korsgaard
a731c7d623 gnuchess: fix configure cache issue with readline
Make sure readline is built before gnuchess if enabled, so it correctly
detects it and doesn't populate tgt-config.cache with invalid values.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-27 09:26:57 +02:00
Peter Korsgaard
03bb359cb7 diffutils: fix configure cache issue with BR2_NEEDS_GETTEXT
Like flex, diffutils doesn't NEED gettext/libintl, but it's configure script
checks for it, so make sure those a built before diffutils, otherwise it
will populate tgt-config.cache with invalid values, breaking the build of
other packages needing it (like libglib2).

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-27 09:20:59 +02:00
Peter Korsgaard
ccd0fc4efa CHANGES: fix typo
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-27 09:08:35 +02:00
Thomas Petazzoni
e475cf0309 Deprecate pcmcia and microwin packages
It isn't worth the effort to convert these packages to the new package
infrastructure since they are deprecated.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-27 00:52:13 +02:00
Thomas Petazzoni
aaa2b660a9 setserial: convert to autotargets and fix manpages install
Close #2269

[Peter: fix Makefile patch to not strip wrong file, rename hayes patch]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-27 00:48:27 +02:00
Thomas Petazzoni
5ca30174bf tftpd: convert to autotargets
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-27 00:03:55 +02:00
Thomas Petazzoni
192c9b1829 ltrace: convert to gentargets and bump to 0.5.3
[Peter: remove unneeded 0.5 USE_DEMANGLE patch]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-26 23:57:20 +02:00
Peter Korsgaard
e49e2feda4 Makefile: fix ldconfig selection for internal toolchains
Commit ed0d45fdd (Choose host/target ldconfig based on availability)
added a runtime check for a cross-ldconfig being available.
Unfortunately this checks runs too early (at package/Makefile.in parsing
time), so it always fails when using an internal toolchain as ldconfig
isn't built yet.

Fix it by moving the check to the only place it is used (target-finalize).

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-26 23:57:01 +02:00
Gustavo Zacarias
52beecb809 iw: bump to 0.9.20 and migrate to gentargets
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-26 22:55:39 +02:00
Luca Ceresoli
cf75bd2789 qt: fix alsa-lib dependency
If BR2_PACKAGE_QT_AUDIO_BACKEND=y, QtMultimedia requires the audio backend
to be already in staging in order to compile.
The backend is system-dependent, but since buildroot builds Linux systems
only, it is safe to assume that the it will always be ALSA.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-26 22:52:50 +02:00
Thomas Petazzoni
f978f2249d Improvements to the package conversion status script
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-26 22:48:41 +02:00
Ossy
98d5a8bcd0 u-boot: fix custom patch dir handling
Signed-off-by: Ossy <ossy1980@gmx.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-26 22:45:48 +02:00
Peter Korsgaard
39e6ba1b39 java: mark as broken
We haven't had any updates to the java packages in a long time,
gcj in 4.3.x doesn't build, and 4.4.x is missing ecj1, so it cannot
have many users.

Mark it as broken and remove during the 2010.11 cycle, unless someone
steps up to maintain it.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-26 22:25:19 +02:00
Peter Korsgaard
3cd5174ed7 u-boot: add Marvell u-boot.kwb support
Marvell boards like the sheevaplug needs a special .kwb image format,
so add an option for it similar to how we handle zImage/uImage/..
for the kernel.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-26 16:14:41 +02:00
Peter Korsgaard
3da3c33877 flex: fix configure cache issue with BR2_NEEDS_GETTEXT
Flex doesn't NEED gettext/libintl, but it's configure script checks for it,
so make sure those a built before flex, otherwise flex will populate
tgt-config.cache with invalid values, breaking the build of other packages
needing it (like libglib2).

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-26 15:10:41 +02:00
Gustavo Zacarias
e7b5fd80c4 wireless_tools: Migrate to gentargets and fixes
Rename it from wireless-tools to wireless_tools to match upstream.
Make it install manpages.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-26 12:07:22 +02:00
Peter Korsgaard
f44935e4d3 swfdec: fix build when no libglib2-dev package is installed on host
Make sure it uses the libglib2-host binaries we are building.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-26 11:10:03 +02:00
Peter Korsgaard
deb51ad988 busybox: bump 1.17.x version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-26 10:03:42 +02:00
Peter Korsgaard
9fb9dc0bea diffutils: fix build with uClibc 0.9.31
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-26 08:15:36 +02:00
Peter Korsgaard
5e0dd50523 gmpc: fix typo
Fixes build with libSM support.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-25 22:17:08 +02:00
Peter Korsgaard
c03cab1430 xserver-xorg: disable SDL kdrive server
Otherwise the build breaks if the SDL package is enabled, as xserver's
configure script detects SDL support, but doesn't find our sdl-config
script, so linking fails.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-24 20:34:03 +02:00
Peter Korsgaard
3435c1afb5 kconfig: implement KCONFIG_PROBABILITY for rand{,package}config
rand{,package}config enables configuration options with 50% probability,
which isn't always what we want in BR (because the "big" configs take a
long time to build and limits the chance of a randconfig detecting a
missing dependency), so introduce a KCONFIG_PROBABILITY environment
variable to tweak the probability between 0 (all options off) and 100
(all options on).

To use, simply set the environment variable before running make or pass
it on the make command line - E.G.

make randpackageconfig KCONFIG_PROBABILITY=10

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-23 14:27:30 +02:00
Peter Korsgaard
f4800b4654 package: mark libglib12/libgtk12/dillo as deprecated
gtk2 was released back in 2002, and gtk3 is almost ready - So deprecate
the old gtk12 stack. Unless someone complains, expect it to be removed
during the 2010.11 development cycle.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22 21:43:45 +02:00
Gustavo Zacarias
d8a41bb536 busybox: fix cflags
Pass CFLAGS as env rather than opt to allow the build system to tweak them.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22 18:13:00 +02:00
Peter Korsgaard
e23ca1da6d busybox: additional 1.17.0 fixes
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22 18:11:40 +02:00
Peter Korsgaard
6d249fcdfa gst-plugins-good: udp plugin needs ipv6 support
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22 16:34:57 +02:00
Peter Korsgaard
7705e6e415 kconfig: make rand{,package}config fair
Give each boolean symbol a 50% chance of getting enabled, rather than 67%.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22 14:17:51 +02:00
Peter Korsgaard
6ef765d3bd php: filter plugin depends on pcre
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22 13:08:24 +02:00
Peter Korsgaard
3358928225 webif: needs busybox (httpd)
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22 13:08:24 +02:00
Peter Korsgaard
0a01196efd thttpd: fix build, don't override CFLAGS at make time
We already provide the correct CFLAGS/LDFLAGS at configure time, so don't pass them
again at make time, as this then overrides the extra CFLAGS (defines) in the Makefile.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22 13:08:24 +02:00
Peter Korsgaard
87e55feec7 mplayer: add optional sdl/freetype support
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22 13:08:24 +02:00
Peter Korsgaard
89fc8a4f5a mplayer: fix build after efb1d8d3f4 (Cleanup TARGET_CONFIGURE_OPTS)
mplayer's configure script got confused by the equal sign (=) we now have
in TARGET_CC because of --sysroot=<path>.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22 11:24:30 +02:00
Peter Korsgaard
32d319e6f7 gst-plugins-base: ensure <stdint.h> is used
Otherwise the build breaks with the emulation _stdint.h in gstfft.c.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22 10:25:09 +02:00
Peter Korsgaard
8330dd11e7 xavante: needs largefile support (for luafilesystem)
And at the same time use select for the lua shared library dependency.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22 09:36:52 +02:00
Peter Korsgaard
bc98b5b357 cgilua: tweak Config.in
Print a comment if largefile isn't available, and use select rather than
depends for the lua shared library option.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22 09:35:38 +02:00
Peter Korsgaard
164d1dc020 luafilesystem: tweak Config.in
Print a comment if largefile isn't available, and use select rather than
depends for the lua shared library option.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22 09:29:57 +02:00
Peter Korsgaard
5af328d2dd wsapi: needs largefile support (for luafilesystem)
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22 09:29:44 +02:00
Peter Korsgaard
80890ab0ec ltrace: fix build without USE_DEMANGLE
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22 09:23:53 +02:00
Peter Korsgaard
519fed5f73 lighttpd: fix build with pcre support
We need to tell where pcre-config is installed, now that STAGING_DIR/usr/bin
no longer is in the path.
2010-07-22 09:08:34 +02:00
Peter Korsgaard
cbcc06c3bb dash: fix build of native helpers
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22 00:22:22 +02:00
Peter Korsgaard
68fe213daa php: pdo mysql extension needs C++ support in toolchain
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-21 23:45:36 +02:00