diff options
author | luka <luka@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-10-16 21:23:24 +0000 |
---|---|---|
committer | luka <luka@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-10-16 21:23:24 +0000 |
commit | 9e6a80b33b8545507feb2ad7d1d3c488c1ffc6fd (patch) | |
tree | aae4886b62cc5e15ada16e78625839588e577c44 | |
parent | 419f131304feb32ae974888594c3086f71a7c719 (diff) |
build: add menuconfig option for building FIT images
Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38431 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | Config.in | 9 | ||||
-rwxr-xr-x | scripts/metadata.pl | 1 | ||||
-rw-r--r-- | target/Config.in | 3 |
3 files changed, 13 insertions, 0 deletions
@@ -189,6 +189,15 @@ menu "Target Images" Include the device tree blob file(s) in the rootfs. Typically the DTBs are placed below /boot. + comment "Image Type" + + config TARGET_IMAGE_FIT + bool "FIT image with kernel and DTB" + default y if USES_FIT + depends on USES_FIT + help + Create a u-boot FIT image containing kernel and DTB + endmenu menu "Global build settings" diff --git a/scripts/metadata.pl b/scripts/metadata.pl index ddcf50bf32..04fa827c64 100755 --- a/scripts/metadata.pl +++ b/scripts/metadata.pl @@ -172,6 +172,7 @@ sub target_config_features(@) { /targz/ and $ret .= "\tselect USES_TARGZ\n"; /cpiogz/ and $ret .= "\tselect USES_CPIOGZ\n"; /ubifs/ and $ret .= "\tselect USES_UBIFS\n"; + /fit/ and $ret .= "\tselect USES_FIT\n"; /fpu/ and $ret .= "\tselect HAS_FPU\n"; /spe_fpu/ and $ret .= "\tselect HAS_SPE_FPU\n"; /ramdisk/ and $ret .= "\tselect USES_INITRAMFS\n"; diff --git a/target/Config.in b/target/Config.in index 7f694e4c8b..94c10bb34d 100644 --- a/target/Config.in +++ b/target/Config.in @@ -63,6 +63,9 @@ config USES_CPIOGZ config USES_UBIFS bool +config USES_FIT + bool + config PROFILE_KCONFIG bool |