summaryrefslogtreecommitdiffstats
path: root/linux
Commit message (Collapse)AuthorAgeFilesLines
* linux: bump default to kernel version 3.3.3Gustavo Zacarias2012-04-291-2/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: bump default kernel versionPeter Korsgaard2012-04-021-2/+2
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Enable cgroups in Linux if we use systemdMaxime Ripard2012-04-021-0/+2
| | | | | Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux.mk: .ub-File copying after building initramfsMarkus Kaindl2012-03-211-1/+1
| | | | | | | | test should exit with Exit-Code 0 if no .ub-File present and copy the file if Exit-Code 1, otherwise make fails Signed-off-by: Markus Kaindl <markus.kaindl@stusta.mhn.de> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: add 3.3.x stable versionGustavo Zacarias2012-03-191-4/+4
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Microblaze: build kernel with device treeStephan Hoffmann2012-03-182-0/+24
| | | | | | | | | | | | | This patch adds the options needed to build the SimpleImage containing the device tree structure needed for the Microblaze architecture. Handling Device Tree and SimpleImage will be handled in a general way in the future. I provide this patch to be able to build the system in the meantime. Signed-off-by: Stephan Hoffmann <sho@relinux.de> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* DOWNLOAD: change $1=DIRECTORY_URL, $2=FILE_NAME to $1=FULL_FILE_URL, ↵Alvaro G. M2012-03-181-1/+1
| | | | | | | | | | | | | | | | | | | | | $2=FILE_NAME This modifies the definition of DOWNLOAD to receive two arguments: the first one is the full URL of the file to download, whereas the second (and optional) is the name the file will have once downloaded. Same thing with the SOURCE_CHECK_WGET and SCP functions. All calls to these functions have been changed to the shortest form of the new API, except for toolchains acquisition. Since there is quite a number of different toolchains this call to DOWNLOAD is better set to the generic one. Signed-off-by: Alvaro G. M <alvaro.gamez@hazent.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Tested-by: Stephan Hoffmann <sho@relinux.de> Downloading Microblaze LE toolchain works on a clean install Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* atngw100_defconfig: drop atomic64_t patch as it is now upstreamPeter Korsgaard2012-03-131-33/+0
| | | | | | Since 3.2.10. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: bump 3.2.x stable versionPeter Korsgaard2012-03-131-2/+2
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* avr32/defconfig: use current stable kernel instead of the old 2.6.35Jean-Christophe PLAGNIOL-VILLARD2012-03-121-0/+33
| | | | | | | Drop the patch for kernel >= 3.3 Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: bump 3.2.x stable versionPeter Korsgaard2012-02-141-2/+2
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: drop LZMA environment variablePeter Korsgaard2012-02-101-1/+0
| | | | | | Not used anymore. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: bump 3.2.x stable versionPeter Korsgaard2012-02-091-2/+2
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: bump 3.2.x stable versionPeter Korsgaard2012-02-061-2/+2
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: use the depmod built in HOST_DIRThomas Petazzoni2012-01-311-1/+2
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: bump default 3.2.x stable versionPeter Korsgaard2012-01-261-2/+2
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: remove default for custom kernel versionArnout Vandecappelle (Essensium/Mind)2012-01-161-1/+0
| | | | | | | | | There already is a default kernel version, so it makes little sense to have a default custom kernel version as well. This default breaks the 'make savedefconfig' if we want to force a specific version. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: update stable kernel to version 3.2.1Gustavo Zacarias2012-01-131-3/+3
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* xenomai: mention which kernel versions are supportedThomas Petazzoni2012-01-071-0/+6
| | | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* xenomai: restrict to the set of supported architecturesThomas Petazzoni2012-01-071-0/+2
| | | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: update stable kernel to version 3.2Gustavo Zacarias2012-01-061-5/+5
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: update stable kernel to 3.1.6Sven Neumann2012-01-021-3/+3
| | | | | Signed-off-by: Sven Neumann <s.neumann@raumfeld.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: update stable kernel to 3.1.5Sven Neumann2011-12-111-3/+3
| | | | | Signed-off-by: Sven Neumann <s.neumann@raumfeld.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: update stable kernel to 3.1.4Peter Korsgaard2011-11-291-3/+3
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: update stable kernel to 3.1.3Sven Neumann2011-11-271-3/+3
| | | | | Signed-off-by: Sven Neumann <s.neumann@raumfeld.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: update stable kernel to 3.1.2Gustavo Zacarias2011-11-221-3/+3
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: make vmlinux target available to all architecturesThomas De Schampheleire2011-11-141-1/+0
| | | | | | | | | | | | | The 'vmlinux' target in the linux build directory is a generic target. It may not be directly bootable for all architectures, but for projects where a custom bootloader is used, it can be of value. Previously, this target was only available for mips architectures. This patch removes this restriction. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: update stable kernel version to 3.1.1Sven Neumann2011-11-141-3/+3
| | | | | Signed-off-by: Sven Neumann <s.neumann@raumfeld.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: add linux-update-config and linux-update-defconfig targetsThomas De Schampheleire2011-11-111-0/+11
| | | | | | | | | | | | | | In analogy to build targets uclibc-update and busybox-update, add extra targets to copy the current configuration to the custom configuration file set in buildroot. These targets facilitate the work of developers adding support for a specific board. linux-update-config copies .config directly. linux-update-defconfig first creates a defconfig and copies that. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Add vmlinuz support in Kernel binary format for MIPS.Kelvin Cheung2011-10-282-0/+8
| | | | | | Signed-off-by: Kelvin Cheung <keguang.zhang@gmail.com> Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: vmlinux target is valid for powerpc tooGustavo Zacarias2011-10-251-1/+1
| | | | | | | | The vmlinux kernel target is valid for powerpc kernels too. In fact this broke the qemu sample config. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: bump default kernel to version 3.1Gustavo Zacarias2011-10-242-8/+10
| | | | | | | | Bump default kernel vesion to 3.1 to match headers. Also implement downloads for 3.x series kernels. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: remove useless arguments from GENTARGETSThomas Petazzoni2011-09-291-1/+1
| | | | | | | | | | Thanks to the pkgparentdir and pkgname functions, we can rewrite the GENTARGETS macro in a way that avoids the need for each package to repeat its name and the directory in which it is present. [Peter: pkgdir->pkgparentdir] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* fs/initramfs: refactor with fs/cpioArnout Vandecappelle (Essensium/Mind)2011-09-271-10/+7
| | | | | | | | | | An initramfs is in fact the same as a cpio archive, but embedded in the kernel. So instead of duplicating the cpio infrastructure, we can simply build images/rootfs.cpio and link that into the kernel. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* rtai: fix path to apply-patchesThomas Petazzoni2011-09-201-2/+2
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* rtai, xenomai: use the pre patch hook pointThomas Petazzoni2011-09-202-2/+2
| | | | | | | | | | | | | The post extract hook point is not really correct as what RTAI and Xenomai extensions are doing is patching the kernel. The post patch hook point doesn't work, because RTAI and Xenomai patches would be applied *after* all other patches, while it sounds more logical to apply them first, and *then* allow the user to apply some platform/board specific patches if needed. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Add support for the RTAI real-time extensionThomas Petazzoni2011-09-182-0/+60
| | | | | | [Peter: fix rtai Config.in] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Add xenomai real-time Framework to buildrootThomas De Schampheleire2011-09-182-0/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [Fixes by Thomas, including comments from Arnout: * Use AUTOTARGETS instead of GENTARGETS * Use $(KERNEL_ARCH) instead of $(BR2_ARCH) as argument to the prepare-kernel.sh script. This allows the arch name to be fixed with the usual sed expressions and the quotes to be stripped. * Add the --verbose option to prepare-kernel.sh. This allows to get some clear error message when no Xenomai patch has been found for the current kernel version. * Improve the help texts as suggested by Arnout, and remove the now useless README file. * Add a BR2_PACKAGE_XENOMAI_SMP option, instead of poking inside the kernel configuration to find out whether SMP is enabled or not. This cannot work because: 1) the kernel might be built outside of Buildroot and 2) if the kernel is built inside Buildroot, it is built *after* Xenomai, so the kernel configuration file is typically not yet present. * Simplify the ARM subarchitecture selection as suggested by Arnout. * Remove the documentation and development files according to Buildroot standards (using BR2_HAVE_DOCUMENTATION and BR2_HAVE_DEVFILES). * Simplify the /etc/ld.so.conf modification logic. ] [Peter: whitespace fixes] Signed-off-by: Benoit Mauduit <benoit.mauduit@openwide.fr> Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: Add Linux Kernel extensions menuThomas De Schampheleire2011-09-183-0/+9
| | | | | | | | | | | | | Add a kernel sub-menu (called "Linux Kernel Extensions"), which makes possible to patch it or tweak the kernel build step. * All linux/linux-ext-*.mk files will be read by the make process. * The menu can be customized in "linux/Config.ext.in". [Peter: small fixes] Signed-off-by: Benoit Mauduit <benoit.mauduit@openwide.fr> Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* support: move patch-kernel.sh and rename itThomas Petazzoni2011-09-171-3/+3
| | | | | | | | The name "patch-kernel.sh" is a bit stupid, since this script is used to patch everything in Buildroot, not only kernel trees. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: add linux/linux26-savedefconfig supportJean-Christophe PLAGNIOL-VILLARD2011-08-221-0/+4
| | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: bump 2.6.39.x stable versionPeter Korsgaard2011-08-081-3/+3
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* uboot-tools: add fw_printenv, rename to uboot-toolsPeter Korsgaard2011-07-181-1/+1
| | | | | | | Move fw_printenv / fw_setenv options from the uboot bootloader build to the uboot-mkimage package, and rename it to uboot-tools. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: fix build with release candidatesPeter Korsgaard2011-07-141-1/+1
| | | | | | Fixes *** Recursive variable `LINUX_SITE' references itself Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: add support for 3.x and -rc versionsThomas Petazzoni2011-07-111-1/+10
| | | | | | | | | | | | | | | | | | | The assumption that all kernels are in http://www.kernel.org/pub/linux/kernel/v2.6/ is no longer true: versions 3.x are in separate directories. We now compute the directory name from the major and minor versions of the version provided by the user. This assumes that the 3.1 version will be in a /v3.1/ directory, which we don't know yet because the 3.1 cycle hasn't started yet. At the same time, we add support for the official -rcX versions. Patch tested by compiling 3.0-rc6, which Buildroot has successfully downloaded and built. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: allow specification of a custom Git repository as a sourceThomas Petazzoni2011-07-112-0/+18
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Improve TARGETS handling for bootloaders and kernelThomas Petazzoni2011-07-111-5/+0
| | | | | | | | | | | | | | | | | | As the kernel and bootloaders do not use the normal BR2_PACKAGE_* Kconfig options, their target name was not automatically added to the global TARGETS variable. Each bootloader .mk and the linux.mk had to add their own target manually to TARGETS, and the package infrastructure was making tests on non-existing Kconfig variables. This commit improves the package infrastructure so that it looks at BR2_PACKAGE_<pkg> for packages, BR2_TARGET_<pkg> for bootloaders and at the special BR2_LINUX_KERNEL for the linux package. This allows to simplify a little bit the bootloaders and linux .mk files. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: convert to the GENTARGETS infrastructureThomas Petazzoni2011-07-111-65/+61
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: rename LINUX26 to LINUXThomas Petazzoni2011-07-111-55/+55
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: bump 2.6.39.x stable versionPeter Korsgaard2011-07-101-3/+3
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>