summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* target/device: misc cleanupPeter Korsgaard2010-06-2321-5979/+0
| | | | | | Remove outdated and/or unused variables/files. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* integrator926: use standard uclibc configPeter Korsgaard2010-06-233-242/+2
| | | | | | I don't see any reason to use a custom config here. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* defconfigs: use the default BR2_JLEVEL setting (2)Peter Korsgaard2010-06-239-9/+9
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* module-init-tools: don't build documentationPeter Korsgaard2010-06-232-2/+5
| | | | | | | We don't have docbook2man in buildroot, and the build breaks if you have it on the host, but in an incompatible version (like on my machine). Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Merge branch 'linux-cleanup' of git://git.busybox.net/~tpetazzoni/git/buildrootPeter Korsgaard2010-06-2220-1619/+383
|\ | | | | | | | | Conflicts: target/Makefile.in
| * Remove now unused Config.in for kernel selectionThomas Petazzoni2010-06-221-50/+0
| | | | | | | | | | | | | | It's now linux/Config.in that allows to configure the kernel configuration/compilation. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| * linux: add support for initramfsThomas Petazzoni2010-06-223-1/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In Buildroot, the kernel is built and installed *before* the root filesystems are built. This allows the root filesystem to correctly contain the kernel modules that have been installed. However, in the initramfs case, the root filesystem is part of the kernel. Therefore, the kernel should be built *after* the root filesystem (which, in the initramfs case simply builds a text file listing all files/directories/devices/symlinks that should be part of the initramfs). However, this isn't possible as the initramfs text file would lack all kernel modules. So, the solution choosen here is to keep the normal order: kernel is built before the root filesystem is generated, and to add a little quirk to retrigger a kernel compilation after the root filesystem generation. To do so, we add a ROOTFS_$(FSTYPE)_POST_TARGETS variable to the fs/common.mk infrastructure. This allows individual filesystems to set a target name that we should depend on *after* generating the root filesystem itself (contrary to normal ROOTFS_$(FSTYPE)_DEPENDENCIES, on which we depend *before* generating the root filesystem). The initramfs code in fs/initramfs/initramfs.mk uses this to add a dependency on 'linux26-rebuild-with-initramfs'. In linux/linux.mk, we do various things : * If BR2_TARGET_ROOTFS_INITRAMFS is enabled (i.e if initramfs is enabled as a root filesystem type), then we create an empty rootfs.initramfs file (remember that at this point, the root filesystem hasn't been generated) and we adjust the kernel configuration to include an initramfs. Of course, in the initial kernel build, this initramfs will be empty. * In the linux26-rebuild-with-initramfs target, we retrigger a compilation of the kernel image, after removing the initramfs in the kernel sources to make sure it gets properly rebuilt (we've experienced cases were modifying the rootfs.initramfs file wouldn't retrigger the generation of the initramfs at the kernel level). This is fairly quirky, but initramfs really is a special case, so in one way or another, we need a little quirk to solve its specialness. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| * linux: add support for linux26-{menuconfig,xconfig,gconfig} targetsThomas Petazzoni2010-06-221-2/+6
| | | | | | | | | | | | | | | | | | These targets allow the user to customize the configuration of the Linux kernel. After changing the kernel configuration, the next time the user runs "make", the kernel is rebuilt to take into account the new configuration (not rebuilt from scratch). Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| * linux: adjust kernel config according to the Buildroot configurationThomas Petazzoni2010-06-221-0/+10
| | | | | | | | | | | | | | | | | | We only adjust the configuration or ARM EABI and IPv6. The (more complicated) initramfs case is handled in a separate commit. The user is expected to take care of all other configuration details (like having Netfilter enabled to make iptables work, etc.) Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| * Add generic functions to enable/set/disable options in kconfig filesThomas Petazzoni2010-06-221-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The KCONFIG_ENABLE_OPT, KCONFIG_SET_OPT and KCONFIG_DISABLE_OPT are new make functions to respectively enable, set and disable options in Kconfig-like files (as used by the kernel, uClibc or Busybox). They can be used as follows : $(call KCONFIG_ENABLE_OPT,CONFIG_FOOBAR,/path/to/.config) $(call KCONFIG_SET_OPT,CONFIG_BARFOO,foobar,/path/to/.config) $(call KCONFIG_DISABLE_OPT,CONFIG_FARBOO,/path/to/.config) Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| * linux: Add dependency on host-module-init-toolsThomas Petazzoni2010-06-222-1/+3
| | | | | | | | | | | | | | | | In order to not depend on module init tools being installed on the development environment of the Buildroot user, let's build module init tools for the host. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| * module-init-tools: bump version + convert to autotoolsThomas Petazzoni2010-06-224-159/+57
| | | | | | | | | | | | | | | | | | | | | | | | The "remove-index" patch is no longer needed, the newer version of module-init-tools correctly uses strchr(). The "module-init-tools" patch, whose main purpose was to disable the generation of man pages (it requires docbook2man), is replaced by a simpler implementation, module-init-tools-3.11-add-manpages-config-option.patch. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| * module-init-tools: remove support for cross-depmodThomas Petazzoni2010-06-221-44/+0
| | | | | | | | | | | | | | | | The new infrastructure to build the Linux kernel doesn't use a cross-depmod. This isn't needed with modern module-init-tools that most distros include perfectly handle this. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| * iso9660: take into account the linux changesThomas Petazzoni2010-06-222-6/+6
| | | | | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| * Remove old Linux infrastructureThomas Petazzoni2010-06-227-1360/+0
| | | | | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| * New, simpler, infrastructure for building the Linux kernelThomas Petazzoni2010-06-224-1/+253
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch introduces a single, simple, infrastructure to build the Linux kernel. The configuration is limited to : * Kernel version: a fixed recent stable version, same as kernel headers version (for internal toolchains only), custom stable version, or custom tarball URL * Kernel patch: either a local file, directory or an URL * Kernel configuration: either the name of a defconfig or the location of a custom configuration file * Kernel image: either uImage, bzImage, zImage or vmlinux. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* | target: get rid of unused BR2_COPYTO / BR2_TARGET_ATMEL_COPYTOPeter Korsgaard2010-06-2230-125/+0
| | | | | | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* | package: remove games/Config.inPeter Korsgaard2010-06-221-9/+0
|/ | | | | | Unused since the package menu restructuring. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* docs: Document location of .config for out-of-tree buildsPeter Korsgaard2010-06-212-1/+7
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* docs: fix git-over-http descriptionPeter Korsgaard2010-06-211-1/+6
| | | | | | This has now finally been setup. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Config.in.mirrors: Use sources.buildroot.net as default backup sitePeter Korsgaard2010-06-2125-25/+25
| | | | | | | | | | | The buildroot/busybox/uClibc VM is running low on disk space, and we've been asked to move the source mirrors off-site. A redirect has been setup between the old buildroot.net/downloads/sources/ and sources.buildroot.net, so old .configs continue to work, but we might as well use the official one now. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* check-host-sed.sh: use mktemp for temporary filePeter Korsgaard2010-06-211-4/+5
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* check-lxdialog.sh: use mktemp for temporary filePeter Korsgaard2010-06-211-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package/config: create .depend in object directoryPeter Korsgaard2010-06-211-3/+3
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* kconfig: build in BUILD_DIR/buildroot-configPeter Korsgaard2010-06-213-31/+36
| | | | | | | This way the main buildroot dir can be completely read-only for out-of-tree builds Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Makefile: fix make <blah>_defconfigPeter Korsgaard2010-06-211-1/+5
| | | | | | | | | | | | Make sure we only pass O=<path> if we were originally called like that, otherwise we might end up looking for the .config in the wrong place. Likewise, when changing between using O= or not (or simply running make <blah>_defconfig in a pristine source tree), we do end up having a .config, but no .config.cmd. It isn't really critical so just continue even if we couldn't read it. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* cleanup/simplify kconfig changes for O= buildsPeter Korsgaard2010-06-213-66/+46
| | | | | | No functional change. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Move config files into output directory for out-of-tree buildWill Wagner2010-06-217-116/+178
| | | | | | | Closes #1213 Signed-off-by: Will Wagner <will_wagner@carallon.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* CHANGES: #835 is closedPeter Korsgaard2010-06-181-0/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* ncurses: bump to 5.7Gustavo Zacarias2010-06-182-3/+4
| | | | | | | Closes #2038 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* uClibc: 0.9.31.config: enable UCLIBC_SV4_DEPRECATED optionPeter Korsgaard2010-06-181-1/+1
| | | | | | Needed by xfsprogs. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* ntfsprogs: fix fuse dependencyPeter Korsgaard2010-06-182-0/+46
| | | | | | | | | | | The ntfsprogs configure script would add hardcoded host dirs to the pkg-config search path, confusing configure if libraries were installed on the host and not on the target. At the same time, ensure that fuse is build before ntfsprogs (if enabled), so the fuse support gets built. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* ntfsprogs: disable crypto supportPeter Korsgaard2010-06-182-3/+3
| | | | | | | | The ntfsprogs crypto support requires libgnutls, which we don't have in BR, and the autodetection in configure gets confused when the host has a libcrypt-config. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* squashfs: fix build with uClibcPeter Korsgaard2010-06-172-2/+39
| | | | | | | squashfs used the get_nprocs() GNU extension, instead of directly calling sysconf(), breaking the build on uClibc. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* lrzsz: convert to autotools infrastructurecmchao2010-06-162-56/+19
| | | | | | Signed-off-by: cmchao <cmchao@gmail.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libart: fix staging installGustavo Zacarias2010-06-162-4/+3
| | | | | | | | The libart package had a couple of typos so it never really installed to staging. So fix it. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain: remove gcc 4.1.2 and non-sysroot supportPeter Korsgaard2010-06-1524-4734/+10
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain/gcc: Use 4.3.x like for 4.4, get rid of older 4.3.x versionsPeter Korsgaard2010-06-152-20/+6
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain: bump gcc 4.3.x series to 4.3.5Gustavo Zacarias2010-06-1514-1/+453
| | | | | | | Closes #2065 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Fix potentially conflicting build flagsPaul Jones2010-06-151-1/+2
| | | | | | | | Change the default target optimisation value so it does not conflict with gcc optimization level Signed-off-by: Paul Jones <paul@pauljones.id.au> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* ffmpeg: add user-defined configure parametersLuca Ceresoli2010-06-153-1/+11
| | | | | | | Closes #401 Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* ffmpeg: allow customization of codecs, (de)muxers and other componentsLuca Ceresoli2010-06-142-0/+140
| | | | | | | | | | Add the option to customize the list of decoders, encoders, muxers, demuxers, parsers, protocols, bsfs and filters to be built into ffmpeg, and to compile or exclude input and output devices. [Peter: fix qstrip invocation] Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* ffmpeg: add commandline programsLuca Ceresoli2010-06-143-3/+60
| | | | | Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* ffmpeg: add new packageLuca Ceresoli2010-06-143-0/+98
| | | | | | | [Peter: configure doesn't support --disable-nls / --disable-largefile, needs largefile support in toolchain] Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* at91dataflashboot: fix patch targetPeter Korsgaard2010-06-141-1/+2
| | | | | | | Touch destination file so the patch target isn't rerun for every invocation. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* at91bootstrap: add help textPeter Korsgaard2010-06-141-0/+6
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* CHANGES: update with changes from Thomas' bootloaders-cleanup branchPeter Korsgaard2010-06-141-0/+3
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* at91bootstrap: don't depend on BR .configPeter Korsgaard2010-06-141-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Merge branch 'bootloaders-cleanup' of ↵Peter Korsgaard2010-06-1480-5646/+714
|\ | | | | | | git://git.busybox.net/~tpetazzoni/git/buildroot
| * linux: fix dependency on mkimageThomas Petazzoni2010-06-132-9/+2
| | | | | | | | | | | | | | | | | | | | | | After the rework of the U-Boot configuration/compilation process, we need to slightly rework how target/linux/Makefile.in.advanced depends on mkimage on the host to produce an uImage. target/linux/Makefile.in doesn't need to be fixed as it just doesn't handle this dependency for the moment. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>