summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-11-03Makefile: ignore glib-genmarshal in staging_dirPeter Korsgaard
HOST_GLIB is set to the path that contains the host glib tool set and is used when building packages using glib. The buildroot top level Makefile sets HOST_GLIB using which to find the path where glib-genmarshal is located. The problem is that a cross compiled version of glib-genmarshal is also put in the build_ARCH/staging_dir/usr/bin directory when the package libglib2 is built. This cross compiled version will typically not run on the host system. Fix it by ignoring staging_dir in the which output. Closes #5934 jacmet: fixed to work correctly if it's only found in staging_dir.
2008-11-03External toolchain C++ cross-compiler fixPeter Korsgaard
External toolchain C++ cross-compiler fix package/Makefile.in resets CXX to "" in TARGET_CONFIGURE_OPTS if BR2_GCC_CROSS_CXX is not set to 'y'. However, when using an external toolchain, BR2_GCC_CROSS_CXX is not set even if the toolchain has a C++ cross-compiler. This patch adds a new BR2_GCC_CROSS_CXX option in the external toolchain configuration menu, so that just like BR2_INET_RPC, BR2_INET_IPV6 and the others, it can be set according to the external toolchain configuration. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2008-11-03More external toolchain fixesPeter Korsgaard
Fix issues with binary external toolchains Fix two problems encountered while using an external binary toolchain generated by crosstool-ng: - Don't remove the ending / in LIB_DIR, otherwise find $LIB_DIR -maxdepth 1 doesn't find any file in the case LIB_DIR is a symbolic link and not a directory. For some reason, find -maxdepth 1 doesn't have the same behaviour on directories and symbolic links. Demonstration: $ mkdir foobar $ touch foobar/t1 $ touch foobar/t2 $ ln -s foobar barfoo $ find foobar -maxdepth 1 -name 't*' foobar/t1 foobar/t2 $ find barfoo -maxdepth 1 -name 't*' $ find barfoo/ -maxdepth 1 -name 't*' barfoo/t1 barfoo/t2 * Make sure the libraries are writable, otherwise the strip operation might fail. The library files may not be writable if the toolchain is not writable (which may happen if one wants to prevent anyone from overwriting the toolchain, which is done by crosstool-ng, for example). Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2008-11-03External toolchain support improvementsPeter Korsgaard
Improve external toolchain support * Do not put kernel-headers in the dependencies of BASE_TARGETS in the case where BR2_TOOLCHAIN_SOURCE is not y. The kernel headers are already supposed to be part of the external toolchain, so there's no need to download, extract and install them. * In the configuration system, don't display the kernel headers version selection list when an external toolchain is selected. This is implemented by moving the source "toolchain/kernel-headers/Config.in" inside the if BR2_TOOLCHAIN_SOURCE in toolchain/Config.in.2. * Change the description and help message of the BR2_LARGEFILE, BR2_INET_IPV6, BR2_INET_RPC, and BR2_SOFT_FLOAT option in toolchain/external-toolchain/Config.in. In the case of an external toolchain, the semantic of these options is not to enable large file support, IPV6 or RPC (since the toolchain is already compiled, it has been decided previously). Their semantic is to let Buildroot know about the characteristics of the external toolchain being used. As an improvement, we could guess these values automatically: - for BR2_LARGEFILE, look at the value of __UCLIBC_HAS_LFS__ in bits/uClibc_config.h in the libc headers directory. - for BR2_INET_RPC, look at the value of __UCLIBC_HAS_RPC__ in the same file - for BR2_INET_IPV6, look at the value of __UCLIBC_HAS_IPV6__ in the same file - for BR2_SOFT_FLOAT, look at the output of $(CC) -v 2>&1 | grep -- "--with-float=soft" But I'm not sure how this would be possible, since these values are used at configuration-time by other configuration options, not only at build time. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2008-11-03mkdosfs: cleanup target install handlingPeter Korsgaard
closes #5834.
2008-11-02package/: remove more 'default n' (see r22874)Peter Korsgaard
2008-11-02sdl-image: convert to Makefile.autotools.in formatPeter Korsgaard
2008-11-02libpng: fix Makefile.autotools.in falloutPeter Korsgaard
libpng used to have the 'png' Makefile alias, which some packages used in their dependencies list. With the move to Makefile.autotools.in this is now gone, so update the packages to match.
2008-11-02syslinux: fix download urlPeter Korsgaard
2008-11-02busybox: additional 1.12.1 patchesPeter Korsgaard
2008-11-02Fixes for Qt from Markus HeidelbergArnar Mar Sigurðsson
2008-10-31Update valka targetArnar Mar Sigurðsson
2008-10-31Add options to select what gfx and mouse drivers are compiled in.Arnar Mar Sigurðsson
Note to tslib users: You now have to select the tslib mouse driver to build it.
2008-10-31Fix zlib install broken by previous commit. SorryThiago A. Corrêa
2008-10-31package/lite/lite.mk: Bounce versionDaniel Laird
Bounce version. Signed-off-by: Thomas Petazzoni<> Signed-off-by: Daniel Laird <daniel.j.laird@nxp.com>
2008-10-31pciutils may depend on zlib. Based on Bernhard's git repository.Thiago A. Corrêa
2008-10-31Improve pciutils based on Bernhard Reutner-Fischer's git repository ↵Thiago A. Corrêa
(http://repo.or.cz/w/buildroot.git?a=tree;f=package/pciutils;hb=HEAD). Thanks
2008-10-31Make sure directories are created during install to STAGING_DIR and ↵Thiago A. Corrêa
TARGET_DIR. Thanks to Thomas Petazzoni and Bernhard Reutner-Fischer.
2008-10-31Fix bug #0005884 - pciutils depends on zlibThiago A. Corrêa
2008-10-31Minor cleanups. Use touch for stamp-filesThiago A. Corrêa
2008-10-31fix wrong variable name for SQL. Signed-off-by: Markus Heidelberg ↵Thiago A. Corrêa
<markus.heidelberg@web.de>
2008-10-31Bump ntp versionArnar Mar Sigurðsson
2008-10-312 gcc patches from Atmel's buildrootArnar Mar Sigurðsson
2008-10-30python: add $(STAGING_DIR)/usr/lib to PYTHON_MODULES_LIB so thatWade Berrier
modules build correctly (particularly readline)
2008-10-30linux: skip installing modules if modules are disabled in kernel configHans-Christian Egtvedt
This patch will check if CONFIG_MODULES is set in the kernel .config, if not yes then it will skip installing the modules. Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-10-30linux: make touch also create the dependency file when installing modulesHans-Christian Egtvedt
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-10-30linux: fix typo in status printoutHans-Christian Egtvedt
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-10-30linux: add probing for kernel version when installing modulesHans-Christian Egtvedt
This patch will ask the kernel for the specific version before doing modules_install, that way Buildroot will know which directories to remove and what parameters to use for depmod. Needed when compiling a kernel grabbed from GIT or vendor specific releases. Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-10-29qtopia4: fix wrong compilation of qmakePeter Korsgaard
Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
2008-10-29package/libpng/libpng.mk: Change to autotools.in formatDaniel Laird
Move libpng into the new era..... Signed-off-by: Daniel Laird <daniel.j.laird@nxp.com>
2008-10-29bind: use strchr() instead of index()Peter Korsgaard
2008-10-28qtopia4: fix adjustment of qmake.confPeter Korsgaard
Extend the regexp to match spaces and also tabs to replace the qmake variables with the proper buildroot values. Also use TARGET_AR and TARGET_STRIP instead of using TARGET_CROSS and set a variable for qmake.conf to shorten the command line. Patch by Markus Heidelberg
2008-10-28qtopia4: fix use of pkg-configPeter Korsgaard
When cross compiling, Qt sets PKG_CONFIG in its own configure script to an empty string. That leads to not using pkg-config. To avoid that, use the configure option -force-pkg-config. Also set environment variables for pkg-config defined in TARGET_CONFIGURE_OPTS. Patch by Markus Heidelberg. See http://buildroot.uclibc.org/lists/buildroot/2008-October/011324.html for more details.
2008-10-27Fix matchbox buildPeter Korsgaard
Fix matchbox build This patch fixes various failures in the Matchbox build: * libmatchbox and matchbox-panel were using a now legacy index() function, which is not part of every uClibc build nowadays (depending on the configuration). As this function doesn't exist anymore in all builds, use strchr() instead, which is the recommended replacement for index(). Two patches, one for libmatchbox, one for matchbox-panel, are added to fix this problem. Closes bug http://bugs.uclibc.org/view.php?id=5484 * Do not override the CFLAGS and LDFLAGS values, they are already set by TARGET_CONFIGURE_OPTS. It caused build failures. * Mangle the library paths in the .la file of libmatchbox, after installation in the staging dir. It would probably be nice to switch Matchbox over to the new Makefile.autotools.in. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2008-10-27Strip gettext libraries on the targetPeter Korsgaard
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2008-10-27Strip libgtk2 in the targetPeter Korsgaard
Rely on the sane default values of Makefile.autotools.in for the staging and target installs. The immediate benefit is that the target install will use install-strip instead of install, leading to a quite nice size reduction in the libraries. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2008-10-27Strip pango libraries on the targetPeter Korsgaard
Use the predefined INSTALL_STAGING_OPT and INSTALL_TARGET_OPT behaviour of Makefile.autotools.in, so that installation on the target is done using install-strip. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2008-10-27Fix strange problems in pango configure targetPeter Korsgaard
The configure target of pango had strange characters in it, preventing compilation to work. Remove them, they just seem to be mistakes. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2008-10-26libglib2: remove $(DISABLE_NLS) from configure optionsPeter Korsgaard
The configure option --disable-nls is not supported anymore in glib since version 2.0, see file ChangeLog.pre-2-0 line 544. Patch by Markus Heidelberg.
2008-10-26libglib2: remove redundant configure argsPeter Korsgaard
Patch by Markus Heidelberg.
2008-10-26package: remove redundant pkg-config variablesPeter Korsgaard
Also remove some redundant or predefined configure/make args in these packages. Patch by Markus Heidelberg.
2008-10-26vim: add TARGET_CONFIGURE_OPTSPeter Korsgaard
Patch by Markus Heidelberg.
2008-10-26docker: requires pkgconfig, glib2 and X11Peter Korsgaard
2008-10-26docker: strip on target installPeter Korsgaard
2008-10-26docker: s/PKGCONFIG/PKG_CONFIG/ to be consistentPeter Korsgaard
Patch by Markus Heidelberg.
2008-10-26toolhain/: confgure: respect quiet optionPeter Korsgaard
2008-10-26package: cleanup PKG_CONFIG_SYSROOTPeter Korsgaard
PKG_CONFIG_SYSROOT_DIR and friends get set in package/Makefile.in, so there's no need to set it in the makefiles of the individual packages as well. Based on a patch by Markus Heidelberg.
2008-10-26qtopia4: reduce the use of BR2_PACKAGE_QTOPIA4Peter Korsgaard
Use one conditional if statement instead of several single "depends on". Patch by Markus Heidelberg. Cleaned up trailing white space while we're at it.
2008-10-24kernel-headers: bump 2.6.25, 2.6.26 and 2.6.27 minor versionsPeter Korsgaard
2008-10-23lsof: bump versionPeter Korsgaard
Reported by Mark McLaurin.