summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-06-23Fix u-boot 2010.03 build for AVR32 targetsThiago A. Correa
Signed-off-by: Thiago A. Correa <thiago.correa@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-23target/device: misc cleanupPeter Korsgaard
Remove outdated and/or unused variables/files. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-23integrator926: use standard uclibc configPeter Korsgaard
I don't see any reason to use a custom config here. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-23defconfigs: use the default BR2_JLEVEL setting (2)Peter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-23module-init-tools: don't build documentationPeter Korsgaard
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>
2010-06-22Merge branch 'linux-cleanup' of git://git.busybox.net/~tpetazzoni/git/buildrootPeter Korsgaard
Conflicts: target/Makefile.in
2010-06-22Remove now unused Config.in for kernel selectionThomas Petazzoni
It's now linux/Config.in that allows to configure the kernel configuration/compilation. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-06-22linux: add support for initramfsThomas Petazzoni
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>
2010-06-22linux: add support for linux26-{menuconfig,xconfig,gconfig} targetsThomas Petazzoni
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>
2010-06-22linux: adjust kernel config according to the Buildroot configurationThomas Petazzoni
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>
2010-06-22Add generic functions to enable/set/disable options in kconfig filesThomas Petazzoni
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>
2010-06-22linux: Add dependency on host-module-init-toolsThomas Petazzoni
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>
2010-06-22module-init-tools: bump version + convert to autotoolsThomas Petazzoni
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>
2010-06-22module-init-tools: remove support for cross-depmodThomas Petazzoni
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>
2010-06-22iso9660: take into account the linux changesThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-06-22Remove old Linux infrastructureThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-06-22New, simpler, infrastructure for building the Linux kernelThomas Petazzoni
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>
2010-06-22target: get rid of unused BR2_COPYTO / BR2_TARGET_ATMEL_COPYTOPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-22package: remove games/Config.inPeter Korsgaard
Unused since the package menu restructuring. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-21docs: Document location of .config for out-of-tree buildsPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-21docs: fix git-over-http descriptionPeter Korsgaard
This has now finally been setup. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-21Config.in.mirrors: Use sources.buildroot.net as default backup sitePeter Korsgaard
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>
2010-06-21check-host-sed.sh: use mktemp for temporary filePeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-21check-lxdialog.sh: use mktemp for temporary filePeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-21package/config: create .depend in object directoryPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-21kconfig: build in BUILD_DIR/buildroot-configPeter Korsgaard
This way the main buildroot dir can be completely read-only for out-of-tree builds Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-21Makefile: fix make <blah>_defconfigPeter Korsgaard
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>
2010-06-21cleanup/simplify kconfig changes for O= buildsPeter Korsgaard
No functional change. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-21Move config files into output directory for out-of-tree buildWill Wagner
Closes #1213 Signed-off-by: Will Wagner <will_wagner@carallon.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-18CHANGES: #835 is closedPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-18ncurses: bump to 5.7Gustavo Zacarias
Closes #2038 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-18uClibc: 0.9.31.config: enable UCLIBC_SV4_DEPRECATED optionPeter Korsgaard
Needed by xfsprogs. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-18ntfsprogs: fix fuse dependencyPeter Korsgaard
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>
2010-06-18ntfsprogs: disable crypto supportPeter Korsgaard
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>
2010-06-17squashfs: fix build with uClibcPeter Korsgaard
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>
2010-06-16lrzsz: convert to autotools infrastructurecmchao
Signed-off-by: cmchao <cmchao@gmail.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-16libart: fix staging installGustavo Zacarias
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>
2010-06-15toolchain: remove gcc 4.1.2 and non-sysroot supportPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-15toolchain/gcc: Use 4.3.x like for 4.4, get rid of older 4.3.x versionsPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-15toolchain: bump gcc 4.3.x series to 4.3.5Gustavo Zacarias
Closes #2065 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-15Fix potentially conflicting build flagsPaul Jones
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>
2010-06-15ffmpeg: add user-defined configure parametersLuca Ceresoli
Closes #401 Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-14ffmpeg: allow customization of codecs, (de)muxers and other componentsLuca Ceresoli
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>
2010-06-14ffmpeg: add commandline programsLuca Ceresoli
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-14ffmpeg: add new packageLuca Ceresoli
[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>
2010-06-14at91dataflashboot: fix patch targetPeter Korsgaard
Touch destination file so the patch target isn't rerun for every invocation. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-14at91bootstrap: add help textPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-14CHANGES: update with changes from Thomas' bootloaders-cleanup branchPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-14at91bootstrap: don't depend on BR .configPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-14Merge branch 'bootloaders-cleanup' of ↵Peter Korsgaard
git://git.busybox.net/~tpetazzoni/git/buildroot