Skip to content

Commit

Permalink
build: add menuconfig option for building FIT images
Browse files Browse the repository at this point in the history
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38431
  • Loading branch information
lperkov committed Oct 16, 2013
1 parent acdb0ac commit cc1b164
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Config.in
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions scripts/metadata.pl
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ (@)
/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";
Expand Down
3 changes: 3 additions & 0 deletions target/Config.in
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ config USES_CPIOGZ
config USES_UBIFS
bool

config USES_FIT
bool

config PROFILE_KCONFIG
bool

Expand Down

0 comments on commit cc1b164

Please sign in to comment.