summaryrefslogtreecommitdiffstats
path: root/platforms
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2018-05-30 20:09:17 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2018-05-30 20:33:56 +0200
commitc553cba4053023bcb51b4a13681a69d484f771a9 (patch)
tree95870d73824a4a94cb458d9255065502383d4dbb /platforms
parent7b294a3ebd724d7a4ad070d4b83ae61c5b55bf10 (diff)
downloadptxdist-c553cba4053023bcb51b4a13681a69d484f771a9.tar.gz
ptxdist-c553cba4053023bcb51b4a13681a69d484f771a9.tar.xz
create image rules for the kernel images
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'platforms')
-rw-r--r--platforms/image-kernel.in (renamed from platforms/image_kernel.in)13
-rw-r--r--platforms/kernel.in1
2 files changed, 7 insertions, 7 deletions
diff --git a/platforms/image_kernel.in b/platforms/image-kernel.in
index df4a6a307..a3ba091a5 100644
--- a/platforms/image_kernel.in
+++ b/platforms/image-kernel.in
@@ -1,20 +1,19 @@
## SECTION=image
-menuconfig IMAGE_KERNEL
+config IMAGE_KERNEL
bool
- prompt "Generate images/linuximage "
- depends on KERNEL
- help
- Install the kernel to "platform-FOO/images/linuximage"
+ default KERNEL
+ select IMAGE_ROOT_CPIO if IMAGE_KERNEL_INITRAMFS
if IMAGE_KERNEL
+menu "Generate images/linuximage "
+
comment "'rootfs in kernel image' is incompatible with 'install kernel into /boot'"
depends on KERNEL_INSTALL
config IMAGE_KERNEL_INITRAMFS
bool
- select IMAGE_ROOT_CPIO
depends on !KERNEL_INSTALL
select IMAGE_KERNEL_INSTALL_LATE
prompt "include root filesystem as initramfs in kernel image"
@@ -44,4 +43,6 @@ config IMAGE_KERNEL_LZOP_EXTRA_ARGS
string
prompt "extra arguments passed to the lzop command"
+endmenu
+
endif
diff --git a/platforms/kernel.in b/platforms/kernel.in
index a03a4fceb..44d09c050 100644
--- a/platforms/kernel.in
+++ b/platforms/kernel.in
@@ -3,7 +3,6 @@
menuconfig KERNEL
bool
default y
- select IMAGE_KERNEL
select HOST_U_BOOT_TOOLS if KERNEL_IMAGE_U || (KERNEL_IMAGE_SIMPLE && ARCH_MICROBLAZE)
select HOST_XZ if KERNEL_XZ
select HOST_LZOP if KERNEL_LZOP