summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* cmake: pass LDFLAGS/CFLAGS when building for the hostThomas Petazzoni2010-07-071-1/+3
| | | | | | | | Passing LDFLAGS/CFLAGS when building for the host allows cmake to be compiled with the proper -rpath value (the -rpath option is added to HOST_LDFLAGS in a later commit). Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* ruby: convert to autotools and fix buildThomas Petazzoni2010-07-061-64/+7
| | | | | | | | | | | | ruby is converted to the autotools infrastructure, and the dependency on host-ruby is added since a ruby interpreter is needed to build a ruby interpreter. Fortunately, this is taken into account in the ruby build process, and it first start to build a mini-interpreter that is used to build the rest. However, this doesn't take the cross-compilation case into account, so we have to build ruby for the host. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* xlib_libXt: fix build issuesThomas Petazzoni2010-07-062-2/+97
| | | | | | | | | | | | | | | | The .mk file was hacking the CC_FOR_BUILD value so that $(STAGING_DIR)/usr/include is added to the include path. This is not correct since $(STAGING_DIR) contains target stuff, not host stuff. The correct fix is to add a dependency on host-xproto_xproto, which will install the needed headers in $(HOST_DIR)/usr/include. In addition to that, a patch is added to make xlib_libXt build system behave properly in the cross-compilation case, where the makestrs tool needs to be built on the host as part of the compilation process. This was working before because of our quirky TARGET_CONFIGURE_OPTS, but those are going to be fixed in a future commit. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* xcb-util: add dependency on host-gperfThomas Petazzoni2010-07-061-0/+1
| | | | | | | gperf on the host is needed, since it is used by xcb-util to generate a perfect hash function. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* webkit: fix misc build issuesThomas Petazzoni2010-07-061-1/+2
| | | | | | | | Webkit depends on libjpeg, so add it as a dependency. Webkit also uses icu but fails to find it if we don't pass ac_cv_path_icu_config to its ./configure script. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* external-toolchain: hardcode the destination directory for a libraryThomas Petazzoni2010-07-061-13/+17
| | | | | | | | | | | | | | | | | | | | | | | Until now, the function copy_toolchain_lib_root was copying a given library to the target filesystem by assuming that it should be at the same place it was in the toolchain sysroot. However, with Buildroot hiding libstdc++ in /usr/<target-name>/lib(64), this isn't correct, and it is probably safer not to rely on the toolchain organization anyway. Therefore : * Instead of having a single EXTERNAL_LIBS variable, we now have LIB_EXTERNAL_LIBS and USR_LIB_EXTERNAL_LIBS, which respectively list the libraries that should be copied to /lib and /usr/lib. As of today, only libstdc++ is part of the second list. * The copy_toolchain_lib_root takes another argument, which is the destination directory of the library, relative to $(TARGET_DIR) Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* external-toolchain: handle libstdc++/libgcc_s for BR toolchainsThomas Petazzoni2010-07-061-1/+10
| | | | | | | | | | Most toolchains have their libraries either in /lib or /usr/lib relative to their ARCH_SYSROOT_DIR. Buildroot toolchains, however, have basic libraries in /lib, and libstdc++/libgcc_s in /usr/<target-name>/lib(64). Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* uclibc: add patch to fix fcntl64() on 64 bits targetsThomas Petazzoni2010-07-061-0/+34
| | | | | | | | The patch is already in upstream uClibc, in the master branch, at http://git.buildroot.net/uClibc/commit/?id=6f1daaaf2d94c1e6184add44eda38b0781b88cf0. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* external-toolchain: recognize uClibc 64 bits toolchainsThomas Petazzoni2010-07-061-1/+1
| | | | | | | | | | With uClibc 64 bits toolchain, the dynamic loader is named ld64-uClibc.so.0 and not ld-uClibc.so.0. So, this commit adjust the uClibc detection code for external toolchains. 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>
* external-toolchain: mention MIPS and PowerPC CodeSourcery toolchainsThomas Petazzoni2010-07-061-1/+3
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* external-toolchain: create lib64 symlinks if neededThomas Petazzoni2010-07-061-0/+17
| | | | | | | | | | | | Create lib64 -> lib and usr/lib64 -> usr/lib symbolic links in the target and staging directories. This is needed for some 64 bits toolchains such as the Crosstool-NG toolchains, for which the path to the dynamic loader and other libraries is /lib64, but the libraries are stored in /lib. 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>
* external-toolchain: support 64 bits glibc toolchainsThomas Petazzoni2010-07-061-1/+1
| | | | | | | | | | On 64 bits glibc toolchains, the dynamic loader is named ld-linux-x86-64.so and not simply ld-linux.so. So, adjust the detection of the C library accordingly. 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>
* external-toolchain: only copy existing directories of the sysrootThomas Petazzoni2010-07-061-1/+3
| | | | | | | | | | Instead of copying all directories in "etc lib sbin usr", check that each of them exists before doing the copy. This is only to avoid an harmless error message. 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>
* ext-toolchain: Fix ARCH_SYSROOT detectionThomas Petazzoni2010-07-062-11/+11
| | | | | | | | | | | | | | | | | | | | | | 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>
* ext-toolchains: take into account other Glibc dynamic loader variantsThomas Petazzoni2010-07-061-6/+4
| | | | | | | | | | | | 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>
* kernel-headers: bump 2.6.31-34 stable versionsPeter Korsgaard2010-07-065-4/+4
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* u-boot: add 2010.06 releasePeter Korsgaard2010-07-053-6/+14
| | | | | | | | | | 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>
* package: add libsvgtiny libraryPeter Korsgaard2010-07-054-2/+59
| | | | | | No official releases, so use svn snapshot like tremor :/ Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* sdl_sound: add optional dependenciesPeter Korsgaard2010-07-041-0/+13
| | | | | | Add the optional dependencies we have in BR (flac/speex/vorbis). Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* sdl_sound: needs iconv if !localePeter Korsgaard2010-07-042-0/+5
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* sdl_sound: fix dependenciesPeter Korsgaard2010-07-032-2/+3
| | | | | | sdl_sound naturally depends on SDL. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* blackbox: needs iconv if !localePeter Korsgaard2010-07-023-9/+19
| | | | | | | | | 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>
* toolchain: remove unused special detection of old toolchainsPeter Korsgaard2010-07-022-35/+1
| | | | | | We only support gcc >= 4.2.x for the internal toolchain. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* bash: bump to 4.1.7(1) and migrate to autotargetsGustavo Zacarias2010-07-0144-3541/+416
| | | | | | | Closes #1993 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* tremor: fix svn checkoutPeter Korsgaard2010-07-012-18/+10
| | | | | | | | | | | 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>
* Makefile.package.in: allow packages to override download stepPeter Korsgaard2010-07-011-1/+1
| | | | | | E.G. for checkout from version control instead. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* ubifs: fix lzo typoPeter Korsgaard2010-07-012-1/+2
| | | | | | Closes #2155 Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* xserver_xorg-server: fix _MAKE typoPeter Korsgaard2010-07-012-2/+3
| | | | | | The variable should be XSERVER_XORG_SERVER_MAKE, not .._XSERVER_MAKE. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Makefile: fixup make distclean after kconfig build in BUILD_DIRPeter Korsgaard2010-07-012-4/+4
| | | | | | | | | 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>
* Fix: convert leftover $(CONFIG)/conf to $(BUILD_DIR)/buildroot-config/confDaniel Hobi2010-06-291-7/+7
| | | | | Signed-off-by: Daniel Hobi <daniel.hobi@schmid-telecom.ch> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* initramfs: update help textThomas Petazzoni2010-06-261-11/+13
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* initramfs: only show the option when a Linux kernel is being builtThomas Petazzoni2010-06-262-0/+4
| | | | | | | Closes #2119 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* dropbear: override detection of struct sockaddr_storagePeter Korsgaard2010-06-252-4/+9
| | | | | | | | | | 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>
* docs: Fixed spelling error in buildroot.html GETTEXT instead of GNUTTEXTPeter Huewe2010-06-251-2/+2
| | | | | | | | | | 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>
* package: Remove portage, it's obsoleteGustavo Zacarias2010-06-254-176/+2
| | | | | | | Closes #1975 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Deprecate rp-pppoe, functionality is in pppdGustavo Zacarias2010-06-251-0/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* dnsmasq: bump to 2.55 and migrate to gentargetsGustavo Zacarias2010-06-252-19/+29
| | | | | | | Closes #2005 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* CHANGES: update after autotools-conversion mergePeter Korsgaard2010-06-251-7/+9
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* sdl: fix build without directfb after autotools conversionPeter Korsgaard2010-06-251-1/+1
| | | | | | | | 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>
* Merge branch 'autotools-conversion' of ↵Peter Korsgaard2010-06-2528-2371/+295
|\ | | | | | | git://git.busybox.net/~tpetazzoni/git/buildroot
| * Add package xtermPaul Jones2010-06-243-0/+20
| | | | | | | | Signed-off-by: Paul Jones <paul@pauljones.id.au>
| * Remove package rxvtPaul Jones2010-06-245-1241/+0
| | | | | | | | | | | | It is very old (cira 2003) and very broken Signed-off-by: Paul Jones <paul@pauljones.id.au>
| * liblockfile : convert to autotools infrastructure & bump to 1.08-4cmchao2010-06-241-51/+12
| | | | | | | | | | | | | | | | | | 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>
| * libgpg-error : convert to autotools infrastructure & bump to 1.8cmchao2010-06-241-67/+4
| | | | | | | | | | | | | | | | Changes by Thomas Petazzoni <thomas.petazzoni@free-electrons.com> * Installation to target is the default Signed-off-by: cmchao <cmchao@gmail.com>
| * sdl : convert to autotools infrastructure & bump to 1.2.14cmchao2010-06-241-85/+19
| | | | | | | | | | | | | | | | | | | | | | 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>
| * sdl_ttf : convert to autotools infrastructurecmchao2010-06-241-68/+7
| | | | | | | | | | | | | | | | Changes by Thomas Petazzoni <thomas.petazzoni@free-electrons.com> * Installation to target is the default Signed-off-by: cmchao <cmchao@gmail.com>
| * sdl_mixer : convert to autotools infrastructure & bump to 1.2.11cmchao2010-06-241-55/+12
| | | | | | | | | | | | | | | | | | 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>
| * quagga : convert to autotools infrastructure & bump to 0.99.12cmchao2010-06-242-128/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * gawk: enable host packageThomas Petazzoni2010-06-241-0/+1
| | | | | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| * make : convert to autotools infrastructurecmchao2010-06-241-67/+8
| | | | | | | | | | | | | | | | | | 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>