diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2013-09-15 10:09:23 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-10-14 15:28:06 +0200 |
commit | 61cf2b51bccbf18c3df505a77db759454e8574ca (patch) | |
tree | 6ab085153d4567d63476cf125d6d9ef620cae258 /scripts/Makefile | |
parent | ef5dac9c2bf7ac7ceb3027d75dadb5c52e633572 (diff) | |
download | barebox-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 'scripts/Makefile')
-rw-r--r-- | scripts/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/Makefile b/scripts/Makefile index 2c43f6682b..ce3fd53366 100644 --- a/scripts/Makefile +++ b/scripts/Makefile @@ -8,6 +8,7 @@ hostprogs-y += bin2c hostprogs-y += mkimage hostprogs-y += fix_size hostprogs-y += bareboxenv +hostprogs-y += kernel-install hostprogs-$(CONFIG_KALLSYMS) += kallsyms hostprogs-$(CONFIG_ARCH_MVEBU) += kwbimage kwboot hostprogs-$(CONFIG_ARCH_NETX) += gen_netx_image @@ -24,6 +25,7 @@ subdir-$(CONFIG_X86) += setupmbr subdir-$(CONFIG_DTC) += dtc targetprogs-$(CONFIG_BAREBOXENV_TARGET) += bareboxenv-target +targetprogs-$(CONFIG_KERNEL_INSTALL_TARGET) += bareboxenv-target # Let clean descend into subdirs subdir- += basic kconfig setupmbr |