build: add menuconfig option for building FIT images

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

SVN-Revision: 38431
master
Luka Perkov 11 years ago
parent acdb0ac35c
commit cc1b164634
  1. 9
      Config.in
  2. 1
      scripts/metadata.pl
  3. 3
      target/Config.in

@ -189,6 +189,15 @@ menu "Target Images"
Include the device tree blob file(s) in the rootfs. Typically the DTBs Include the device tree blob file(s) in the rootfs. Typically the DTBs
are placed below /boot. 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 endmenu
menu "Global build settings" menu "Global build settings"

@ -172,6 +172,7 @@ sub target_config_features(@) {
/targz/ and $ret .= "\tselect USES_TARGZ\n"; /targz/ and $ret .= "\tselect USES_TARGZ\n";
/cpiogz/ and $ret .= "\tselect USES_CPIOGZ\n"; /cpiogz/ and $ret .= "\tselect USES_CPIOGZ\n";
/ubifs/ and $ret .= "\tselect USES_UBIFS\n"; /ubifs/ and $ret .= "\tselect USES_UBIFS\n";
/fit/ and $ret .= "\tselect USES_FIT\n";
/fpu/ and $ret .= "\tselect HAS_FPU\n"; /fpu/ and $ret .= "\tselect HAS_FPU\n";
/spe_fpu/ and $ret .= "\tselect HAS_SPE_FPU\n"; /spe_fpu/ and $ret .= "\tselect HAS_SPE_FPU\n";
/ramdisk/ and $ret .= "\tselect USES_INITRAMFS\n"; /ramdisk/ and $ret .= "\tselect USES_INITRAMFS\n";

@ -63,6 +63,9 @@ config USES_CPIOGZ
config USES_UBIFS config USES_UBIFS
bool bool
config USES_FIT
bool
config PROFILE_KCONFIG config PROFILE_KCONFIG
bool bool

Loading…
Cancel
Save