summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-09-01Add support for savedefconfigThomas Petazzoni
savedefconfig allows to create a minimal defconfig file from an existing configuration. For example : make O=/path/to/some/buildroot/build/directory savedefconfig will generate a minimal 'defconfig' file in the main Buildroot source directory. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-09-01Factorize environment variables for config utilitiesThomas Petazzoni
Instead of duplicating the definition of KCONFIG_AUTOCONFIG, KCONFIG_AUTOHEADER and BUILDROOT_CONFIG, let's define them in a COMMON_CONFIG_ENV variable, which is used by all the xconfig, gconfig, menuconfig, nconfig, config, oldconfig, randconfig, allyesconfig, allnoconfig, randpackageconfig, allyespackageconfig, allnopackageconfig, defconfig, %_defconfig targets. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-09-01Makefile: use long options names for the 'conf' utilityThomas Petazzoni
The short option names have been removed as they were starting to cause too much confusion. See http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=4062f1a4c030157216dc8932e27131975cf7253c for details. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-09-01Remove unnecessary ugly hacks in package/configThomas Petazzoni
Those hacks should not be needed and they even make "mconf" fail to save the configuration file in $(CONFIG_DIR). Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-09-01Add support for the new nconf configuration toolThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-09-01Bump package/config to 2.6.36-rc1Thomas Petazzoni
The goal is to be able to use savedefconfig to generate minimal defconfig files. Four of our patches are removed since the modifications have been merged upstream. The new nconf configuration utility has appeared. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-09-01Clean up our patches against kconfigThomas Petazzoni
Our kconfig-to-buildroot2.patch hasn't been kept up to date with all the changes made into package/config, and a single patch wasn't very practical to maintain all our changes. Therefore, this commit adds a package/config/patches directory, which contains a Quilt series of patches that correspond to our modifications to the kconfig mechanism. The huge kconfig-to-buildroot2.patch has been split into 16 smaller patches. The purpose of some of the modifications has been clearly identified, while some others were not identified. The 16 patches together do match exactly the old kconfig-to-buildroot2.patch. We have been very careful in making sure that we wouldn't loose any of our modifications. The only modifications made are : * Instead of renaming the kernel Makefile to Makefile.kconfig and naming the Buildroot Makefile just 'Makefile', we instead keep the original package/config/Makefile from the kernel scripts/kconfig/Makefile and name the Buildroot Makefile package/config/Makefile.br. The main Buildroot Makefile is modified accordingly. * The documentation README.buildroot2 is updated to explain how to upgrade to a newer version of scripts/kconfig. * The kconfig-language.txt documentation is removed, as anybody can easily find it in the kernel sources so there's no need to duplicate it here. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-09-01Implement %_defconfig similarly to the kernelThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-09-01Remove CONFIG_DEFCONFIGThomas Petazzoni
There's no need to have a .defconfig, when you run make menuconfig, make xconfig or anything else for the first time, it will just start with the default configuration anyway. This is what the kernel does. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-08-30packages/atk: fix MakefileYann E. MORIN
Reported-by: "James J. Dines" <jdines@jdines.net> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-08-30docs/images: optimize small images to speed up page loadingPeter Korsgaard
Remove alpha channel and limit number of colors used. This gets the images down to ~37% of their previous size without any visual degrading (in fact it now looks correctly on ancient IE versions with broken png alpha handling). Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-08-30update for 2010.08-rc22010.08_rc2Peter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-08-30gcc: remove deprecated gcc 4.2.[1-3] versions and unused patchesPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-08-30kismet: fix build when none of client, server or drone are selectedThomas Petazzoni
Random package configuration can trigger the selection of kismet, but neither of client, server or drone suboptions. In this case, the KISMET_TARGET_BINARIES variable is empty, leading to failure during the installation stage. At the same time, we remove the useless stripping of the installed binaries, since this is done globally by the Buildroot infrastructure. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-08-30Add the patch fixing gcc 4.2.4 to gcc 4.2.2Thomas Petazzoni
The patch introduced by commit 1ed2e4fffd0d852e62bc98e92045a132f24c37d8 must also be added to gcc 4.2.2 to let the AVR32 toolchain build properly. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-08-30CHANGES: #2395 is resolvedPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-08-30ncurses: get rid of unused BR2_PACKAGE_NCURSES_TARGET_HEADERS handlingPeter Korsgaard
The option was removed from Config.in in 58508f39c (ncurses: remove dedicated target-headers option), so remove it from the makefile as well. Reported-by: Ian <reg-ian.ridley-buildroot@hydrix.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-08-30pango: needs C++ for freetype handlingPeter Korsgaard
Pango was recently updated to v1.28 as a dependency of webkit, but its freetype support has unfortunately been rewritten with parts in C++ (since pango 1.25), so adjust dependencies of pango and users of it to require C++ support. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-08-29luafilesystems: unbreak builds with largefile supportPeter Korsgaard
A typo was introduced in e6c4ce6c (luafilesystem: remove LARGE_FILE constraint), breaking the build when largefile support was enabled. Reported-by: Marcus Osdoba <marcus.osdoba@googlemail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-08-29initramfs: Don't overwrite $(TARGET_DIR)/init if it existsSimon Pasch
Closes #2443 Allow use of custom init scripts. Signed-off-by: Simon Pasch <fpasch@googlemail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-08-29Makefile: fix source/source-check/external-deps with O=Peter Korsgaard
Based on patch by Will Wagner <will_wagner@carallon.com>. Now that the .config is located in the output directory when O=<dir> is used, we have to pass the O= option to make for source/source-check/external-deps to get them to look in the right place for the .config. Fix it by introducing an EXTRAMAKEARGS variable and use it whenever we call back into the toplevel Makefile. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-08-29pppd.mk installs radattr.so twice and omits radrealms.soDarcy Watkins
In pppd.mk the radattr.so plugin (for radiua) is installed twice (the second install overwriting the first) but the radrealms.so plugin is omitted from the install. This appears to be a copy-paste error. Below is patch that corrects this. signed-off by: Darcy Watkins <dwatkins@tranzeo.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-08-29stunnel: remove broken packagePeter Korsgaard
It doesn't build as there's no dependency on openssl, and it hasn't seen any real updates since it got added in 2006, so simply remove it. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-08-29proftpd: breaks with parallel buildsPeter Korsgaard
The proftpd build system has a race condition, which may break the build with high -j<level> values (libsupp.a isn't built by the time it is needed). Fix it by using MAKE1 instead. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-08-29samba: avahi support needs avahi-daemon / dbusPeter Korsgaard
./configure checks for libavahi-client. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-08-29startup-notification: fix typo in dependencies linePeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-08-29uClibc: fix ppc e500 handlingStanislav Bogatyrev
Closes #2449 Signed-off-by: Stanislav Bogatyrev <bogatyrev_stanislav@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-08-27fs/squashfs: fix endianness typo for squashfs3Stanislav Bogatyrev
Signed-off-by: Stanislav Bogatyrev <bogatyrev_stanislav@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-08-26qt: fix sysroot confusion in ./configurePeter Korsgaard
qt's configure script is getting confused now that we're passing --sysroot= in QMAKE_CC / QMAKE_CXX, causing misdetection of features and runtime breakage. Fix it by passing --sysroot in CFLAGS/CXXFLAGS instead. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-08-25Config.in: mark BR2_CONFIG_CACHE as experimental and disable by defaultPeter Korsgaard
As it is known to break with certain package combinations. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-08-25toolchain/gcc: fix 4.2.4 build after uClibc NTPL support got addedKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-08-25busybox: additional 1.17.1 fixesPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-08-25CHANGES: update with changes from for-2010.08 branchPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-08-25Merge branch 'for-2010.08' of git://git.busybox.net/~tpetazzoni/git/buildrootPeter Korsgaard
2010-08-24sysvinit: remove unneeded dependency on ncursesThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-08-24sysvinit: make sure to link against libcryptThomas Petazzoni
sysvinit Makefile checks if /usr/lib/libcrypt.a exists to determine whether it should link against libcrypt or not. This test fails on distributions such as Fedora, in which /usr/lib/libcrypt.a does not exist (it is in /usr/lib64), but where libcrypt is available on the target. As libcrypt is available in both uClibc and gclibc, we just force sysvinit to link against libcrypt. Fixes bug #2401. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-08-24lua: make sure that CFLAGS are passedThomas Petazzoni
We were passing a custom MYCFLAGS value to Lua's Makefile, but because of $(TARGET_CONFIGURE_OPTS), we were also passing a CFLAGS variable, which was overriding Lua's internal CFLAGS variable. The result was that MYCFLAGS wasn't taken into account. Extracted from the patch proposed by François Perrad in bug #2353. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-08-24luafilesystem: remove LARGE_FILE constraintFrancois Perrad
Add a patch to luafilesystem so that it builds correctly when large files are not supported. This allows to remove the dependency of luafilesystem on large file support on the toolchain. Packages such as cgilua, wsapi and xavante, which depend on luafilesystem, also get their dependency on large file support removed. Fixes bug #2359. Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
2010-08-24Add new upstream Lua patches and rename all patches for consistencyFrancois Perrad
Several new upstream patches against the latest version of Lua have appeared on http://www.lua.org/bugs.html. This commit adds them to Buildroot, and also renames the other patches to have a coherent patch naming: lua-bugX, where X is the identifier of the bug as visible on http://www.lua.org/bugs.html. Note that bug 1 and 2 are not associated with patches, which explains why the first patch is labeled lua-bug3. Fixes bug #2365. Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-08-24libxml-parser-perl/intltool: mark as host only packagesThomas Petazzoni
libxml-parser-perl and intltool were originally added to be built on the host, and we don't support building them on the target. So, let's mark them as such in the configuration, so that a random package configuration does not pick them up. We might later add target support for them. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-08-24netcat: prevent build system from adding a prefix to binariesThomas Petazzoni
Fixes bug #2239. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-08-24Security bump php to 5.2.14Gustavo Zacarias
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
2010-08-24Bump stable kernel headersGustavo Zacarias
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
2010-08-24lzo: fix host-lzo build failure when config cache is filledThomas Petazzoni
When the configuration cache has been filled with a value for ac_cv_host, host-lzo fails to detect the target system name. This is due to misbehaving code in the ./configure script. Therefore, we need to autoreconf the package, which in turn requires : * a little fix to the configure.ac file * a little fix to src/Makefile.am * an extraction of important parts of aclocal.m4 into acinclude.m4 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-08-24libglib2: add patch to rework clock_gettime() testThomas Petazzoni
The test for clock_gettime() in configure.in doesn't work properly when a previous package has loaded the shared configuration cache with informations about the availability of clock_gettime. A package such as ctorrent does so, which means that compiling ctorrent *then* libglib2 currently fails. According to people on the Autoconf mailing list, the libglib2 test is likely the one that needs to be fixed. The problem is that the AC_CHECK_FUNCS() test assumes that if it finds clock_gettime() it means that there's no need to add any -lrt flag to the build. Unfortunately, due to the shared configuration cache, this test is already done with -lrt, so the test succeeds, and libglib2 does not know that it needs to add -lrt to G_THREAD_LIBS and G_THREAD_LIBS_FOR_GTHREAD. So instead, we remplace the test with an AC_SEARCH_LIBS() test, followed by a test on the result of this AC_SEARCH_LIBS() test to add the necessary -lrt to G_THREAD_LIBS and G_THREAD_LIBS_FOR_GTHREAD. Therefore, even if the result for the AC_SEARCH_LIBS() test is cached due to the prior execution ctorrent ./configure script, libglib2 ./configure will properly add -lrt to the appropriate variables. Obviously, as this patch modifies the configure.in file, we enable the autoreconf step for the libglib2 package. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-08-12imagemagick: don't create useless debugging fileThomas Petazzoni
For some reason, the imagemagick Buildroot .mk file creates a "datefile" file in the Buildroot source directory, probably an ancient debugging thing that has been left here for no reason. Let's get rid of it. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-08-11Update busybox 1.17.1 fixesGustavo Zacarias
New shell_common fix and sed fix. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
2010-08-11Prevent C++ + locale + uClibc 0.9.31 + gcc 4.2 to be selectedThomas Petazzoni
The problem fixed by 60f945e47a15e10f0e777f69b05492b6f7ba918d is in fact not limited to the AVR32 architecture, as reported by Will Newton on the list. The issue is the combination uClibc 0.9.31 with gcc 4.2, C++ support and locales. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-08-11Mark CRIS architecture as deprecatedThomas Petazzoni
The CRIS architecture support in Buildroot hasn't been updated since a long time. Even a toolchain with recent kernel headers does not build due to missing patches. Moreover, the CRIS architecture has been discontinued by Axis, as visible at http://www.axis.com/products/dev/index.htm. We will remove it from Buildroot at the next release cycle. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-08-11Add the traditional powerpc-link-with-math-lib patch to gcc 4.4.4Thomas Petazzoni
Patch taken from Crosstool-NG patchset. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>