]> code.ossystems Code Review - openembedded-core.git/commit
uboot-config.bbclass: Allow multiple U-Boot config for machine
authorChunrong Guo <B40290@freescale.com>
Thu, 22 Jan 2015 06:27:49 +0000 (14:27 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 7 Feb 2015 13:30:56 +0000 (13:30 +0000)
commitbe997c70e4dec101786978b3ab5e49a1be87a85d
tree82a44ddb24905191e5427940bd0d0a0e1065af93
parenteb9d896db2fc67bac8efd258744d06fbbee87f06
uboot-config.bbclass: Allow multiple U-Boot config for machine

  This adds support to build multiple U-Boot configs for a machine; this
  is useful when we have support for different media boots which require
  different U-Boot configuration (e.g: eMMC and NAND).

  Below there's an usage example:
  ,----[ i.MX6Q SABRE AUTO based example ]
  | UBOOT_CONFIG ??= "sd eimnor nand spinor"
  | UBOOT_CONFIG[sd] = "mx6qsabreauto_config,sdcard"
  | UBOOT_CONFIG[eimnor] = "mx6qsabreauto_eimnor_config"
  | UBOOT_CONFIG[nand] = "mx6qsabreauto_nand_config,ubifs"
  | UBOOT_CONFIG[spinor] = "mx6qsabreauto_spinor_config"
  `----

Signed-off-by: Chunrong Guo <B40290@freescale.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/uboot-config.bbclass