summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Support multilib variants in sub-subdirectoriesThomas Petazzoni2012-03-011-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When an external toolchain has multiple variants organized in sub-directories, Buildroot only copies the selected sysroot and not all sysroots. In order to make this work, Buildroot creates a symbolic link of the name of the original selected sysroot to the main sysroot to trick the compiler so that it finds its libraries at the expected location. I.e, if the toolchain as the following organization (example take on the ARM CodeSourcery toolchain) : . for ARMv5T armv4 for ARMv4T thumb2 for ARMv7-A/Thumb and ARMv4T is selected, then Buildroot will copy the contents of armv4t/ from the toolchain into its $(STAGING_DIR) and then create a $(STAGING_DIR)/armv4t symbolic link to $(STAGING_DIR). However, our logic to do so only works when there was one directory level for multilib sysroots. But in the MIPS CodeSourcery toolchain there are multiple levels. For example, the MIPS16 soft-float little-endian sysroot variant is in mips16/soft-float/el/ compared to the main sysroot. This patch improves our logic to support this case. The logic is a bit more complicated as we don't want to create a symbolic link to an absolute path, but a symbolic link to a relative path, because we want the host/ directory to be relocatable. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Improve external toolchain logic to support IA32 Sourcery CodeBench toolchainThomas Petazzoni2012-03-012-20/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The IA32 Sourcery CodeBench toolchain has a relatively special structure, with the following multilib variants: * Intel Pentium 4, 32 bits, the multilib variant is in ./ relative to the main sysroot, with the libraries in the lib/ directory. * Intel Xeon Nocona, 64 bits, the multilib variant is in ./ relative to the main sysroot, with the libraries in the lib64/ directory. * Intel Atom 32 bits, the multilib variant is in atom/ relative to the main sysroot, with the libraries in the lib/ directory. * Intel Core 2 64 bits, the multilib variant is in core2/ relative to the main sysroot, with the libraries in lib64/ directory. So the first two variants are in the same sysroot, only the name of the directory for the libraries is different. Therefore, we introduce a new ARCH_LIB_DIR variable, which contains either 'lib' or 'lib64'. This variable is defined according to the location of the libc.a file for the selected multilib variant, and is then used when copying the libraries to the target and to the staging directory. In addition to this, we no longer use the -print-multi-directory to get the ARCH_SUBDIR, since in the case of the 64 bits variants of this toolchain, it returns just '64' and not a real path. Instead, we simply compute the difference between the arch-specific sysroot and the main sysroot. We also take that opportunity to expand the documentation on the meaning of the different variables. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Add the Atom processor in the list of supported x86/x86_64 processorsThomas Petazzoni2012-03-011-0/+12
| | | | | | | This allows to easily select the corresponding Atom multilib variant in the Sourcery CodeBench toolchain. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Add x86_64 variants to BR2_GCC_TARGET_ARCHThomas Petazzoni2012-03-011-0/+5
| | | | | | | | | With the Sourcery CodeBench IA32/AMD64 toolchain, the proper -march= switch must be passed. So, on x86_64, we make sure that BR2_GCC_TARGET_ARCH gets defined to the correct value, just as we do on x86. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* kernel-headers: bump 3.0.x / 3.2.x stable versionsPeter Korsgaard2012-03-012-2/+2
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Merge branch 'next'Peter Korsgaard2012-03-0129-198/+192
|\
| * libglib2: fix build with legacy uClibc versionsPeter Korsgaard2012-02-281-1/+8
| | | | | | | | | | | | | | | | qsort_r was only added in uClibc 0.9.33, so only enable it when we're sure it's available. For external/ctng toolchains we cannot easily know, so simply disable it there. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
| * e2fsprogs: disable build of e4defrag unless explicitly enabledSven Neumann2012-02-281-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | The e2fsprogs configure script enables the build of the e4defrag utility by default. Disable it unless BR2_PACKAGE_E2FSPROGS_E4DEFRAG is selected. Also the --disable-blkid option is not recognized by the configure script. Use --disable-libblkid instead. Signed-off-by: Sven Neumann <s.neumann@raumfeld.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
| * libsoup: update to version 2.36.1Sven Neumann2012-02-283-43/+9
| | | | | | | | | | | | | | | | | | | | | | Update to latest stable release. SSL support now depends on glib-networking with gnutls support instead of using gnutls directly. Remove libsoup-CVE-2011-2054.patch, this is fixed upstream. Signed-off-by: Sven Neumann <s.neumann@raumfeld.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
| * glib-networking: new packageSven Neumann2012-02-283-0/+34
| | | | | | | | | | | | | | | | | | glib-networking provides network-related GIO modules for glib. It is used by newer versions of libsoup to implement SSL/TLS support. Signed-off-by: Sven Neumann <s.neumann@raumfeld.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
| * libglib2: update to version 2.30.2Sven Neumann2012-02-283-33/+9
| | | | | | | | | | | | | | | | | | Update to latest stable release and add a dependency on libffi which is needed by GObject. [Peter: fixup build on uClibc] Signed-off-by: Sven Neumann <s.neumann@raumfeld.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
| * gamin: fix compilation with glib 2.30Sven Neumann2012-02-271-0/+57
| | | | | | | | | | | | | | | | | | | | | | G_CONST_RETURN is deprecated in glib 2.30 so remove occurences to avoid build failures. Patch taken from http://patches.openembedded.org/patch/13079/ Signed-off-by: Sven Neumann <s.neumann@raumfeld.com> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
| * vala: bump versionPeter Korsgaard2012-02-271-1/+1
| | | | | | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
| * qt: fix build with gcc 4.6.x on armPeter Korsgaard2012-02-261-0/+5
| | | | | | | | | | | | | | As noted by Ismael Luceno. For details, see: http://gcc.gnu.org/ml/gcc-patches/2010-11/msg02245.html Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
| * qt: simplify arch handlingIsmael Luceno2012-02-261-6/+2
| | | | | | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
| * Makefile: move cmake toolchain file to $HOST_DIR/usr/share/buildrootPeter Korsgaard2012-02-252-3/+4
| | | | | | | | | | | | To make it part of the SDK installation. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
| * qt: bump versionPeter Korsgaard2012-02-255-76/+6
| | | | | | | | | | | | | | Webkit support runs pkg-config at build time, so we need to ensure our version gets picked up. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
| * sdl_net: bump version, fix tarball nameJulien Boibessot2012-02-241-2/+3
| | | | | | | | | | | | | | Bump version & cleanup variables setting while we are at it. Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
| * libarchive: bump versionPeter Korsgaard2012-02-231-1/+1
| | | | | | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
| * Avoid the warnings about the redefinition of LUA_USE_DLOPEN, when ↵Francois Perrad2012-02-191-2/+2
| | | | | | | | | | | | | | | | | | | | BR2_PACKAGE_LUA_INTERPRETER_READLINE is set See src/luaconf.h lines 36-40 Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
| * Print a message before executing the post-build scriptLuca Ceresoli2012-02-191-0/+1
| | | | | | | | | | | | Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
| * linux-firmware: add support for the atheros ar9271 firmwareAlexandre Pereira da Silva2012-02-192-0/+13
| | | | | | | | | | | | Signed-off-by: Alexandre Pereira da Silva <aletes.xgr@gmail.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
| * qemu/sh4-r2d: update to use kernel 3.2.6Gustavo Zacarias2012-02-191-1/+1
| | | | | | | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
| * qemu/sparc-ss10: update to use kernel 3.2.6Gustavo Zacarias2012-02-191-1/+1
| | | | | | | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
| * qemu/mipsel-malta: update to use kernel 3.2.6Gustavo Zacarias2012-02-191-1/+1
| | | | | | | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
| * qemu/mips-malta: update to use kernel 3.2.6Gustavo Zacarias2012-02-191-1/+1
| | | | | | | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
| * qemu/x86_64: update to use kernel 3.2.6Gustavo Zacarias2012-02-191-1/+1
| | | | | | | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
| * qemu/x86: update to use kernel 3.2.6Gustavo Zacarias2012-02-191-1/+1
| | | | | | | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
| * qemu/arm-versatile: update to use kernel 3.2.6Gustavo Zacarias2012-02-191-1/+1
| | | | | | | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
| * qemu/ppc-g3beige: update readme and use kernel 3.2.6Gustavo Zacarias2012-02-193-3/+3
| | | | | | | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
| * defconfigs: mx53loco_defconfig: misc tweaksPeter Korsgaard2012-02-191-2/+7
| | | | | | | | | | | | | | | | - Use git:// URLs for freescale git trees - Enable hard fpu for A8 - Board uses uSD cards, so enable ext2 filesystem Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
| * configs: Add Freescale MX53 supportMathieu Briand2012-02-171-0/+18
| | | | | | | | | | | | | | | | | | Buildroot config and Linux Kernel config. Freescale binaries (xf86 video driver and multimedia codecs) not supported yet. Signed-off-by: Mathieu Briand <mbriand@adeneo-embedded.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
| * avahi: bump versionPeter Korsgaard2012-02-151-1/+1
| | | | | | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
| * Makefile: use /etc/os-release for version info rather than /etc/br-versionPeter Korsgaard2012-02-141-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | /etc/os-release is becoming a standard interface for distribution name/version info, so let's use that instead of the nonstandard /etc/br-version. Format of the file is something like: NAME=Buildroot VERSION=2012.02-rc1-00003-g2d10e81 ID=buildroot VERSION_ID=2012.02-rc1 PRETTY_NAME="Buildroot 2012.02-rc1" For more details, see: http://0pointer.de/public/systemd-man/os-release.html Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
| * DOWNLOAD_WGET: use -O instead of -P to set output fileArnout Vandecappelle (Essensium/Mind)2012-02-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some URLs use url-encoded arguments to specify the file to download. Wget will then use an output file name which includes all the ampersands and such. However, this is not what we see from buildroot. E.g.: FOO_SITE="http://git.foo.com/?p=foo.git;a=blob;f=" FOO_SOURCE="foo.tgz" wget will download this into $(DL_DIR)/index.html?p=foo.git;a=blob;f=foo.tgz buildroot thinks it's in $(DL_DIR)/foo.tgz To make sure the view of wget and buildroot are consistent, specify the output file explicitly. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
| * zlib: bump versionPeter Korsgaard2012-02-132-28/+5
| | | | | | | | | | | | Patch is now upstream. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* | Update copyright yearPeter Korsgaard2012-03-013-3/+3
| | | | | | | | | | | | We're in 2012 by now. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* | kickoff 2012.05 development cyclePeter Korsgaard2012-03-012-1/+3
| | | | | | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* | docs/news.html: add 2012.02 announcement mail linkPeter Korsgaard2012-03-011-1/+2
| | | | | | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* | Update for 2012.022012.02Peter Korsgaard2012-02-294-7/+20
| | | | | | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* | libecore: fix build of host-libecore when X11 not availableThomas Petazzoni2012-02-291-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | The host-libecore build tries to build the X11 backend. This works if you have X11 headers/libraries installed on your build machine, but fails if you don't, and Buildroot shouldn't depend on such things being installed. Therefore, we force host-libecore to not build any of the graphical backends (X, XCB or DirectFB). Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* | Update for 2012.02-rc32012.02_rc3Peter Korsgaard2012-02-274-4/+31
| | | | | | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* | uClibc: rename 0.9.33 syscall_ncs patchPeter Korsgaard2012-02-271-0/+0
| | | | | | | | | | | | No need for double dashes - Purely cosmetical. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* | qemu/ppc-g3beige: update readme and use kernel 3.2.6Gustavo Zacarias2012-02-263-3/+3
| | | | | | | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* | qemu/sh4-r2d: update to use kernel 3.2.6Gustavo Zacarias2012-02-261-1/+1
| | | | | | | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* | qemu/sparc-ss10: update to use kernel 3.2.6Gustavo Zacarias2012-02-261-1/+1
| | | | | | | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* | qemu/mipsel-malta: update to use kernel 3.2.6Gustavo Zacarias2012-02-261-1/+1
| | | | | | | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* | qemu/mips-malta: update to use kernel 3.2.6Gustavo Zacarias2012-02-261-1/+1
| | | | | | | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* | qemu/x86_64: update to use kernel 3.2.6Gustavo Zacarias2012-02-261-1/+1
| | | | | | | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* | qemu/x86: update to use kernel 3.2.6Gustavo Zacarias2012-02-261-1/+1
| | | | | | | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>