Daniel Nyström [Sat, 25 Dec 2010 23:29:42 +0000 (00:29 +0100)]
Reset critical environment variables
Reset them early in top-level Makefile to ensure they're keept unset
all the way through the build process.
This also removes the requirement of these variables being unset
globally prior the build.
Signed-off-by: Daniel Nyström <daniel.nystrom@timeterminal.se>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Tue, 28 Dec 2010 19:10:35 +0000 (16:10 -0300)]
toolchain: drop BR2_CROSS_TOOLCHAIN_TARGET_UTILS option
It's really not very useful, all it does is install a target
strace and ldd in a target_utils directory in staging.
While at it clean up the strace makefile a bit.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Tue, 28 Dec 2010 19:10:32 +0000 (16:10 -0300)]
package: drop sparc64 bits
Remove VIS optimization, it's for sparc64 and it's gone.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard [Wed, 29 Dec 2010 14:54:58 +0000 (15:54 +0100)]
xapp_xlogo: needs libXft and pkg-config
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Tue, 28 Dec 2010 19:55:35 +0000 (16:55 -0300)]
libcap: fix target install
/usr/lib/libcap.so.* was installed via "install -D" but libcap.so.2 is
a symlink so it was dereferenced.
Also update the buildsystem patch so that the shared lib is +X.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Tue, 28 Dec 2010 19:38:09 +0000 (16:38 -0300)]
uclibc: fix configs for 0.9.32 & snapshot
* 0.9.32 config needs UCLIBC_HAS___PROGNAME defined or we stall when
program invocation name is enabled.
* Mirror 0.9.32's config to snapshot for consistency.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard [Wed, 29 Dec 2010 08:14:15 +0000 (09:14 +0100)]
automake: ensure staging aclocal dir gets created
Otherwise aclocal fails.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Tue, 28 Dec 2010 19:10:28 +0000 (16:10 -0300)]
uclibc: move tools to host dir
Move uclibc host tools (ldd/ldconfig) to host dir.
They were previously installed in the staging dir.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Tue, 28 Dec 2010 19:10:27 +0000 (16:10 -0300)]
toolchain: move sysroot to host dir
* Drop the BR2_STAGING_DIR option
* Hardcode STAGING_DIR to $(HOST_DIR)/usr/TUPLE/sysroot
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Tue, 28 Dec 2010 19:10:26 +0000 (16:10 -0300)]
sstrip: make it a proper package
* Convert sstrip to a proper gentargets package
* Use openwrt svn version, it's basically the same one we used
* Change the hooks from old toolchain/sstrip to new package/sstrip
* Drop the old toolchain/sstrip directory
* sstrip for the target is now in Package -> Development
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Lionel Landwerlin [Sun, 26 Dec 2010 16:16:36 +0000 (17:16 +0100)]
automake: install gtk-doc.m4 in host directory instead of staging
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Lionel Landwerlin [Sun, 26 Dec 2010 16:16:35 +0000 (17:16 +0100)]
package: avoid copying .m4 files from host to staging
Since we are preparing a package generation mechanism, we would like
to avoid packages that move/touch/modify files which are not part
of their own package. That's why we try to not install host files into
the staging directory (in this case .m4 files) and instead we include
$(HOST_DIR)/usr/share/aclocal into autoreconf search directory.
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Lionel Landwerlin [Sun, 26 Dec 2010 16:16:34 +0000 (17:16 +0100)]
vtun: fix startup script installation
In case etc/init.d does not exist.
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni [Thu, 16 Dec 2010 09:47:34 +0000 (10:47 +0100)]
cloop: bump and fix package
On a machine without zlib-dev installed, cloop must rely on the
host-zlib compiled by Buildroot, but due to the horrible cloop build
system, this didn't happen and the build was failing.
Therefore, we now pass all the $(HOST_CONFIGURE_OPTS) when building
cloop, and we fix the Makefile so that it takes into account
CFLAGS/LDFLAGS passed in the environment or command-line and do not
override them.
[Peter: fix typos, remove HOST_MAKE_ENV]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard [Tue, 28 Dec 2010 07:52:14 +0000 (08:52 +0100)]
php: fix gmp extension build after libgmp bump
Patch from php svn r295402.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard [Mon, 27 Dec 2010 23:07:53 +0000 (00:07 +0100)]
qt: dbus module needs gui support as well
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard [Mon, 27 Dec 2010 22:48:51 +0000 (23:48 +0100)]
gvfs: bump version to fix build with recent glib
libglib2 recently got a gdbusutils.h file as well, confusing the gvfs
build. Update to a more recent version containing a workaround.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Heiko Zuerker [Sun, 26 Dec 2010 17:31:15 +0000 (11:31 -0600)]
netperf: add Gentoo patch to fix buffer overflow compiler warnings
Signed-off-by: Heiko Zuerker <smiley73@users.sourceforge.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Mike Frysinger [Mon, 27 Dec 2010 21:36:49 +0000 (16:36 -0500)]
u-boot: update default helper tools to 2010.12
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard [Mon, 27 Dec 2010 21:50:18 +0000 (22:50 +0100)]
linux: fix linux- aliases
The generic linux-% alias conflicts with the linux-fusion package, so
add explicit aliases instead.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Mon, 6 Dec 2010 19:40:10 +0000 (16:40 -0300)]
mpc: make it a proper package
* Convert mpc to a proper autotargets package
* Hook it up for binutils/gcc to use
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Mon, 6 Dec 2010 19:40:09 +0000 (16:40 -0300)]
mpfr: make it a proper package and bump to version 3.0.0-p8
* Convert mpfr to a proper autotargets package
* Bump to version 3.0.0-p8
* Hook it up for binutils/gcc to use
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Mon, 6 Dec 2010 19:40:08 +0000 (16:40 -0300)]
php: libgmp was renamed to gmp
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Mon, 6 Dec 2010 19:40:07 +0000 (16:40 -0300)]
gmp: make it a proper package and bump to version 5.0.1
* Convert gmp to a proper autotargets package
* Bump to version 5.0.1
* Hook it up for binutils/gcc to use
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Mon, 6 Dec 2010 19:40:11 +0000 (16:40 -0300)]
package infra: fix versioned patches for host packages
Without this patch we'd need separate versioned patch directories for
target and host packages, thus having unwanted duplication.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Heiko Zuerker [Sun, 26 Dec 2010 16:45:37 +0000 (10:45 -0600)]
jpeg: don't add prefix to binaries
Signed-off-by: Heiko Zuerker <smiley73@users.sourceforge.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Mon, 27 Dec 2010 15:33:04 +0000 (12:33 -0300)]
sqlite: use new upstream file versioning convention
Upstream decided to change the file naming convention.
sqlite-amalgamation is now sqlite-autoconf
For a given version, say, 3.7.4 (W.X.Y) upstream now uses WXXYYZZ with Z
reserved for minor fix versions, all zero padded.
Thus 3.7.4 is
3070400, 3.7.4.1 would be
3070401.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard [Mon, 27 Dec 2010 20:33:46 +0000 (21:33 +0100)]
Merge branch 'for-2011.02/dl-tools' of git://git.busybox.net/~tpetazzoni/git/buildroot
Peter Korsgaard [Mon, 27 Dec 2010 20:31:15 +0000 (21:31 +0100)]
toolchain/uClibc: add 0.9.32-rc1
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard [Mon, 27 Dec 2010 20:12:25 +0000 (21:12 +0100)]
mesa3d: ensure it can only be compiled with modular X server
kdrive has no glx support, and mesa3d depends on libdrm which needs
largefile support (just like the modular server), so ensure mesa3d
can only be enabled in that configuration.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard [Mon, 27 Dec 2010 14:49:00 +0000 (15:49 +0100)]
lsof: fix build after gentargets conversion
With the gentargets conversion, the tarball is extracted directly in the
source directory, so adjust paths to match.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard [Sun, 26 Dec 2010 07:49:56 +0000 (08:49 +0100)]
mrouted: use official tarball rather than git
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni [Fri, 24 Dec 2010 17:21:37 +0000 (18:21 +0100)]
u-boot: add support for version 2010.12
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard [Sat, 25 Dec 2010 21:33:20 +0000 (22:33 +0100)]
grep: fix build when libiconv is enabled
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard [Sat, 25 Dec 2010 19:47:12 +0000 (20:47 +0100)]
package/games: remove magiccube4d
It hasn't seen any updates since it was added early 2008, upstream seems
dead and it doesn't build with modern GCC versions.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni [Fri, 24 Dec 2010 14:57:29 +0000 (15:57 +0100)]
infrastructure: only require download tools when needed
Instead of having to require svn, git or bzr unconditionally, only
require them when one package needs them to be downloaded.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Daniel Nyström [Thu, 25 Nov 2010 10:36:34 +0000 (11:36 +0100)]
package/Makefile.package.in: Added BZR download support
Signed-off-by: Daniel Nyström <daniel.nystrom@timeterminal.se>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Thu, 23 Dec 2010 10:42:49 +0000 (11:42 +0100)]
toolchain: fix again stamp file touch
In
e6633fd2e37d25f32958f30e852baa216ce1384a I did crap, and added a
quietization inside a shell command, which was already quietized. This
was stupid, and is fixed by this patch.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni [Thu, 23 Dec 2010 09:31:08 +0000 (10:31 +0100)]
toolchain: add missing stamp file touch in external toolchain
In the support of custom external toolchains, we forgot to touch the
$(STAMP_DIR)/ext-toolchain-checked stamp file, which means that the
toolchain was re-checked and re-installed at everyt build.
At the same time, quietize a bit other stamp files touch.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Wed, 22 Dec 2010 15:12:11 +0000 (12:12 -0300)]
squid: bump to version 3.1.10
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Wed, 22 Dec 2010 12:25:05 +0000 (09:25 -0300)]
busybox 1.18.1: add hush fix
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Wed, 22 Dec 2010 12:04:25 +0000 (09:04 -0300)]
webkit: bump to version 1.2.5
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Wed, 22 Dec 2010 12:04:05 +0000 (09:04 -0300)]
icu: convert to autotargets and bump to version 4.4.2
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Tue, 21 Dec 2010 14:40:27 +0000 (11:40 -0300)]
libxslt: bump to version 1.1.26
Bump libxslt to version 1.1.26
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Tue, 21 Dec 2010 14:39:28 +0000 (11:39 -0300)]
libxml2: bump to version 2.7.8
Bump libxml2 to version 2.7.8.
Re-enable libtool patch now that we handle libtool2 in package infra.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Fri, 17 Dec 2010 16:41:05 +0000 (13:41 -0300)]
ed: bump to version 1.5
* Bump to version 1.5
* Really configure right (or wrong depending on perspective) since we
weren't building ed for the target it was completely broken.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Fri, 17 Dec 2010 16:30:56 +0000 (13:30 -0300)]
screen: bump to version 4.0.3
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Fri, 17 Dec 2010 16:24:10 +0000 (13:24 -0300)]
grep: bump to version 2.7
[Peter: needs wchar]
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Fri, 17 Dec 2010 16:21:56 +0000 (13:21 -0300)]
bison: bump to version 2.4.3
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Fri, 17 Dec 2010 16:12:00 +0000 (13:12 -0300)]
nano: bump to version 2.2.6
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Fri, 17 Dec 2010 16:00:58 +0000 (13:00 -0300)]
tar: bump to version 1.25
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Fri, 17 Dec 2010 15:51:44 +0000 (12:51 -0300)]
findutils: bump to version 4.4.2
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Fri, 17 Dec 2010 15:29:09 +0000 (12:29 -0300)]
patch: needs toolchain with wchar
* Patch needs a toolchain with WCHAR support
* Use real upstream gnu mirror
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Fri, 17 Dec 2010 14:50:15 +0000 (11:50 -0300)]
vim: convert to autotargets, bump to version 7.2.446
* Convert to autotargets package.
* Bump to version 7.2.446.
We fetch from svn to avoid having a ton of patch files.
This won't do us any good if we want vim 7.3 since the repository was
moved to mercurial. However 7.3 still has some cross-compile issues.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Thu, 16 Dec 2010 15:53:59 +0000 (12:53 -0300)]
freetype: bump to version 2.4.4
See http://www.freetype.org/index2.html#release-freetype-2.4.4
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Thu, 16 Dec 2010 15:01:35 +0000 (12:01 -0300)]
sqlite: bump to version 3.7.4
Many small fixes, see http://www.sqlite.org/releaselog/3_7_4.html
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Thu, 16 Dec 2010 14:53:33 +0000 (11:53 -0300)]
php: security bump to version 5.2.16
* Fixed extract() to do not overwrite $GLOBALS and $this when using
EXTR_OVERWRITE.
* Fixed crash in zip extract method (possible CWE-170).
* Fixed a possible double free in imap extension.
* Fixed possible flaw in open_basedir (CVE-2010-3436).
* Fixed NULL pointer dereference in ZipArchive::getArchiveComment.
(CVE-2010-3709).
* Fixed bug #52929 (Segfault in filter_var with FILTER_VALIDATE_EMAIL
with large amount of data).
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Mon, 13 Dec 2010 12:09:39 +0000 (09:09 -0300)]
portmap: install initscript
Thanks to patrick.ziegler@fh-kl.de in the mailing list for noticing.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Daniel Nyström [Tue, 21 Dec 2010 18:06:56 +0000 (19:06 +0100)]
tslib: Enable raw module in ts.conf
By default there is no module activated in ts.conf. According to the
ts.conf previously attached in the tslib package dir (which was never
installed) the default module of choice was the raw module.
This patch enables the raw module in the ts.conf file in the tslib
source tree, which will be installed in the target.
Signed-off-by: Daniel Nyström <daniel.nystrom@timeterminal.se>
Acked-by: Paulius Zaleckas <paulius.zaleckas@gmail.com>
Acked-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Daniel Nyström [Tue, 21 Dec 2010 18:06:55 +0000 (19:06 +0100)]
tslib: bump version to current git head
Due to missing official releases, fetch directly from GitHub
repository. Many bugfixes since 1.0 and all previous patches in
Buildroot are either applied or obsoleted.
Signed-off-by: Daniel Nyström <daniel.nystrom@timeterminal.se>
Acked-by: Paulius Zaleckas <paulius.zaleckas@gmail.com>
Acked-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni [Wed, 22 Dec 2010 18:50:17 +0000 (19:50 +0100)]
linux: don't force IPv6 configuration in kernel
As per the discussion at
http://lists.busybox.net/pipermail/buildroot/2010-December/040030.html,
remove the bits that forced the IPv6 configuration in the kernel
depending on the toolchain ability to support (or not) IPv6. You may
have a toolchain with IPv6 support but still don't want to have IPv6
in your kernel.
The only parameters we adjust in the kernel configuration are:
* ARM EABI, since we got a lot of bug reports regarding misconfigured
kernel compared to the ABI used by userspace applications.
* initramfs, since its contents are generated by Buildroot itself
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni [Wed, 22 Dec 2010 17:25:20 +0000 (18:25 +0100)]
imagemagick: add patch to fix libxml2 issue and remove useless patch
The patch imagemagick-6.6.4-add-errno-h-if-argz-h-does-not-exist.patch
was not applied anymore due to a difference in the version number, and
it didn't prevent imagemagick to be built. It was introduced several
years ago together with the ImageMagick package itself, so presumably
it is no longer needed.
The new patch allows ImageMagick to use the correct xml2-config script
to get the proper location for XML2 headers and libraries. Otherwise,
-I/usr/include/libxml2 is found in the compile flags.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni [Wed, 22 Dec 2010 13:07:09 +0000 (14:07 +0100)]
qt: fix mysql module build
Closes #2371
Bug 2371 was a Qt compilation issue when MySQL support was enabled,
because the Qt configuration tests were looking at host MySQL
libraries.
Even though I couldn't reproduce the bug with MySQL libraries
installed on my host, there was clearly a problem since
-I/usr/include/mysql and -L/usr/lib/mysql were part of the compilation
flags when building those tests.
This was caused by the fact that /usr/bin/mysql_config was used
instead of $(STAGING_DIR)/usr/bin/mysql_config. We fix this by passing
the path to the correct mysql_config script using the -mysql_config Qt
./configure argument. Since this mysql_config script returns the
correct flags for libraries and headers path, the hardcoded -I and -L
flag in qt.mk are no longer needed.
With this in place, Qt is no longer compiled with -I/usr/include/mysql
and -L/usr/lib/mysql, which presumably should fix the problem reported
in bug 2371.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni [Wed, 22 Dec 2010 13:07:08 +0000 (14:07 +0100)]
mysql_client: bump to 5.1.53 to fix abi check problem
MySQL 5.1.47 is affected by a bug in one test called the "ABI check",
which does not work with recent gcc versions. This bug is referenced
as http://bugs.mysql.com/bug.php?id=52514 in MySQL bug tracker.
Since it has been fixed in newer versions of MySQL, we simply bump the
version to the latest available in the 5.1.x series.
The patches have not changed, they have only been refreshed.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni [Wed, 22 Dec 2010 09:35:04 +0000 (10:35 +0100)]
xkeyboard-config: bump to 2.0 to fix bug 2965
Closes #2965
For some odd reason, xkeyboard-config < 1.8 was creating a symbolic
link from /usr/share/X11/xkb/xkbcomp to the xkbcomp binary. But in
cross-compilation mode, this is absurd as the xkbcomp binary to which
the link is pointing is the one in $(HOST_DIR).
This symbolic link thing has been removed completely starting from
xkeyboard-config 1.9. See
http://cgit.freedesktop.org/xkeyboard-config/commit/?id=
f413dff57e77e7b01461508f74b4e92d1dc8defd.
Therefore, we simply bump xkeyboard-config to the latest available
version, 2.0.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard [Tue, 21 Dec 2010 19:25:29 +0000 (20:25 +0100)]
busybox: get rid of BR2_PACKAGE_BUSYBOX_FULLINSTALL
As discussed on IRC, this only needs to be disabled for very specific
configurations, and it can nowadays be done with a custom busybox
.config (CONFIG_INSTALL_APPLET_DONT), so get rid of the option.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard [Tue, 21 Dec 2010 13:23:09 +0000 (14:23 +0100)]
busybox: clarify BR2_PACKAGE_BUSYBOX_FULLINSTALL description
Explicitly explain what the (default) install target does, so people who
don't know busybox details understands what the option does.
Notice: Busybox can be configured to create hard links or shell wrappers
instead, but by default symlinks are used.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni [Tue, 21 Dec 2010 13:14:53 +0000 (14:14 +0100)]
xlib_libX11: compile makekeys for the host correctly
As reported by Miroslav Ignjatovic in bug #2983, our hack in
xlib_libX11 to build makekeys for the host does not work, for several
reasons:
* As we are building a tool for the host, we shouldn't pass
-I$(STAGING_DIR)/usr/include, since the $(STAGING_DIR) contains
headers of packages for the target.
* Instead, we should use the headers in $(HOST_DIR)/usr/include. They
were not used due to a typo: $(HOST_CFLAGS) must be used instead of
$(HOSTCFLAGS).
* Finally, in order for makekeys to find the required headers in
$(HOST_DIR)/usr/include, we must depend on host-xproto_xproto.
This fixes bug #2983.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni [Tue, 21 Dec 2010 12:49:37 +0000 (13:49 +0100)]
toolchain: fix multilib symlink for external toolchains
ARCH_SUBDIR is a shell variable, so it should be referenced with
$${ARCH_SUBDIR}. Without this, no symbolic link is created, and the
external toolchain fails to work if the non-default multilib variant
is used.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard [Tue, 21 Dec 2010 08:39:33 +0000 (09:39 +0100)]
busybox: bump 1.18.x version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard [Mon, 20 Dec 2010 10:17:05 +0000 (11:17 +0100)]
qt: svg and multimedia modules depends on gui module as well
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard [Mon, 20 Dec 2010 09:12:39 +0000 (10:12 +0100)]
qt: phonon support depends on gui module
Otherwise configure errors out with 'Phonon enabled, but GUI disabled'.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Bjørn Forsman [Sun, 19 Dec 2010 18:37:29 +0000 (19:37 +0100)]
linux: fix linux-% shortcut targets
linux-% shortcut targets (short for linux26-%) ignores the ouput dir
$(O) so that 'make O=output.arm linux-menuconfig' is actually run in the
default $(O) directory output/ and not in output.arm/. Fix by passing on
$(O) if set.
[Peter: Use EXTRAMAKEARGS]
Signed-off-by: Bjørn Forsman <bjorn.forsman@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Bjørn Forsman [Sun, 19 Dec 2010 18:37:28 +0000 (19:37 +0100)]
linux: support 'make linux26-nconfig'
Signed-off-by: Bjørn Forsman <bjorn.forsman@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard [Sun, 19 Dec 2010 20:09:00 +0000 (21:09 +0100)]
toolchain/gcc: bump 4.5.x version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni [Sun, 5 Dec 2010 20:53:26 +0000 (21:53 +0100)]
linux: add KERNEL_ARCH_PATH to fix x86-specific issue
Both i386 and x86_64 architectures are supported by the arch/x86
directory in the kernel. So, when we copy the kernel configuration
file to arch/$(KERNEL_ARCH)/configs/, it does not work because
arch/i386 and arch/x86_64 do not exist.
So, we introduce KERNEL_ARCH_PATH, which is the path to the
architecture specific directory in the kernel source tree.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni [Sun, 5 Dec 2010 20:53:25 +0000 (21:53 +0100)]
board: Add a Qemu mipsel Malta board
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni [Sun, 5 Dec 2010 20:53:24 +0000 (21:53 +0100)]
board: Add a Qemu PPC g3beige board
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni [Sun, 5 Dec 2010 20:53:23 +0000 (21:53 +0100)]
linux: add support for ELF vmlinux image
The ELF vmlinux image found at the root of the kernel source tree is
the format that Qemu needs when emulating mips(el) or ppc targets, so
add support for it.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Philippe Reynes [Sun, 5 Dec 2010 20:53:22 +0000 (21:53 +0100)]
board: Add Qemu SH4 r2d configuration
[ Thomas:
* renamed sh4_defconfig to qemu_sh4_r2d_defconfig, for consistency
with other Qemu platforms supported
* renamed board/qemu/sh4 to board/qemu/sh4-r2d
* minor fixes in the readme.txt
* remove useless statements in the minimal defconfig
* switch to a fixed kernel version instead of "same as headers"
]
Signed-off-by: Philippe Reynes <tremyfr@yahoo.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni [Sun, 5 Dec 2010 20:53:21 +0000 (21:53 +0100)]
xtensa: remove unused and useless skeleton patch
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni [Sun, 5 Dec 2010 20:53:18 +0000 (21:53 +0100)]
linux: support a space-separated list of patches
The kernel being a component that often needs a fairly important set
of changes to be adapted to a particular hardware platform, having
maximum flexibility on the patching process is a nice
thing. Therefore, as per the discussions from the Buildroot Developer
Day, we add a mechanism to apply a list of patches (that could come
either from URLs, local files or local directories).
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni [Sun, 5 Dec 2010 20:53:17 +0000 (21:53 +0100)]
linux: Import minimal defconfigs as defconfigs
Now that minimal kernel defconfigs are used in Buildroot, the problem
is that copying those minimal configuration files to .config in the
kernel source tree does not work, as kconfig will ask interactively
what should be the value for all unspecified options.
On suggestion on Sam Ravnborg, the easiest way to solve this is to
import the minimal defconfig file as a defconfig inside the kernel
tree (in arch/$(ARCH)/configs) and configure the kernel with it.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Yegor Yefremov [Sun, 5 Dec 2010 20:53:15 +0000 (21:53 +0100)]
Add network scripting folders to fs/skeleton
Those folders are currently created using makedevs according to the
specifications in device_table.txt. However, as makedevs is no longer
executed when dynamic device creation methods are selected (devtmpfs,
udev, mdev), those folders must be created differently. We choose to
put them directly into the default filesystem skeleton.
Signed-off-by: Yegor Yefremov <yegor_sub1@visionsystems.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Yegor Yefremov [Sun, 5 Dec 2010 20:53:14 +0000 (21:53 +0100)]
Free text field for serial port configuration
BR2_TARGET_GENERIC_GETTY_PORT has now a string type instead of choice.
This makes port configuration flexible and compact.
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni [Sun, 5 Dec 2010 20:53:13 +0000 (21:53 +0100)]
u-boot: add CROSS_COMPILE/ARCH when building host tools
Even when building the host tools, for some reason U-Boot tries to
execute the cross-compiler, so tell it which cross-compiler to use in
order to avoid failure such as:
/usr/bin/make -j12 -C /home/test/outputs/test-253-mini2440_defconfig/build/u-boot-custom tools
make[1]: arm-linux-gcc: Command not found
make[1]: Entering directory `/home/test/outputs/test-253-mini2440_defconfig/build/u-boot-custom'
for dir in tools examples api_examples ; do /usr/bin/make -C $dir _depend ; done
Generating include/autoconf.mk
/bin/sh: line 3: arm-linux-gcc: command not found
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni [Sun, 5 Dec 2010 20:53:12 +0000 (21:53 +0100)]
board: add new Qemu x86 configuration file
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni [Sun, 5 Dec 2010 20:53:11 +0000 (21:53 +0100)]
board: add support for Mini 2440
Paul Jones documented at
http://pauljones.id.au/blog/2010/07/using-buildroot-on-a-mini2440/ how
to use Buildroot to generate a system for the FriendlyARM Mini2440
platform. This patch integrates Paul's work into Buildroot.
Unfortunately, the kernel being 2.6.32, we can't easily use a minimal
defconfig here. The mini2440 support has been merged into more recent
kernels, but I don't have the hardware to test.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni [Sun, 5 Dec 2010 20:53:10 +0000 (21:53 +0100)]
board: add Qemu Versatile defconfig
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni [Sun, 5 Dec 2010 20:53:09 +0000 (21:53 +0100)]
Remove the few remaining unused Atmel-specific bits
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni [Sun, 5 Dec 2010 20:53:08 +0000 (21:53 +0100)]
board: remove Valka v100sc2
This default configuration did not even build a kernel image, which is
the main point of having board default configuration. So remove it.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni [Sun, 5 Dec 2010 20:53:07 +0000 (21:53 +0100)]
board: remove atstk1005_defconfig
Neither the kernel nor U-Boot have support for a 1005 board, so let's
get rid of this board configuration, the corresponding target
skeleton, kernel and busybox configuration and device table.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni [Sun, 5 Dec 2010 20:53:06 +0000 (21:53 +0100)]
board: update and minimize atstk100x_defconfig
Use recent U-Boot and kernel version, remove target skeleton and use
the default one instead, remove useless kernel configuration, busybox
configuration and device table.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni [Sun, 5 Dec 2010 20:53:05 +0000 (21:53 +0100)]
board: remove support for at91sam9260pf
It was supposed to be the support for AT91SAM9260 using a parallel flash
(instead of the usual dataflash). But the provided U-Boot configuration
at91sam9260pf.h was not used anywhere, and it was unsufficient to add
correct support in U-Boot (some changes in U-Boot Makefile would also be
needed). Additionnally, this configuration has not been merged into U-Boot
upstream since 2007 (when it was added to Buildroot).
Therefore, let's get rid of this configuration. If some users are
interested, we can re-introduce it properly with their help.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni [Sun, 5 Dec 2010 20:53:04 +0000 (21:53 +0100)]
board: update and minify at91sam9260dfc_defconfig
Use recent U-Boot and kernel versions, remove useless kernel
configuration file.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni [Sun, 5 Dec 2010 20:53:03 +0000 (21:53 +0100)]
board: update and minify at91rm9200df_defconfig
Use recent U-Boot and kernel versions, remove useless kernel
configuration file.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni [Sun, 5 Dec 2010 20:53:02 +0000 (21:53 +0100)]
board: simplify kb9202 board
Minimize the board defconfig, remove custom busybox configuration,
custom kernel configuration (use the kernel defconfig instead), custom
device table and target skeleton. The only difference in the target
skeleton was the support of mdev and the usage of an automount
script. Instead of adding this in a board-specific way, we should
provide board-independent configuration options. There are already
patches contributed to add support for mdev.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni [Sun, 5 Dec 2010 20:53:01 +0000 (21:53 +0100)]
board: simplify atngw100 support
Minimize atngw100_defconfig, remove atngw100-base_defconfig, and
remove the target skeleton and device table. Instead of having
complete copies of new target skeletons (making them hard to
maintain), we should just have a post-build script that
adds/removes/tweaks the existing target skeleton.
Moreover, most of the tweaks in this target skeleton were for specific
packages, but the policy now is that board defconfig should just build
a basic root filesystem with Busybox, and let the user select
whichever set of packages (s)he wants.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni [Sun, 5 Dec 2010 20:53:00 +0000 (21:53 +0100)]
Minify arm_nptl_toolchain_defconfig
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni [Sun, 5 Dec 2010 20:52:59 +0000 (21:52 +0100)]
Minify arm_toolchain_defconfig
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>