1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- /*++
- Copyright (c) 2014 Minoca Corp.
- This file is licensed under the terms of the GNU General Public License
- version 3. Alternative licensing terms are available. Contact
- info@minocacorp.com for details. See the LICENSE file at the root of this
- project for complete licensing information.
- Module Name:
- UEFI
- Abstract:
- This directory builds UEFI firmware images for several platforms.
- Author:
- Evan Green 26-Feb-2014
- Environment:
- Firmware
- --*/
- from menv import group, mconfig;
- function build() {
- var arch = mconfig.arch;
- var entries;
- var platfw;
- if (arch == "armv7") {
- platfw = [
- "uefi/plat/beagbone:bbonefw",
- "uefi/plat/beagbone/init:bbonemlo",
- "uefi/plat/panda/init:omap4mlo",
- "uefi/plat/panda:pandafw",
- "uefi/plat/rpi2:rpi2fw",
- "uefi/plat/veyron:veyronfw",
- ];
- } else if (arch == "armv6") {
- platfw = [
- "uefi/plat/rpi:rpifw"
- ];
- } else if (arch == "x86") {
- platfw = [
- "uefi/plat/bios:biosfw",
- ];
- }
- entries = group("platfw", platfw);
- return entries;
- }
|