summaryrefslogtreecommitdiffstats
path: root/common/Kconfig
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-09-15 10:09:23 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2013-10-14 15:28:06 +0200
commit61cf2b51bccbf18c3df505a77db759454e8574ca (patch)
tree6ab085153d4567d63476cf125d6d9ef620cae258 /common/Kconfig
parentef5dac9c2bf7ac7ceb3027d75dadb5c52e633572 (diff)
downloadbarebox-61cf2b51bccbf18c3df505a77db759454e8574ca.tar.gz
barebox-61cf2b51bccbf18c3df505a77db759454e8574ca.tar.xz
add kernel-install tool for bootloader Spec
This adds a tool for installing kernels according to the bootloader spec. systemd already has a similar tool, but it is limited to installing kernels on the currently running system. The barebox kernel-install tool instead can also be used to install kernels on removable media on a development host for cross development. It is compiled in two variants, as 'kernel-install' for the host and as 'kernel-install-target' using $CROSS_COMPILE. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/Kconfig')
-rw-r--r--common/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig
index dd60ec9a26..ccfbc800b9 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -451,6 +451,14 @@ config BLSPEC
on a device and it allows the Operating System to install / update
kernels.
+config KERNEL_INSTALL_TARGET
+ bool
+ prompt "Build kernel-install utility for the target"
+ help
+ Enable this to compile the kernel-install script using the cross
+ compiler. The utility for the target will be under
+ scripts/kernel-install-target
+
choice
prompt "console support"
default CONSOLE_FULL