Commit Graph

7699 Commits

Author SHA1 Message Date
Thomas Petazzoni
07d15f907b ext-toolchain: Fix ARCH_SYSROOT detection
For the detection of the ARCH_SYSROOT_DIR (which contains the C
library variant specific to the compiler flags), we used to pass only
the -march argument instead of the full TARGET_CFLAGS. This was done
because TARGET_CFLAGS contains --sysroot, and we don't want to tell
here the compiler which sysroot to use, because we're specifically
asking the compiler where the *normal* arch sysroot directory is.

Unfortunately, there are some multilib variants that aren't decided
only based on -march, but also on -msoft-float or other compiler
flags. Therefore, we take the opposite approach: pass the full
TARGET_CFLAGS, from which we have stripped the --sysroot option.

For example, this allows a PowerPC CodeSourcery toolchain, on which
we're using the soft-float multilib variant, to work properly as an
external toolchain.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Yann E. MORIN <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-06 07:55:59 +02:00
Thomas Petazzoni
7192668cbf ext-toolchains: take into account other Glibc dynamic loader variants
External toolchains using Glibc have different names for the dynamic
loader. Some of them name it ld-linux.so.*, while some others (such as
the PowerPC and MIPS CodeSourcery toolchains) name it simply ld.so.*.

Therefore, we fix the glibc detection code to handle this case.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Yann E. MORIN <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-06 07:53:22 +02:00
Peter Korsgaard
861dde63b2 kernel-headers: bump 2.6.31-34 stable versions
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-06 00:38:54 +02:00
Peter Korsgaard
b9997ca731 u-boot: add 2010.06 release
A few minor modifications of u-boot.mk is needed to support 2010.06:

- U-Boot now uses ARCH=powerpc like the kernel (instead of ARCH=ppc)
- Library files have moved, so adjust the target mkimage/fw_printenv rules
  (still compatible with older versions)

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-05 16:54:45 +02:00
Peter Korsgaard
ab10ed8c87 package: add libsvgtiny library
No official releases, so use svn snapshot like tremor :/

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-05 11:01:55 +02:00
Peter Korsgaard
5ba54aa10b sdl_sound: add optional dependencies
Add the optional dependencies we have in BR (flac/speex/vorbis).

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-04 08:57:09 +02:00
Peter Korsgaard
d31046ec26 sdl_sound: needs iconv if !locale
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-04 08:54:47 +02:00
Peter Korsgaard
fc5cc936d6 sdl_sound: fix dependencies
sdl_sound naturally depends on SDL.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-03 19:55:56 +02:00
Peter Korsgaard
ca3489da7c blackbox: needs iconv if !locale
Closes #2101

At the same time fix dependencies so it can be built without a local
X server, and a comment is shown if C++ support isn't enabled.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-02 14:04:34 +02:00
Peter Korsgaard
52b8d0478a toolchain: remove unused special detection of old toolchains
We only support gcc >= 4.2.x for the internal toolchain.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-02 09:13:30 +02:00
Gustavo Zacarias
3404ad7c4f bash: bump to 4.1.7(1) and migrate to autotargets
Closes #1993

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-01 21:42:32 +02:00
Peter Korsgaard
da32c7ca2d tremor: fix svn checkout
Commit 1dc19c445 (split tremor into its own package) unfortunately
broke the svn checkout step (but normally not noticable as we have
a tarball on sources.buildroot.net that will get downloaded instead).

Fix it by using a custom download step, and remove unused variables
while we're at it.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-01 17:33:29 +02:00
Peter Korsgaard
48cf66f1a2 Makefile.package.in: allow packages to override download step
E.G. for checkout from version control instead.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-01 17:31:39 +02:00
Peter Korsgaard
9280cafe30 ubifs: fix lzo typo
Closes #2155

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-01 15:35:00 +02:00
Peter Korsgaard
09b36fc064 xserver_xorg-server: fix _MAKE typo
The variable should be XSERVER_XORG_SERVER_MAKE, not .._XSERVER_MAKE.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-01 10:02:48 +02:00
Peter Korsgaard
8e29430410 Makefile: fixup make distclean after kconfig build in BUILD_DIR
We don't actually need to explicitly clean the kconfig stuff, as distclean
already removes the entire BUILD_DIR, but fix up the packag/config makefile
to do the right thing if make clean/distclean is called manually for
completeness.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-01 09:03:36 +02:00
Daniel Hobi
cf4689f8b1 Fix: convert leftover $(CONFIG)/conf to $(BUILD_DIR)/buildroot-config/conf
Signed-off-by: Daniel Hobi <daniel.hobi@schmid-telecom.ch>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-29 23:47:49 +02:00
Thomas Petazzoni
c2a44f158e initramfs: update help text
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-26 07:44:16 +02:00
Thomas Petazzoni
93e8014709 initramfs: only show the option when a Linux kernel is being built
Closes #2119

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-26 07:43:20 +02:00
Peter Korsgaard
c59d700786 dropbear: override detection of struct sockaddr_storage
Configure misdetects this as no, but the result is not used for anything.
Unfortunately it breaks the build for other packages also checking for
struct sockaddr_storage (like rsync) when using a shared config cache,
so force it to yes.

Reported-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-25 23:18:43 +02:00
Peter Huewe
f4abd4e612 docs: Fixed spelling error in buildroot.html GETTEXT instead of GNUTTEXT
Fixed spelling error in Documentation buildroot.html#gettext-integration

GETTEXT instead of GNUTTEXT

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-25 14:15:12 +02:00
Gustavo Zacarias
237c98b295 package: Remove portage, it's obsolete
Closes #1975

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-25 13:49:36 +02:00
Gustavo Zacarias
7b3aee7606 Deprecate rp-pppoe, functionality is in pppd
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-25 13:49:08 +02:00
Gustavo Zacarias
1c7de59a73 dnsmasq: bump to 2.55 and migrate to gentargets
Closes #2005

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-25 13:35:09 +02:00
Peter Korsgaard
88d451c8db CHANGES: update after autotools-conversion merge
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-25 12:31:51 +02:00
Peter Korsgaard
bb7593dfdb sdl: fix build without directfb after autotools conversion
Make sure --enable-video-directfb=no gets passed to configure
if directfb isn't enabled, so sdl doesn't try to link with the
host version instead (if available).

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-25 12:25:57 +02:00
Peter Korsgaard
a2a22b82fa Merge branch 'autotools-conversion' of git://git.busybox.net/~tpetazzoni/git/buildroot 2010-06-25 12:18:30 +02:00
Peter Huewe
6074f08b8d nbd: Bump nbd to version 2.9.15 and remove klcc issue.
This patch bumps the version of nbd to 2.9.15.
The new version avoids problems with klcc installed on the host system
and also includes two former buildroot patches:
- nbd-fix-build-with-disable-lfs.patch
- nbd-server-fix-read-eagain.patch

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-24 17:34:01 +02:00
Slava Zanko
1b10ce7156 make gconfig: fix build on Fedora-13
Closes #2095

Avoids error like:
/usr/bin/ld: /dot-dot-dot/buildroot/output/build/buildroot-config/kconfig_load.o: undefined reference to symbol 'dlsym@@GLIBC_2.2.5'

Need to add -ldl to list of GTK2 development libraries.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-24 17:01:15 +02:00
Paul Jones
6b92969386 Add package xterm
Signed-off-by: Paul Jones <paul@pauljones.id.au>
2010-06-24 13:51:11 +02:00
Paul Jones
bb43b24086 Remove package rxvt
It is very old (cira 2003) and very broken

Signed-off-by: Paul Jones <paul@pauljones.id.au>
2010-06-24 13:51:11 +02:00
cmchao
61ce3aaa64 liblockfile : convert to autotools infrastructure & bump to 1.08-4
Changes by Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

 * Installation to target is the default
 * No need to strip, it's done globally

Signed-off-by: cmchao <cmchao@gmail.com>
2010-06-24 13:51:11 +02:00
cmchao
9155a9cfa0 libgpg-error : convert to autotools infrastructure & bump to 1.8
Changes by Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

 * Installation to target is the default

Signed-off-by: cmchao <cmchao@gmail.com>
2010-06-24 13:51:11 +02:00
cmchao
cce342461a sdl : convert to autotools infrastructure & bump to 1.2.14
Changes by Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

 * Installation to target is the default
 * Remove SDL_EXTRA_CFLAGS, unused
 * Remove reference to SDL_DIRECTFB_INCLUDES, unused
 * Remove strip, done globally

Signed-off-by: cmchao <cmchao@gmail.com>
2010-06-24 13:51:10 +02:00
cmchao
fcb48a9a65 sdl_ttf : convert to autotools infrastructure
Changes by Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

 * Installation to target is the default

Signed-off-by: cmchao <cmchao@gmail.com>
2010-06-24 13:51:10 +02:00
cmchao
9b3219fd49 sdl_mixer : convert to autotools infrastructure & bump to 1.2.11
Changes by Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

 * Installation to target is the default
 * No need to strip, done globally

Signed-off-by: cmchao <cmchao@gmail.com>
2010-06-24 13:51:10 +02:00
cmchao
2a10e22d1e quagga : convert to autotools infrastructure & bump to 0.99.12
Changes by Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

 * Installation to target is the default
 * No installation to staging is the default
 * The QUAGGA_HEADERS option does not exist
 * BOA_INSTALL_TARGETS_CMDS wouldn't work in the Quagga package, and
   was anyway doing the default action
 * The QUAGGA_BINARY/QUAGGA_TARGET_BINARY variables were not used
 * Bump to 0.99.16, which fixes a problem when IPv6 is not enabled

Signed-off-by: cmchao <cmchao@gmail.com>

merge quagga
2010-06-24 13:51:09 +02:00
Thomas Petazzoni
58b653ee24 gawk: enable host package
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-06-24 13:51:09 +02:00
cmchao
1cfa586f15 make : convert to autotools infrastructure
Changes by Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

 * Target installation is the default
 * No staging installation is the default

Signed-off-by: cmchao <cmchao@gmail.com>
2010-06-24 13:51:09 +02:00
cmchao
9b34286bd8 gzip : convert to autotools infrastructure & bump to 1.4
Changes by Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

     * Installation to target is the default
     * No installation to staging is the default

Signed-off-by: cmchao <cmchao@gmail.com>
2010-06-24 13:51:08 +02:00
cmchao
6e9655a5e8 libfuse : convert to autotools infrastructure & bump to 2.8.4
Changes by Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

 * Installation to target is the default
 * Remove incorrect libfuse-dirclean target
 * Remove INSTALL_STAGING_CMDS, since its implementation was the default behaviour
 * No need to strip, done globally
 * No need to create main directories in $(TARGET_DIR)

Signed-off-by: cmchao <cmchao@gmail.com>
2010-06-24 13:51:08 +02:00
cmchao
fb42c6a11a diffutils : convert to autotools infrastructure
Changes by Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

 * Installation to target is the default

Signed-off-by: cmchao <cmchao@gmail.com>
2010-06-24 13:51:08 +02:00
cmchao
c1e3d5d2a1 dash : convert to autotools infrastructure & bump to 0.5.5.1
Changes by Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

 * No need to strip
 * Target installation is the default
 * No installation to staging is the default
 * Remove DASH_BINARY/DASH_SOURCE variables
 * Fix minor mistakes
 * Simplify: no need to pass CC/CC_FOR_BUILD

Signed-off-by: cmchao <cmchao@gmail.com>

merge dash
2010-06-24 13:51:08 +02:00
cmchao
ef82aebff9 berkeleydb : convert to autotools infrastructure & bump to 4.4.20
Changes by Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

 * Installation to target is the default
 * Use BERKELEYDB_SUBDIR to get rid of the specific BUILD_CMDS and
   INSTALL_STAGING_CMDS
 * Split the INSTALL_TARGET_CMDS to install development files on the
   target only when needed

Signed-off-by: cmchao <cmchao@gmail.com>
2010-06-24 13:51:07 +02:00
cmchao
f97d2871dc dialog : convert to autotools infrastructure & bump to 1.1-20100428
Changes by Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

 * Installation to target is the default behaviour
 * No installation to staging is the default behaviour
 * Stripping is done globally

Signed-off-by: cmchao <cmchao@gmail.com>
2010-06-24 13:51:07 +02:00
cmchao
2406251d70 links : convert to autotools infrastructure & bump to 1.01pre1-no-ssl
Changes by Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

 * Installation to target is the default behaviour
 * No installation to staging is the default behaviour
 * Stripping is done globally
 * Remove incorrect cleaning rules

Signed-off-by: cmchao <cmchao@gmail.com>
2010-06-24 13:51:07 +02:00
cmchao
9486dcc93a fbv : convert to autotools infrastructure
Changes by Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

 * Target installation is the default behaviour
 * No installation to staging is the default behaviour
 * Remove FBV_BINARY/FBV_TARGET_BINARY variables

Signed-off-by: cmchao <cmchao@gmail.com>
2010-06-24 13:51:06 +02:00
cmchao
c4c8b25467 dmalloc : convert to autotools infrastructure
Changes by Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

     * Target installation is the default behaviour
     * No installation to staging is the default behaviour
     * Remove DMALLOC_TARGET_BINARY variable

Signed-off-by: cmchao <cmchao@gmail.com>
2010-06-24 13:51:06 +02:00
cmchao
8397a4ca1b distcc : convert to autotools infrastructure & bump to 1.1-20100428
Changes by Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

     * Target installation is the default behaviour
     * No installation to staging is the default behaviour
     * Remove DISTCC_BINARY/DISTCC_TARGET_BINARY variables

Signed-off-by: cmchao <cmchao@gmail.com>
2010-06-24 13:51:06 +02:00
Peter Korsgaard
d39ca39269 Makefile.autotools.in fix typo (s/extrators/extractors/)
Noticed by Michael S. Zick.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-23 23:13:48 +02:00