aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* target: support generic getty with sysvinit inittabsGravatar Thomas Petazzoni2010-12-141-2/+12
| | | | | | | | | | In sysvinit inittab the "id" field (first field) must be no longer than 4 bytes, and is not used by init to determine the output terminal. Therefore, we adjust the strategy used to modify the inittab file according to the getty configuration. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* sysvint: convert to gentargets and bump to 2.88Gravatar Martin Banky2010-12-144-47/+67
| | | | | | | | | | Also, changed the site to Debian, to get the latest patches [ Thomas: add inittab compatible with sysvinit. Minor fixes. ] Signed-off-by: Martin Banky <Martin.Banky@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* sysklogd: convert to gentargets and bump to 1.5Gravatar Martin Banky2010-12-145-211/+46
| | | | | | | | | | | | Also, changed the site to Debian, to get the latest patches [ Thomas: Minor fixes. Removed S25sysklogd since our default /etc/inittab already starts klogd and sysklogd. ] [Peter: only install syslog.conf if not available in skeleton] Signed-off-by: Martin Banky <Martin.Banky@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* mrouted: convet to gentargets and bump to version 3.9.4Gravatar Martin Banky2010-12-137-254/+111
| | | | | | | | | | | mrouted is once again being actively developed. See http://github.com/troglobit/mrouted [ Thomas: bump to 3.9.4, patches updated, prefix fix. ] Signed-off-by: Martin Banky <Martin.Banky@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* mii-diag: convert to gentargets and bump to 2.11.3Gravatar Martin Banky2010-12-134-52/+29
| | | | | | | | [ Thomas: minor fixes. ] Signed-off-by: Martin Banky <Martin.Banky@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* input-tools: fix jscal build, ensure target dir existsGravatar Peter Korsgaard2010-12-131-9/+11
| | | | | | And at the same time only build enabled applets. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* input-tools: convert to gentargetsGravatar Martin Banky2010-12-133-64/+44
| | | | | | Signed-off-by: Martin Banky <Martin.Banky@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: pass TARGET_MAKE_ENV at install/clean/uninstall stepsGravatar Thomas Petazzoni2010-12-131-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | TARGET_MAKE_ENV contains the PATH to the host tools built in $(HOST_DIR), and not having this directory in the PATH while installing packages may cause troubles. The specific example that trigerred the problem is the following one. libglib2 ./configure tries to find a awk version, either gawk or mawk. On my limited testing system, only mawk is available, so normally, libglib2 detects mawk and uses it, and it works perfectly. However, when host-gawk has been compiled before libglib2 (which happens for example if you have used the Crosstool-NG backend), gawk is well detected in $(HOST_DIR)/usr/bin at ./configure time ($(HOST_DIR)/usr/bin is in the PATH at ./configure time, thanks to TARGET_MAKE_ENV). But at install time, when libglib2 uses gawk, it doesn't find it anymore because it is not in the PATH. This also makes things coherent with host installation, in which $(HOST_MAKE_ENV) was already used. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain: more verbose in crosstool-ng backendGravatar Thomas Petazzoni2010-12-131-4/+4
| | | | | | | | | | | | By default, Crosstool-NG hides all the details of the toolchain build process. However, this is inconsistent with the typical Buildroot build, and the rotating progress thing makes log file resulting from redirecting the Buildroot output a bit unusable. Therefore, switch the Crosstool-NG configuration to a more verbose default. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain: expose thread options in the Crosstool-NG backendGravatar Thomas Petazzoni2010-12-132-0/+57
| | | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain: BR2_NEEDS_GETTEXT must be y when uClibc is usedGravatar Thomas Petazzoni2010-12-131-0/+1
| | | | | | | | | BR2_NEEDS_GETTEXT was already set to y for Buildroot internal toolchain and external toolchains based on uClibc, but wasn't set for toolchains based on uClibC built by the Crosstool-NG backend. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* gcc: disable libgomp when thread support is disabledGravatar Thomas Petazzoni2010-12-131-1/+1
| | | | | | | libgomp needs thread support on the target to build properly. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain: check that the thread option selection is correctGravatar Thomas Petazzoni2010-12-131-1/+2
| | | | | | | | | | | When an external toolchain is used, the user is responsible for telling Buildroot what the configuration of the toolchain is. In order to make sure that the selection is correct, we already perform checks against the configuration of the uClibc in the selected external toolchain. This commit adds the check for thread support. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain: rework thread optionsGravatar Thomas Petazzoni2010-12-1311-48/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | The selection of linuxthreads, linuxthreads old or NPTL doesn't make a lot of sense for external toolchains. So, instead, we : * Introduce an hidden BR2_TOOLCHAIN_HAS_THREADS option, which must be selected by toolchain specific options when thread support is available. Package needing to test thread support should use this option. * Move the none/linuxthreads/linuxthreads old/NPTL selection to Buildroot internal toolchain configuration. * Add an option in external toolchain to tell if thread support is available or not in the external toolchain. We assume that glibc without threads is not possible, as Ulrich Drepper said in http://sourceware.org/ml/libc-alpha/2005-08/msg00091.html ffmpeg, dmalloc and openvpn are fixed to use the new BR2_TOOLCHAIN_HAS_THREADS option. For openvpn, --enable-threads=posix is no longer used, as the configure script doesn't even understand this option. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* ltp-testsuite: bump version and use autotargetsGravatar Thomas Petazzoni2010-12-139-254/+42
| | | | | | | | Reworking ltp-testsuite is needed in order to get rid of some thread-specific options that will be cleaned-up in the next commit. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain: move Stack Protection Support optionGravatar Thomas Petazzoni2010-12-133-10/+10
| | | | | | | | | | The BR2_USE_SSP option is only used inside the uClibc build, so only meaningful for Buildroot internal toolchains. Therefore, the option is moved to the right location so that it isn't visible when working with external toolchains. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain: rework C++ optionsGravatar Thomas Petazzoni2010-12-1310-30/+49
| | | | | | | | | | | | | | | | | | | | | | | | Instead of having BR2_GCC_CROSS_CXX and BR2_INSTALL_LIBSTDCPP, with BR2_GCC_CROSS_CXX not being visible (and therefore being useless), let's just keep BR2_INSTALL_LIBSTDCPP to enable C++ in the toolchain and install C++ libraries on the target. We also take that opportunity to make BR2_INSTALL_LIBSTDCPP an hidden option, which is selected by an option in Buildroot toolchain support or an option in External toolchain support, just as we did for other toolchain features. Some work definitely remains to be done : - The name BR2_INSTALL_LIBSTDCPP is ugly, but we keep it for the moment in order to avoid changing all packages. - We should clarify the other language-related options (Fortran, Java, Objective-C, etc.). 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>
* toolchain: remove toolchain-specific strippingGravatar Thomas Petazzoni2010-12-135-26/+4
| | | | | | | | | | We already handle the stripping of libraries in $(TARGET_DIR) at the global level, so there's no need to have toolchain-specific option and code for this. 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>
* toolchain: add support for external toolchain profiles and downloadGravatar Thomas Petazzoni2010-12-136-98/+315
| | | | | | | | | | | | | | | | | | | Instead of letting the user define all the details of his external toolchain, we define a set of profiles for well-known external toolchains (CodeSourcery ones only at the moment, can easily be extended with other toolchains). Once a profile has been choosen, the user is offered the choice of either letting Buildroot download and install the external toolchain, or (as before) to tell Buildroot where the toolchain is installed on the system. We of course provide a "custom profile", through which the user can configure Buildroot to use a custom external toolchain for which no profile is available. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain: remove ending semi-colon in helpersGravatar Thomas Petazzoni2010-12-131-4/+4
| | | | | | | | | | | Some helpers had their final line ending with a semi-colon, some did not. For consistency, remove the final semi-colon from all helpers, it's the responsability of the caller to add the final semi-colon as needed. 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>
* toolchain: Improve C library option selectionGravatar Thomas Petazzoni2010-12-134-47/+172
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Turn BR2_LARGEFILE, BR2_INET_IPV6, BR2_INET_RPC, BR2_USE_WCHAR, BR2_ENABLE_LOCALE and BR2_PROGRAM_INVOCATION into hidden options. Then, for Buildroot toolchains, external toolchains and Crosstool-NG toolchains, provide visible options that selects the hidden options. This allows : * To show a different label and help text in the case of Buildroot toolchain (do you want to enable feature X ?) and in the case of external toolchain (is feature X available in your toolchain ?) * To not show any option when a glibc external toolchain is selected (since glibc is assumed to support all of largefile, IPv6, RPC, WCHAR, locale and program invocation) and have them all selected in that case. There is some amount of duplication between Buildroot toolchain config options and Crosstool-NG toolchain config options, because kconfig doesn't allow to source the same Config.in file twice (even if under mutually exclusive conditions). This duplication is more readable that the hack that consists in splitting files in multiple pieces. However, this commit changes the name of the options visible in the configuration interface, so existing .config files will have to be updated 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>
* kernel-headers: simplifyGravatar Peter Korsgaard2010-12-132-58/+50
| | | | | | | | Old-style kernel headers got removed almost 2 years ago, so get rid of the seperate kernel-headers-new.makefile file and move the content to the main kernel-headers.mk. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* strip path when untaring kernel for headersGravatar Paulius Zaleckas2010-12-131-2/+3
| | | | | | | | | | | | This is needed when custom/snapshot kernel headers are selected. Buildroot expects to find dl/linux-2.6.tar.bz2 and also expects it to extract to output/toolchain/linux-2.6, but if you tar custom kernel sources directory can be anything, etc. linux-git. In that case buildroot would extract it to output/toolchain/linux-git. So fix this behaviour, by using tar strip-directory/component. Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* New package: fbgrabGravatar Daniel Nyström2010-12-135-1/+51
| | | | | | | | | FBGrab is a framebuffer screenshot program, capturing the linux frambuffer and converting it to a png-picture. [Peter: drop zlib dep, add uninstall] Signed-off-by: Daniel Nyström <daniel.nystrom@timeterminal.se> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* directfb-examples: rework target installation rule to match package ↵Gravatar Lionel Landwerlin2010-12-132-59/+60
| | | | | | | infrastructure Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* bzip2: ensure target directories exist before copying intoGravatar Lionel Landwerlin2010-12-132-2/+4
| | | | | | | | Also simply installation rules a little [Peter: leave in busybox install fix] Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* at: ensure startup script is well installedGravatar Lionel Landwerlin2010-12-132-2/+2
| | | | | | | | In case /etc/init.d does not exist. [Peter: use install -D] Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* pango: ensure startup script is well installedGravatar Lionel Landwerlin2010-12-132-3/+4
| | | | | | | | In case /etc/init.d does not exist. [Peter: use install -D] Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* gdk-pixbuf: ensure startup script is well installedGravatar Lionel Landwerlin2010-12-131-1/+2
| | | | | | | | In case /etc/init.d does not exist. [Peter: use install -D] Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* rsync: avoid using non reevaluated $(TARGET_DIR) in RSYNC_INSTALL_TARGET_OPTGravatar Lionel Landwerlin2010-12-132-10/+11
| | | | | Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* cups: avoid using non reevaluated $(STAGING_DIR)Gravatar Lionel Landwerlin2010-12-132-4/+4
| | | | | Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* sdl_gfx: avoid using non reevaluated $(STAGING_DIR)Gravatar Lionel Landwerlin2010-12-132-4/+5
| | | | | Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* sdl_sound: avoid using non reevaluated $(STAGING_DIR)Gravatar Lionel Landwerlin2010-12-132-6/+7
| | | | | Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* busybox: move udhcp script from skeleton to packageGravatar Lionel Landwerlin2010-12-132-1/+4
| | | | | | | | | Since udhcpc is part of busybox, it seems logical to move the udhcpc script from skeleton to busybox. [Peter: only install if not available in skeleton] Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* udev: ensure startup script is well installedGravatar Lionel Landwerlin2010-12-132-3/+4
| | | | | | | | In case /etc/init.d does not exists. [Peter: use install -D] Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* i2c-tools: ensure binaries are installed in the right placeGravatar Lionel Landwerlin2010-12-132-3/+2
| | | | | | | | And remove unneeded explicit stripping of target binaries [Peter: use install -D] Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* cloop: ensure target directory exist before copying intoGravatar Lionel Landwerlin2010-12-131-3/+4
| | | | | Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* hostapd: ensure hostapd binaries are installed in the right placeGravatar Lionel Landwerlin2010-12-132-6/+7
| | | | | | | | Ensure hostapd and hostapd_cli are installed in /usr/bin/ even if the directory does not exist. Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* dbus: ensure startup script is well installedGravatar Lionel Landwerlin2010-12-132-3/+3
| | | | | | | | If /etc/init.d does not exist, we need to be sure that the dbus startup script is installed at the right place. Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* gdk-pixbuf: fix dependency on libiconvGravatar Lionel Landwerlin2010-12-133-3/+7
| | | | | Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* zlib: really fix install for static only buildsGravatar Peter Korsgaard2010-12-122-1/+25
| | | | | | | | | | Commit ab2f5567c1 (cleanup, fix install for static only build) forgot to add the patch for static only builds, even though the commit message mentioned it. Thanks to Mike for noticing. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: restore DEPMOD usageGravatar Mike Frysinger2010-12-111-1/+1
| | | | | | | | | | | | | The linux.mk rewrite lost the DEPMOD setting while installing modules which means depending on host-module-init-tools has been useless. Instead, the build system has been executing /sbin/depmod. While we're here, drop the INSTALL_MOD_PATH since LINUX26_MAKE_FLAGS already contains it. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libconfig: bump versionGravatar Sagaert Johan2010-12-112-3/+3
| | | | | | [Peter: Don't disable libtool patch] Signed-off-by: Sagaert Johan <sagaert.johan@skynet.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* openssl: security bump to version 1.0.0cGravatar Gustavo Zacarias2010-12-113-19/+3
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* busybox: default to 1.18Gravatar Peter Korsgaard2010-12-111-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* busybox: add 1.18.0 runsvdir fixGravatar Peter Korsgaard2010-12-111-0/+17
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* busybox: add 1.18.0, remove 1.13.x and 1.14.x, mark 1.15.x as deprecatedGravatar Gustavo Zacarias2010-12-115-14/+1134
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: add shorter shortcutsGravatar Mike Frysinger2010-12-113-2/+5
| | | | | | | | | We only have one Linux kernel package, and "linux26-" is an anachronism in today's world. So add useful "linux-%" shortcuts to the "linux26-%". Signed-off-by: Mike Frysinger <vapier@gentoo.org> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: set a few more initramfs opts for newer kernelsGravatar Mike Frysinger2010-12-111-0/+3
| | | | | | | | | | | Building with linux-2.6.36 and initramfs support causes the build to pause while it prompts for newer options (uid/gid/compression). So have the build system inject the newer options into the linux config automatically. Older versions should just ignore these. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain: bump 2.6.32.x / 2.6.36.x stable versionsGravatar Peter Korsgaard2010-12-103-4/+4
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>