Added flexibility to switch build flavors

Signed-off-by: J. German Rivera <German.Rivera@freescale.com>