New, simpler, infrastructure for building the Linux kernel
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-04-03 18:46:46 +02:00
|
|
|
menu "Kernel"
|
|
|
|
|
|
|
|
config BR2_LINUX_KERNEL
|
|
|
|
bool "Linux Kernel"
|
|
|
|
help
|
|
|
|
Enable this option if you want to build a Linux kernel for
|
|
|
|
your embedded device
|
|
|
|
|
|
|
|
if BR2_LINUX_KERNEL
|
|
|
|
|
|
|
|
#
|
|
|
|
# Version selection. We provide the choice between:
|
|
|
|
#
|
|
|
|
# 1. A single fairly recent stable kernel version
|
|
|
|
# 2. In case an internal toolchain has been built, the same kernel
|
|
|
|
# version as the kernel headers
|
|
|
|
# 3. A custom stable version
|
|
|
|
# 4. A custom tarball
|
|
|
|
#
|
|
|
|
choice
|
|
|
|
prompt "Kernel version"
|
|
|
|
|
2013-05-06 06:10:55 +02:00
|
|
|
config BR2_LINUX_KERNEL_LATEST_VERSION
|
2014-07-09 22:55:03 +02:00
|
|
|
bool "3.15.5"
|
New, simpler, infrastructure for building the Linux kernel
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-04-03 18:46:46 +02:00
|
|
|
|
|
|
|
config BR2_LINUX_KERNEL_SAME_AS_HEADERS
|
|
|
|
bool "Same as toolchain kernel headers"
|
|
|
|
depends on BR2_TOOLCHAIN_BUILDROOT
|
|
|
|
help
|
|
|
|
This option will re-use the same kernel sources as the one
|
|
|
|
that have been used for the kernel headers of the
|
|
|
|
cross-compiling toolchain. Having the same version for the
|
|
|
|
kernel running on the system and for the kernel headers is
|
|
|
|
not a requirement, but using the same version allows to
|
|
|
|
download only one tarball of the kernel sources.
|
|
|
|
|
|
|
|
config BR2_LINUX_KERNEL_CUSTOM_VERSION
|
|
|
|
bool "Custom version"
|
|
|
|
help
|
2013-09-02 22:07:58 +02:00
|
|
|
This option allows to use a specific official version from
|
|
|
|
kernel.org, like 2.6.x, 2.6.x.y, 3.x.y, ...
|
New, simpler, infrastructure for building the Linux kernel
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-04-03 18:46:46 +02:00
|
|
|
|
2014-01-22 20:35:56 +01:00
|
|
|
Note: you cannot use this option to select a _longterm_ 2.6
|
|
|
|
kernel, because these kernels are not located at the standard
|
|
|
|
URL at kernel.org. Instead, select "Custom tarball" and
|
|
|
|
specify the right URL directly.
|
|
|
|
|
New, simpler, infrastructure for building the Linux kernel
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-04-03 18:46:46 +02:00
|
|
|
config BR2_LINUX_KERNEL_CUSTOM_TARBALL
|
|
|
|
bool "Custom tarball"
|
|
|
|
help
|
|
|
|
This option allows to specify the http or ftp location of a
|
|
|
|
specific kernel source tarball
|
|
|
|
|
2011-07-11 22:46:11 +02:00
|
|
|
config BR2_LINUX_KERNEL_CUSTOM_GIT
|
2013-09-02 22:07:56 +02:00
|
|
|
bool "Custom Git repository"
|
2011-07-11 22:46:11 +02:00
|
|
|
help
|
|
|
|
This option allows Buildroot to get the Linux kernel source
|
|
|
|
code from a Git repository.
|
|
|
|
|
2013-09-02 22:07:54 +02:00
|
|
|
config BR2_LINUX_KERNEL_CUSTOM_HG
|
|
|
|
bool "Custom Mercurial repository"
|
|
|
|
help
|
|
|
|
This option allows Buildroot to get the Linux kernel source
|
|
|
|
code from a Mercurial repository.
|
|
|
|
|
2013-02-23 19:03:30 +01:00
|
|
|
config BR2_LINUX_KERNEL_CUSTOM_LOCAL
|
|
|
|
bool "Local directory"
|
|
|
|
help
|
|
|
|
This option allows Buildroot to get the Linux kernel source
|
|
|
|
code from a local directory.
|
|
|
|
|
New, simpler, infrastructure for building the Linux kernel
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-04-03 18:46:46 +02:00
|
|
|
endchoice
|
|
|
|
|
|
|
|
config BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE
|
|
|
|
string "Kernel version"
|
|
|
|
depends on BR2_LINUX_KERNEL_CUSTOM_VERSION
|
|
|
|
|
|
|
|
config BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION
|
|
|
|
string "URL of custom kernel tarball"
|
|
|
|
depends on BR2_LINUX_KERNEL_CUSTOM_TARBALL
|
|
|
|
|
2013-09-02 22:07:54 +02:00
|
|
|
if BR2_LINUX_KERNEL_CUSTOM_GIT || BR2_LINUX_KERNEL_CUSTOM_HG
|
2011-07-11 22:46:11 +02:00
|
|
|
|
2013-09-02 22:07:54 +02:00
|
|
|
config BR2_LINUX_KERNEL_CUSTOM_REPO_URL
|
|
|
|
string "URL of custom repository"
|
|
|
|
default BR2_LINUX_KERNEL_CUSTOM_GIT_REPO_URL \
|
|
|
|
if BR2_LINUX_KERNEL_CUSTOM_GIT_REPO_URL != "" # legacy
|
|
|
|
|
|
|
|
config BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION
|
|
|
|
string "Custom repository version"
|
|
|
|
default BR2_LINUX_KERNEL_CUSTOM_GIT_VERSION \
|
|
|
|
if BR2_LINUX_KERNEL_CUSTOM_GIT_VERSION != "" # legacy
|
2012-05-10 15:59:46 +02:00
|
|
|
help
|
2013-09-02 22:07:54 +02:00
|
|
|
Revision to use in the typical format used by Git/Mercurial
|
2012-05-10 15:59:46 +02:00
|
|
|
E.G. a sha id, a tag, branch, ..
|
2011-07-11 22:46:11 +02:00
|
|
|
|
2013-09-02 22:07:54 +02:00
|
|
|
endif
|
|
|
|
|
2013-02-23 19:03:30 +01:00
|
|
|
config BR2_LINUX_KERNEL_CUSTOM_LOCAL_PATH
|
|
|
|
string "Path to the local directory"
|
|
|
|
depends on BR2_LINUX_KERNEL_CUSTOM_LOCAL
|
|
|
|
help
|
|
|
|
Path to the local directory with the Linux kernel source code.
|
|
|
|
|
New, simpler, infrastructure for building the Linux kernel
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-04-03 18:46:46 +02:00
|
|
|
config BR2_LINUX_KERNEL_VERSION
|
|
|
|
string
|
2014-07-09 22:55:03 +02:00
|
|
|
default "3.15.5" if BR2_LINUX_KERNEL_LATEST_VERSION
|
New, simpler, infrastructure for building the Linux kernel
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-04-03 18:46:46 +02:00
|
|
|
default BR2_DEFAULT_KERNEL_HEADERS if BR2_LINUX_KERNEL_SAME_AS_HEADERS
|
2013-09-02 22:07:54 +02:00
|
|
|
default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE \
|
|
|
|
if BR2_LINUX_KERNEL_CUSTOM_VERSION
|
New, simpler, infrastructure for building the Linux kernel
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-04-03 18:46:46 +02:00
|
|
|
default "custom" if BR2_LINUX_KERNEL_CUSTOM_TARBALL
|
2013-09-02 22:07:54 +02:00
|
|
|
default BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION \
|
|
|
|
if BR2_LINUX_KERNEL_CUSTOM_GIT || BR2_LINUX_KERNEL_CUSTOM_HG
|
2013-02-23 19:03:30 +01:00
|
|
|
default "custom" if BR2_LINUX_KERNEL_CUSTOM_LOCAL
|
New, simpler, infrastructure for building the Linux kernel
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-04-03 18:46:46 +02:00
|
|
|
|
|
|
|
#
|
|
|
|
# Patch selection
|
|
|
|
#
|
|
|
|
|
|
|
|
config BR2_LINUX_KERNEL_PATCH
|
2010-12-05 21:53:18 +01:00
|
|
|
string "Custom kernel patches"
|
New, simpler, infrastructure for building the Linux kernel
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-04-03 18:46:46 +02:00
|
|
|
help
|
2010-12-05 21:53:18 +01:00
|
|
|
A space-separated list of patches to apply to the
|
|
|
|
kernel. Each patch can be described as an URL, a local file
|
|
|
|
path, or a directory. In the case of a directory, all files
|
|
|
|
matching linux-*.patch in the directory will be applied.
|
New, simpler, infrastructure for building the Linux kernel
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-04-03 18:46:46 +02:00
|
|
|
|
|
|
|
#
|
|
|
|
# Configuration selection
|
|
|
|
#
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "Kernel configuration"
|
|
|
|
default BR2_LINUX_KERNEL_USE_DEFCONFIG
|
|
|
|
|
|
|
|
config BR2_LINUX_KERNEL_USE_DEFCONFIG
|
|
|
|
bool "Using a defconfig"
|
|
|
|
|
|
|
|
config BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG
|
|
|
|
bool "Using a custom config file"
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config BR2_LINUX_KERNEL_DEFCONFIG
|
|
|
|
string "Defconfig name"
|
|
|
|
depends on BR2_LINUX_KERNEL_USE_DEFCONFIG
|
|
|
|
help
|
2013-11-11 17:23:23 +01:00
|
|
|
Name of the kernel defconfig file to use, without the
|
|
|
|
trailing _defconfig. The defconfig is located in
|
|
|
|
arch/<arch>/configs in the kernel tree.
|
New, simpler, infrastructure for building the Linux kernel
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-04-03 18:46:46 +02:00
|
|
|
|
|
|
|
config BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE
|
|
|
|
string "Configuration file path"
|
|
|
|
depends on BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG
|
|
|
|
help
|
|
|
|
Path to the kernel configuration file
|
|
|
|
|
|
|
|
#
|
|
|
|
# Binary format
|
|
|
|
#
|
|
|
|
|
2012-07-30 14:32:46 +02:00
|
|
|
config BR2_LINUX_KERNEL_UBOOT_IMAGE
|
2013-11-11 17:23:23 +01:00
|
|
|
bool
|
2012-07-30 14:32:46 +02:00
|
|
|
|
New, simpler, infrastructure for building the Linux kernel
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-04-03 18:46:46 +02:00
|
|
|
choice
|
|
|
|
prompt "Kernel binary format"
|
|
|
|
|
|
|
|
config BR2_LINUX_KERNEL_UIMAGE
|
|
|
|
bool "uImage"
|
2014-05-09 16:08:42 +02:00
|
|
|
depends on BR2_arc || BR2_arm || BR2_armeb || BR2_bfin || \
|
|
|
|
BR2_powerpc || BR2_avr32 || BR2_sh || BR2_sh64
|
2012-07-30 14:32:46 +02:00
|
|
|
select BR2_LINUX_KERNEL_UBOOT_IMAGE
|
New, simpler, infrastructure for building the Linux kernel
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-04-03 18:46:46 +02:00
|
|
|
|
2012-07-30 14:32:47 +02:00
|
|
|
config BR2_LINUX_KERNEL_APPENDED_UIMAGE
|
|
|
|
bool "uImage with appended DT"
|
|
|
|
depends on BR2_arm || BR2_armeb
|
|
|
|
select BR2_LINUX_KERNEL_DTS_SUPPORT
|
|
|
|
select BR2_LINUX_KERNEL_APPENDED_DTB
|
|
|
|
select BR2_LINUX_KERNEL_UBOOT_IMAGE
|
|
|
|
|
New, simpler, infrastructure for building the Linux kernel
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-04-03 18:46:46 +02:00
|
|
|
config BR2_LINUX_KERNEL_BZIMAGE
|
|
|
|
bool "bzImage"
|
2010-09-01 15:26:24 +02:00
|
|
|
depends on BR2_i386 || BR2_x86_64
|
New, simpler, infrastructure for building the Linux kernel
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-04-03 18:46:46 +02:00
|
|
|
|
|
|
|
config BR2_LINUX_KERNEL_ZIMAGE
|
|
|
|
bool "zImage"
|
2014-05-13 07:28:21 +02:00
|
|
|
depends on BR2_arm || BR2_armeb || BR2_powerpc || \
|
|
|
|
BR2_powerpc64 || BR2_powerpc64le || BR2_sparc || \
|
2012-11-15 04:53:51 +01:00
|
|
|
BR2_sh || BR2_sh64 || BR2_xtensa
|
New, simpler, infrastructure for building the Linux kernel
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-04-03 18:46:46 +02:00
|
|
|
|
2012-07-30 14:32:47 +02:00
|
|
|
config BR2_LINUX_KERNEL_APPENDED_ZIMAGE
|
|
|
|
bool "zImage with appended DT"
|
|
|
|
depends on BR2_arm || BR2_armeb
|
|
|
|
select BR2_LINUX_KERNEL_DTS_SUPPORT
|
|
|
|
select BR2_LINUX_KERNEL_APPENDED_DTB
|
|
|
|
|
2012-07-30 14:32:48 +02:00
|
|
|
config BR2_LINUX_KERNEL_CUIMAGE
|
|
|
|
bool "cuImage"
|
|
|
|
depends on BR2_powerpc
|
|
|
|
select BR2_LINUX_KERNEL_UBOOT_IMAGE
|
|
|
|
select BR2_LINUX_KERNEL_DTS_SUPPORT
|
|
|
|
select BR2_LINUX_KERNEL_DTB_IS_SELF_BUILT
|
|
|
|
|
|
|
|
config BR2_LINUX_KERNEL_SIMPLEIMAGE
|
|
|
|
bool "simpleImage"
|
|
|
|
depends on BR2_microblaze
|
|
|
|
select BR2_LINUX_KERNEL_UBOOT_IMAGE
|
|
|
|
select BR2_LINUX_KERNEL_DTS_SUPPORT
|
|
|
|
select BR2_LINUX_KERNEL_DTB_IS_SELF_BUILT
|
|
|
|
|
|
|
|
config BR2_LINUX_KERNEL_LINUX_BIN
|
|
|
|
bool "linux.bin"
|
|
|
|
depends on BR2_microblaze
|
|
|
|
select BR2_LINUX_KERNEL_UBOOT_IMAGE
|
|
|
|
|
2010-09-01 15:26:24 +02:00
|
|
|
config BR2_LINUX_KERNEL_VMLINUX_BIN
|
|
|
|
bool "vmlinux.bin"
|
|
|
|
depends on BR2_mips || BR2_mipsel || BR2_sh || BR2_sh64
|
New, simpler, infrastructure for building the Linux kernel
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-04-03 18:46:46 +02:00
|
|
|
|
2010-12-05 21:53:23 +01:00
|
|
|
config BR2_LINUX_KERNEL_VMLINUX
|
|
|
|
bool "vmlinux"
|
|
|
|
|
2011-09-20 11:01:26 +02:00
|
|
|
config BR2_LINUX_KERNEL_VMLINUZ
|
|
|
|
bool "vmlinuz"
|
|
|
|
depends on BR2_mips || BR2_mipsel
|
|
|
|
|
2011-03-21 18:39:43 +01:00
|
|
|
config BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM
|
|
|
|
bool "custom target"
|
|
|
|
help
|
|
|
|
For certain cases a board-specific target image must be
|
|
|
|
used. For example, on powerPC where the OpenFirmware
|
|
|
|
description is attached in a board-specific kernel image
|
|
|
|
target like 'cuImage.mpc8379_rdb'.
|
|
|
|
|
|
|
|
Select this option and specify the make target in "Kernel
|
|
|
|
image target name".
|
|
|
|
|
New, simpler, infrastructure for building the Linux kernel
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-04-03 18:46:46 +02:00
|
|
|
endchoice
|
|
|
|
|
2011-03-21 18:39:43 +01:00
|
|
|
config BR2_LINUX_KERNEL_IMAGE_TARGET_NAME
|
|
|
|
string "Kernel image target name"
|
|
|
|
depends on BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM
|
|
|
|
help
|
|
|
|
Specify the kernel make target to build the kernel that you
|
|
|
|
need.
|
|
|
|
|
2014-07-11 14:49:22 +02:00
|
|
|
config BR2_LINUX_KERNEL_IMAGE_NAME
|
|
|
|
string "Kernel image name"
|
|
|
|
depends on BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM
|
|
|
|
help
|
|
|
|
The filename of the kernel image, if it is different from the
|
|
|
|
make target (above). Only Xtensa uses a filename different from
|
|
|
|
the make target. Defaults to BR2_LINUX_KERNEL_IMAGE_TARGET_NAME.
|
|
|
|
|
|
|
|
If unsure, leave it empty.
|
|
|
|
|
2013-03-13 12:13:24 +01:00
|
|
|
config BR2_LINUX_KERNEL_UIMAGE_LOADADDR
|
|
|
|
string "load address (for 3.7+ multi-platform image)"
|
|
|
|
depends on BR2_arm || BR2_armeb
|
|
|
|
depends on BR2_LINUX_KERNEL_UIMAGE || BR2_LINUX_KERNEL_APPENDED_UIMAGE
|
|
|
|
help
|
|
|
|
If your ARM system's Linux kernel is configured with the new (3.7+)
|
|
|
|
multi-architecture support (CONFIG_ARCH_MULTIPLATFORM=y in your
|
|
|
|
kernel config), then it is necessary to specify a kernel load address
|
|
|
|
when building the uImage. This should be a hexadecimal string
|
|
|
|
beginning with 0x, for example: 0x00008000.
|
|
|
|
|
|
|
|
If unsure, let this option empty.
|
|
|
|
|
2012-07-30 14:32:45 +02:00
|
|
|
config BR2_LINUX_KERNEL_DTS_SUPPORT
|
|
|
|
bool "Device tree support"
|
|
|
|
help
|
|
|
|
Compile a device tree source into a device tree blob.
|
|
|
|
Select the dts file to compile in the options below.
|
|
|
|
|
|
|
|
if BR2_LINUX_KERNEL_DTS_SUPPORT
|
|
|
|
|
2012-07-30 14:32:47 +02:00
|
|
|
# We have mainly three cases when it comes to device tree support:
|
|
|
|
# 1) We don't want any support at all. Then the ..DTS_SUPPORT
|
|
|
|
# variable won't be set
|
|
|
|
# 2) We want device tree support, so we need the user to enter
|
|
|
|
# the device tree name or the the path to the custom device
|
|
|
|
# he uses, but the kernel abstracts this from us and only
|
|
|
|
# build an image that looks like a regular kernel image. In
|
|
|
|
# this case, we only need to derive the kernel image name from
|
|
|
|
# the given device tree name, and all the rest is as usual
|
|
|
|
# 3) We want device tree support, but the kernel requires us to
|
|
|
|
# build the device tree blob separately. In this case, some
|
|
|
|
# more logic will be needed.
|
|
|
|
# The variable below address the second case, were you only want
|
|
|
|
# limited actions from buildroot.
|
|
|
|
config BR2_LINUX_KERNEL_DTB_IS_SELF_BUILT
|
|
|
|
bool
|
|
|
|
|
|
|
|
config BR2_LINUX_KERNEL_APPENDED_DTB
|
|
|
|
bool
|
|
|
|
|
2012-07-30 14:32:45 +02:00
|
|
|
choice
|
|
|
|
prompt "Device tree source"
|
|
|
|
default BR2_LINUX_KERNEL_USE_INTREE_DTS
|
|
|
|
|
|
|
|
config BR2_LINUX_KERNEL_USE_INTREE_DTS
|
|
|
|
bool "Use a device tree present in the kernel."
|
|
|
|
help
|
2013-11-11 17:23:23 +01:00
|
|
|
Use a device tree source distributed with
|
|
|
|
the kernel sources. The dts files are located
|
|
|
|
in the arch/<arch>/boot/dts folder.
|
2012-07-30 14:32:45 +02:00
|
|
|
|
|
|
|
config BR2_LINUX_KERNEL_USE_CUSTOM_DTS
|
|
|
|
bool "Use a custom device tree file"
|
|
|
|
help
|
|
|
|
Use a custom device tree file, i.e, a device
|
|
|
|
tree file that does not belong to the kernel
|
|
|
|
source tree.
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config BR2_LINUX_KERNEL_INTREE_DTS_NAME
|
2012-12-19 23:48:09 +01:00
|
|
|
string "Device Tree Source file names"
|
2012-07-30 14:32:45 +02:00
|
|
|
depends on BR2_LINUX_KERNEL_USE_INTREE_DTS
|
|
|
|
help
|
2013-11-11 17:23:23 +01:00
|
|
|
Name of the device tree source file, without
|
|
|
|
the trailing .dts. You can provide a list of
|
|
|
|
dts files to build, separated by spaces.
|
2012-07-30 14:32:45 +02:00
|
|
|
|
|
|
|
config BR2_LINUX_KERNEL_CUSTOM_DTS_PATH
|
|
|
|
string "Device Tree Source file path"
|
|
|
|
depends on BR2_LINUX_KERNEL_USE_CUSTOM_DTS
|
|
|
|
help
|
|
|
|
Path to the device tree source file
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
2011-07-05 21:53:54 +02:00
|
|
|
config BR2_LINUX_KERNEL_INSTALL_TARGET
|
|
|
|
bool "Install kernel image to /boot in target"
|
|
|
|
depends on !BR2_TARGET_ROOTFS_INITRAMFS
|
|
|
|
help
|
|
|
|
Select this option to have the kernel image installed to
|
|
|
|
/boot in the target root filesystem, as is typically done on
|
|
|
|
x86/x86_64 systems.
|
|
|
|
|
2013-08-01 18:07:14 +02:00
|
|
|
Note that this option also installs the Device Tree Blobs to
|
|
|
|
/boot if DTBs have been generated by the kernel build
|
|
|
|
process.
|
2011-09-17 22:22:51 +02:00
|
|
|
|
|
|
|
# Linux extensions
|
|
|
|
source "linux/Config.ext.in"
|
|
|
|
|
New, simpler, infrastructure for building the Linux kernel
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-04-03 18:46:46 +02:00
|
|
|
endif # BR2_LINUX_KERNEL
|
|
|
|
|
|
|
|
endmenu
|