From dcd1741912176abaf7d98dbdbc9ac9b54bfce8d4 Mon Sep 17 00:00:00 2001
From: Luka Perkov <luka@openwrt.org>
Date: Mon, 15 Jul 2013 23:18:32 +0000
Subject: [PATCH] Config.in: add options for putting kernel and dtb in rootfs

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37358
---
 Config.in | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/Config.in b/Config.in
index 97aef0f344..33c0f8c8ea 100644
--- a/Config.in
+++ b/Config.in
@@ -139,6 +139,20 @@ menu "Target Images"
 		help
 		  Allows you to change the percentage of reserved blocks in the root filesystem
 
+	config TARGET_ROOTFS_INCLUDE_KERNEL
+		bool "include kernel in rootfs"
+		depends TARGET_ROOTFS_UBIFS || TARGET_ROOTFS_EXT4FS
+		default n if USES_UBIFS
+		help
+		  Include the kernel image in the rootfs
+
+	config TARGET_ROOTFS_INCLUDE_DTB
+		bool "include dtb in rootfs"
+		depends TARGET_ROOTFS_UBIFS || TARGET_ROOTFS_EXT4FS
+		default n if USES_UBIFS
+		help
+		  Include the device tree blob file in the rootfs
+
 endmenu
 
 menu "Global build settings"
-- 
GitLab