summaryrefslogtreecommitdiffstats
path: root/linux
Commit message (Collapse)AuthorAgeFilesLines
...
* 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>
* linux: simplify modules checkPeter Korsgaard2011-07-071-2/+2
| | | | | | No need to mix make and shell code. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: make it possible to install the kernel in /bootThomas Petazzoni2011-07-072-0/+11
| | | | | | [Peter: always copy to output/images as requested by Luca] 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-06-241-3/+3
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: default to 2.6.39.1Peter Korsgaard2011-06-091-5/+5
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: bump 2.6.38.x stable versionPeter Korsgaard2011-05-221-3/+3
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: bump 2.6.38 kernel to 2.6.38.6Gustavo Zacarias2011-05-121-3/+3
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Create menu entry to select device creation methodYegor Yefremov2011-05-091-0/+7
| | | | | | | | | | | | | | | | | | Four methods for the creation of device files in /dev are now proposed: - static method uses device table as before - devtmpfs method enables this feature in kernel - mdev method adds mdev starting script to the file system and selects mdev itself for installation - udev method selects udev for installation All dynamic methods are based on devtmpfs, so one doesn't need to care about /dev folder. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: bump to version 2.6.38.5Gustavo Zacarias2011-05-031-3/+3
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: bump 2.6.38 kernel to 2.6.38.4Gustavo Zacarias2011-04-271-3/+3
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: bump kernel to 2.6.38.3Gustavo Zacarias2011-04-211-3/+3
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: Add support to specify special Kernel Image make targetMartin Hicks2011-04-012-0/+22
| | | | | | | | | | | This is useful for ARCHes like PowerPC that have a whole lot of special targets for each different board. The kernel image target tells make which OpenFirmware machine description file is combined into the kernel binary. [Peter: fix long lines] Signed-Off-By: Martin Hicks <mort@bork.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: use 2.6.38 by defaultPeter Korsgaard2011-03-151-5/+5
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: bump 2.6.37.x stable versionPeter Korsgaard2011-03-151-2/+2
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: bump 2.6.37.x stable versionPeter Korsgaard2011-02-251-2/+2
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* initial support for Blackfin processorsMike Frysinger2011-02-072-1/+6
| | | | | | | [Peter: don't allow MMU on bfin] Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Enable ccache for kernel compileMartin Hicks2011-02-011-1/+1
| | | | | | | Just needed to pass in ccache as a prefix to the CROSS_TARGET variable. Signed-off-by: Martin Hicks <mort@bork.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: add 2.6.37, remove 2.6.36Peter Korsgaard2011-01-061-5/+5
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: fix linux- aliasesPeter Korsgaard2010-12-271-7/+5
| | | | | | | The generic linux-% alias conflicts with the linux-fusion package, so add explicit aliases instead. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: don't force IPv6 configuration in kernelThomas Petazzoni2010-12-221-5/+0
| | | | | | | | | | | | | | | | | | | As per the discussion at http://lists.busybox.net/pipermail/buildroot/2010-December/040030.html, remove the bits that forced the IPv6 configuration in the kernel depending on the toolchain ability to support (or not) IPv6. You may have a toolchain with IPv6 support but still don't want to have IPv6 in your kernel. The only parameters we adjust in the kernel configuration are: * ARM EABI, since we got a lot of bug reports regarding misconfigured kernel compared to the ABI used by userspace applications. * initramfs, since its contents are generated by Buildroot itself Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: fix linux-% shortcut targetsBjørn Forsman2010-12-191-1/+1
| | | | | | | | | | | linux-% shortcut targets (short for linux26-%) ignores the ouput dir $(O) so that 'make O=output.arm linux-menuconfig' is actually run in the default $(O) directory output/ and not in output.arm/. Fix by passing on $(O) if set. [Peter: Use EXTRAMAKEARGS] Signed-off-by: Bjørn Forsman <bjorn.forsman@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: support 'make linux26-nconfig'Bjørn Forsman2010-12-191-1/+1
| | | | | Signed-off-by: Bjørn Forsman <bjorn.forsman@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: add KERNEL_ARCH_PATH to fix x86-specific issueThomas Petazzoni2010-12-171-4/+16
| | | | | | | | | | | | | Both i386 and x86_64 architectures are supported by the arch/x86 directory in the kernel. So, when we copy the kernel configuration file to arch/$(KERNEL_ARCH)/configs/, it does not work because arch/i386 and arch/x86_64 do not exist. So, we introduce KERNEL_ARCH_PATH, which is the path to the architecture specific directory in the kernel source tree. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: add support for ELF vmlinux imageThomas Petazzoni2010-12-172-0/+10
| | | | | | | | | The ELF vmlinux image found at the root of the kernel source tree is the format that Qemu needs when emulating mips(el) or ppc targets, so add support for it. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: support a space-separated list of patchesThomas Petazzoni2010-12-162-16/+16
| | | | | | | | | | | | The kernel being a component that often needs a fairly important set of changes to be adapted to a particular hardware platform, having maximum flexibility on the patching process is a nice thing. Therefore, as per the discussions from the Buildroot Developer Day, we add a mechanism to apply a list of patches (that could come either from URLs, local files or local directories). Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: Import minimal defconfigs as defconfigsThomas Petazzoni2010-12-161-1/+3
| | | | | | | | | | | | | | Now that minimal kernel defconfigs are used in Buildroot, the problem is that copying those minimal configuration files to .config in the kernel source tree does not work, as kconfig will ask interactively what should be the value for all unspecified options. On suggestion on Sam Ravnborg, the easiest way to solve this is to import the minimal defconfig file as a defconfig inside the kernel tree (in arch/$(ARCH)/configs) and configure the kernel with it. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: restore DEPMOD usageMike 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>
* linux: add shorter shortcutsMike Frysinger2010-12-111-0/+3
| | | | | | | | | 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 kernelsMike 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 versionsPeter Korsgaard2010-12-101-2/+2
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: drop LDFLAGS overrideMike Frysinger2010-12-071-1/+0
| | | | | | | | | | The current linux code overrides LDFLAGS that the kernel itself might be setting up. Looking at the history, there doesn't seem to be any reason for this override. It was added in ea8b1fa6a60705 without any logic. 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>